BT-MatML-Editor 0.1.4
Editor for the MatML 3.1 XML Schema
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
bellshire::GUI Class Reference

GUI for each of the MatML classes More...

#include <BT_MatML_GUI.h>

Public Member Functions

 GUI ()
 
 GUI (wxWindow *parent)
 Initiallizes with new individual MatML GUIs More...
 
virtual ~GUI ()
 Destroys individual MatML GUIs More...
 
void SetSizer (wxFlexGridSizer *&fgSizer)
 Assumes the same sizer for all the MatML GUIs and that the panels are placed adjacent. Panels of the MatML GUIs are hiden and shown on updating with data. More...
 
template<class MatML_Class , class GUI_Class >
bool Update_individual_GUI (::boost::any anyptr, GUI_Class GUI)
 Template for updating the individual GUI based on the boost::any pointer caste type. More...
 
template<class MatML_Class , class GUI_Class >
bool Update_individual_GUI (::boost::any anyptr, GUI_Class GUI, ::boost::shared_ptr< MatML_Doc > doc)
 Template for updating the individual GUI based on the boost::any pointer caste type. For MatML GUIs that require access to MatML_Doc pointer for additional data. More...
 
void Update_GUI (::boost::any anyptr, ::boost::shared_ptr< MatML_Doc > doc)
 Updating one of the MatML GUIs based on the boost::any pointer. Polymorphic calls using the anyptr. More...
 
void HideAllPanels ()
 
void SetEvtHandlerVar (TreeCtrlSorted *MatMLTreeCtrl, ::boost::shared_ptr< MatML_Doc > doc)
 Sets the variables for the Event Handlers related to the MatML_GUIs. These variables are members of the MaterialFrame class. Need to be run before using MatML_GUIs events. More...
 

Public Attributes

Intro_GUIm_Intro_GUI
 
MatML_Doc_GUIm_MatML_Doc_GUI
 
Material_GUIm_Material_GUI
 
Associate_GUIm_Associate_GUI
 
AssociationDetails_GUIm_AssociationDetails_GUI
 
AuthorityDetails_GUIm_AuthorityDetails_GUI
 
BulkDetails_GUIm_BulkDetails_GUI
 
Characterization_GUIm_Characterization_GUI
 
ChemicalComposition_GUIm_ChemicalComposition_GUI
 
ChemicalElementSymbol_GUIm_ChemicalElementSymbol_GUI
 
Class_GUIm_Class_GUI
 
Subclass_GUIm_Subclass_GUI
 
Subclass1_GUIm_Subclass1_GUI
 
ParentMaterial_GUIm_ParentMaterial_GUI
 
ParentSubClass_GUIm_ParentSubClass_GUI
 
ComponentDetails_GUIm_ComponentDetails_GUI
 
Compound_GUIm_Compound_GUI
 
Concentration_GUIm_Concentration_GUI
 
CurrencyCode_GUIm_CurrencyCode_GUI
 
DataSourceDetails_GUIm_DataSourceDetails_GUI
 
DimensionalDetails_GUIm_DimensionalDetails_GUI
 
Element_GUIm_Element_GUI
 
Symbol_GUIm_Symbol_GUI
 
Form_GUIm_Form_GUI
 
Formula_GUIm_Formula_GUI
 
Geometry_GUIm_Geometry_GUI
 
Shape_GUIm_Shape_GUI
 
Dimensions_GUIm_Dimensions_GUI
 
Orientation_GUIm_Orientation_GUI
 
Glossary_GUIm_Glossary_GUI
 
GlossaryTerm_GUIm_GlossaryTerm_GUI
 
Definition_GUIm_Definition_GUI
 
Abbreviation_GUIm_Abbreviation_GUI
 
Synonym_GUIm_Synonym_GUI
 
Graphs_GUIm_Graphs_GUI
 
Graph_GUIm_Graph_GUI
 
MeasurementTechniqueDetails_GUIm_MeasurementTechniqueDetails_GUI
 
Metadata_GUIm_Metadata_GUI
 
Name_GUIm_Name_GUI
 
Notes_GUIm_Notes_GUI
 
ParameterDetails_GUIm_ParameterDetails_GUI
 
