Auxiliary class to store a litteral parameter in a file intermediate directory or in an UndefinedContent : a reference type Parameter detains an Integer which is used to address a record in the directory. FileParameter is intended to be stored in a ParamSet : hence memory management is performed by ParamSet, which calls Clear to work, while the Destructor (see Destroy) does nothing. Also a FileParameter can be read for consultation only, not to be read from a Structure to be included into another one.
More...
#include <Interface_FileParameter.hxx>
Auxiliary class to store a litteral parameter in a file intermediate directory or in an UndefinedContent : a reference type Parameter detains an Integer which is used to address a record in the directory. FileParameter is intended to be stored in a ParamSet : hence memory management is performed by ParamSet, which calls Clear to work, while the Destructor (see Destroy) does nothing. Also a FileParameter can be read for consultation only, not to be read from a Structure to be included into another one.
◆ Interface_FileParameter()
Interface_FileParameter::Interface_FileParameter |
( |
| ) |
|
◆ ~Interface_FileParameter()
Interface_FileParameter::~Interface_FileParameter |
( |
| ) |
|
|
inline |
◆ Clear()
void Interface_FileParameter::Clear |
( |
| ) |
|
Clears stored data : frees memory taken for the String Value.
◆ CValue()
Same as above, but as a CString (for immediate exploitation) was C++ : return const.
◆ Destroy()
void Interface_FileParameter::Destroy |
( |
| ) |
|
Destructor. Does nothing because Memory is managed by ParamSet.
◆ EntityNumber()
Returns value set by SetEntityNumber.
◆ Init() [1/2]
Fills fields (with Entity Number set to zero)
◆ Init() [2/2]
Same as above, but builds the Value from a CString.
◆ ParamType()
Returns the type of the parameter.
◆ SetEntityNumber()
Allows to set a reference to an Entity in a numbered list.
The documentation for this class was generated from the following file: