#include <SALOMEDSImpl_GenericVariable.hxx>

Public Types | |
| enum | VariableTypes { REAL_VAR, INTEGER_VAR, BOOLEAN_VAR, STRING_VAR } |
Public Member Functions | |
| SALOMEDSImpl_GenericVariable (VariableTypes theType, const std::string &theName) | |
| Function : SALOMEDSImpl_GenericVariable Purpose : More... | |
| ~SALOMEDSImpl_GenericVariable () | |
| Function : ~SALOMEDSImpl_GenericVariable Purpose : More... | |
| VariableTypes | Type () const |
| Function : Type Purpose : More... | |
| std::string | Name () const |
| Function : Name Purpose : More... | |
| bool | setType (const VariableTypes theType) |
| Function : setType Purpose : More... | |
| bool | setName (const std::string &theName) |
| Function : setName Purpose : More... | |
| virtual std::string | Save () const |
| Function : Save Purpose : More... | |
| virtual std::string | SaveToScript () const |
| Function : SaveToScript Purpose : More... | |
| virtual std::string | SaveType () const |
| Function : SaveType Purpose : More... | |
| virtual void | Load (const std::string &theStrValue) |
| Function : Load Purpose : More... | |
Static Public Member Functions | |
| static VariableTypes | String2VariableType (const std::string &theStrType) |
| Function : String2VariableType Purpose : More... | |
Private Attributes | |
| VariableTypes | _type |
| std::string | _name |
| SALOMEDSImpl_GenericVariable::SALOMEDSImpl_GenericVariable | ( | SALOMEDSImpl_GenericVariable::VariableTypes | theType, |
| const std::string & | theName | ||
| ) |
Function : SALOMEDSImpl_GenericVariable Purpose :
| SALOMEDSImpl_GenericVariable::~SALOMEDSImpl_GenericVariable | ( | ) |
Function : ~SALOMEDSImpl_GenericVariable Purpose :
|
virtual |
Function : Load Purpose :
Reimplemented in SALOMEDSImpl_ScalarVariable.
Referenced by ReadNoteBookVariables().
| std::string SALOMEDSImpl_GenericVariable::Name | ( | ) | const |
Function : Name Purpose :
References _name.
Referenced by SALOMEDSImpl_Study::RemoveVariable(), and SALOMEDSImpl_Study::RenameVariable().
|
virtual |
Function : Save Purpose :
Reimplemented in SALOMEDSImpl_ScalarVariable.
|
virtual |
Function : SaveToScript Purpose :
Reimplemented in SALOMEDSImpl_ScalarVariable.
Referenced by SALOMEDSImpl_Study::RemoveVariable().
|
virtual |
Function : SaveType Purpose :
Reimplemented in SALOMEDSImpl_ScalarVariable.
| bool SALOMEDSImpl_GenericVariable::setName | ( | const std::string & | theName | ) |
| bool SALOMEDSImpl_GenericVariable::setType | ( | const VariableTypes | theType | ) |
Function : setType Purpose :
References _type.
|
static |
Function : String2VariableType Purpose :
Referenced by ReadNoteBookVariables().
| SALOMEDSImpl_GenericVariable::VariableTypes SALOMEDSImpl_GenericVariable::Type | ( | ) | const |
Function : Type Purpose :
References _type.
Referenced by SALOMEDSImpl_Study::IsTypeOf(), SALOMEDSImpl_ScalarVariable::Load(), SALOMEDSImpl_ScalarVariable::Save(), SALOMEDSImpl_ScalarVariable::SaveToScript(), and SALOMEDSImpl_ScalarVariable::SaveType().
|
private |