ParameterValue_GUIm_ParameterValue_GUI
 
Data_GUIm_Data_GUI
 
PhaseComposition_GUIm_PhaseComposition_GUI
 
ProcessingDetails_GUIm_ProcessingDetails_GUI
 
Result_GUIm_Result_GUI
 
Relationship_GUIm_Relationship_GUI
 
PropertyData_GUIm_PropertyData_GUI
 
Data1_GUIm_Data1_GUI
 
PropertyDetails_GUIm_PropertyDetails_GUI
 
Qualifier_GUIm_Qualifier_GUI
 
Source_GUIm_Source_GUI
 
SourceDetails_GUIm_SourceDetails_GUI
 
Specification_GUIm_Specification_GUI
 
SpecimenDetails_GUIm_SpecimenDetails_GUI
 
TestConditionDetails_GUIm_TestConditionDetails_GUI
 
Uncertainty_GUIm_Uncertainty_GUI
 
Scale_GUIm_Scale_GUI
 
Unit_GUIm_Unit_GUI
 
Unitless_GUIm_Unitless_GUI
 
Units_GUIm_Units_GUI
 
Value_GUIm_Value_GUI
 

Static Public Attributes

static const unsigned m_nclasses =63
 

Detailed Description

GUI for each of the MatML classes

MatML_GUI class

EACH of the MatML CLASSES have a GUIs associated with it.
However, INDIVIDUAL INSTANCES of MatML classes do NOT have a GUI associated with them, because MatML Instances SHARE the MatML GUIs among the different instances.

Constructor & Destructor Documentation

◆ GUI() [1/2]

GUI::GUI ( )

Constructor

Constuctor

◆ GUI() [2/2]

GUI::GUI ( wxWindow *  parent)

Initiallizes with new individual MatML GUIs

Main Constructor

Main Constructor

Parameters
parent

◆ ~GUI()

GUI::~GUI ( )
virtual

Destroys individual MatML GUIs

Destructor

Member Function Documentation

◆ HideAllPanels()

void GUI::HideAllPanels ( )

Hide all the MatML GUI panels

Hide all GUI Panels

◆ SetEvtHandlerVar()

void GUI::SetEvtHandlerVar ( TreeCtrlSorted MatMLTreeCtrl,
::boost::shared_ptr< MatML_Doc doc 
)

Sets the variables for the Event Handlers related to the MatML_GUIs. These variables are members of the MaterialFrame class. Need to be run before using MatML_GUIs events.

Set the Event Handler functions variable

Set Event Handler Variable

◆ SetSizer()

void GUI::SetSizer ( wxFlexGridSizer *&  fgSizer)

Assumes the same sizer for all the MatML GUIs and that the panels are placed adjacent. Panels of the MatML GUIs are hiden and shown on updating with data.

Sets the window to have the given layout sizer.

SetSizer Adds the GUIs to the controlling Sizer.

Parameters
fgSizer

◆ Update_GUI()

void GUI::Update_GUI ( ::boost::any  anyptr,
::boost::shared_ptr< MatML_Doc doc 
)

Updating one of the MatML GUIs based on the boost::any pointer. Polymorphic calls using the anyptr.

Update all the individual MatML GUI

Parameters
anyptr

◆ Update_individual_GUI() [1/2]

template<class MatML_Class , class GUI_Class >
bool GUI::Update_individual_GUI ( ::boost::any  anyptr,
GUI_Class  GUI 
)

Template for updating the individual GUI based on the boost::any pointer caste type.

Updates the individual MatML GUI

Template Parameters
GUI_Class
MatML_Class
Parameters
anyptr
GUI
Returns

◆ Update_individual_GUI() [2/2]

template<class MatML_Class , class GUI_Class >
bool GUI::Update_individual_GUI ( ::boost::any  anyptr,
GUI_Class  GUI,
::boost::shared_ptr< MatML_Doc doc 
)

Template for updating the individual GUI based on the boost::any pointer caste type. For MatML GUIs that require access to MatML_Doc pointer for additional data.

Updates the individual MatML GUI with information from the doc

Template Parameters
MatML_Class
GUI_Class
Parameters
anyptr
GUI
doc
Returns

The documentation for this class was generated from the following files: