BT-MatML-Editor 0.1.4
Editor for the MatML 3.1 XML Schema
Public Member Functions | Public Attributes | List of all members
bellshire::ID_GUI Class Reference
Inheritance diagram for bellshire::ID_GUI:
bellshire::ID_GUI_Base

Public Member Functions

 ID_GUI ()
 Constructor for the derived class
 
 ID_GUI (wxWindow *parent)
 Constructor for the derived class More...
 
virtual ~ID_GUI ()
 Destructor for the derived class
 
void SetEvtHandlerVar (TreeCtrlSorted *&MatMLTreeCtrl, ::boost::shared_ptr< MatML_Doc > MatMLdoc)
 Function used to set up this objects member variables which is used in the EventHandler's functions. Required before using the derived class's event handler functions. More...
 
void SetMatMLTreeCtrl (TreeCtrlSorted *&MatMLTreeCtrl)
 Set the Event Handler associated with the MatML wxTreeCtrl Required before using the derived class's event handler functions. More...
 
void SetMatMLDoc (::boost::shared_ptr< MatML_Doc > &MatMLdoc)
 Set the Event Handler Variable associated with the MatML wxTreeCtrl Required before using the derived class's event handler functions. More...
 
void SwapIDRefs (MatML_Doc *matmldoc, xml_schema::idref &oldid, xml_schema::idref &newid)
 
void OnGenerateUuidButton (wxCommandEvent &event)
 Event Handler call Overwrites the base class calls More...
 
void OnIDTextCtrl (wxCommandEvent &event)
 
bool Warning ()
 
void GenerateUuid (Material *element)
 Generate the UUID More...
 
void GenerateUuid (TestConditionDetails *element)
 
void GenerateUuid (SpecimenDetails *element)
 
void GenerateUuid (SourceDetails *element)
 
void GenerateUuid (PropertyDetails *element)
 
void GenerateUuid (ParameterDetails *element)
 
void GenerateUuid (MeasurementTechniqueDetails *element)
 
void GenerateUuid (DataSourceDetails *element)
 
void GenerateUuid (ComponentDetails *element)
 
void GenerateUuid (AuthorityDetails *element)
 
::string GetUUIDLabel ()
 
template<class MatML_Class >
void ExchangeIDRefWithID (::boost::any any_ptr)
 
template<class MatML_Class >
void ExchangeIDRefWithOptionalID (::boost::any any_ptr)
 
- Public Member Functions inherited from bellshire::ID_GUI_Base
 ID_GUI_Base (wxWindow *parent)
 
void Update (Material *element)
 Updates the MatML_GUI from the MatML element More...
 
void Update (ComponentDetails *element)
 
void Update (TestConditionDetails *element)
 
void Update (SpecimenDetails *element)
 
void Update (SourceDetails *element)
 
void Update (PropertyDetails *element)
 
void Update (ParameterDetails *element)
 
void Update (MeasurementTechniqueDetails *element)
 
void Update (DataSourceDetails *element)
 
void Update (AuthorityDetails *element)
 
void Show (bool show=true)
 
wxPanel * get ()
 
void SetConnect ()
 
virtual void OnGenerateUuidButton (wxCommandEvent &event)
 
virtual void OnIDTextCtrl (wxCommandEvent &event)
 

Public Attributes

TreeCtrlSortedm_MatMLTreeCtrl
 
::boost::shared_ptr< MatML_Docm_MatMLDoc
 
- Public Attributes inherited from bellshire::ID_GUI_Base
wxPanel * m_GUI
 
wxButton * m_GenerateUuidButton
 
wxTextCtrl * m_IDTextCtrl
 
wxCheckBox * m_ReplaceIDRefs
 

Additional Inherited Members

- Static Public Member Functions inherited from bellshire::ID_GUI_Base
static wxPanel * Create (wxWindow *parent, wxButton *&GenerateUuidButton, wxTextCtrl *&IDTextCtrl, wxCheckBox *&ReplaceIDRefs)
 Creates a GUI for the UUID generation and the custom ID textctrl. More...
 

Constructor & Destructor Documentation

◆ ID_GUI()

ID_GUI::ID_GUI ( wxWindow *  parent)

Constructor for the derived class

Parameters
parent
MatMLTreeCtrl

Member Function Documentation

◆ GenerateUuid()

void ID_GUI::GenerateUuid ( Material element)

Generate the UUID

Parameters
material

◆ GetUUIDLabel()

string ID_GUI::GetUUIDLabel ( )

xs:IDs cannot have : characters anywhere in the name and cannot have a digit as the first character of the name.

◆ OnGenerateUuidButton()

void ID_GUI::OnGenerateUuidButton ( wxCommandEvent &  event)
virtual

Event Handler call Overwrites the base class calls

Parameters
event

Reimplemented from bellshire::ID_GUI_Base.

◆ OnIDTextCtrl()

void ID_GUI::OnIDTextCtrl ( wxCommandEvent &  event)
virtual

Reimplemented from bellshire::ID_GUI_Base.

◆ SetEvtHandlerVar()

void ID_GUI::SetEvtHandlerVar ( TreeCtrlSorted *&  MatMLTreeCtrl,
::boost::shared_ptr< MatML_Doc MatMLDoc 
)

Function used to set up this objects member variables which is used in the EventHandler's functions. Required before using the derived class's event handler functions.

Parameters
MatMLTreeCtrl

◆ SetMatMLDoc()

void ID_GUI::SetMatMLDoc ( ::boost::shared_ptr< MatML_Doc > &  MatMLDoc)

Set the Event Handler Variable associated with the MatML wxTreeCtrl Required before using the derived class's event handler functions.

Parameters
MatMLTreeCtrl

◆ SetMatMLTreeCtrl()

void ID_GUI::SetMatMLTreeCtrl ( TreeCtrlSorted *&  MatMLTreeCtrl)

Set the Event Handler associated with the MatML wxTreeCtrl Required before using the derived class's event handler functions.

Parameters
MatMLTreeCtrl

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