#include <exotkParameter_Enumeration.hxx>
Inheritance diagram for exotkParameter_Enumeration:


Public Methods | |
| Standard_EXPORT | exotkParameter_Enumeration (const Standard_Integer aValue) |
| Constructor. More... | |
| virtual Standard_EXPORT | ~exotkParameter_Enumeration () |
| Destructor. More... | |
| Standard_EXPORT void | EnumInit () |
| Initialize the enumeration iterator. More... | |
| Standard_EXPORT Standard_Boolean | EnumMore () |
| iterator. More... | |
| Standard_EXPORT void | EnumNext () |
| iterator. More... | |
| Standard_EXPORT Standard_Integer | EnumCurrentIndex () |
| Return the current index of the enumeration in the iterator process. More... | |
| Standard_EXPORT TCollection_AsciiString | EnumCurrentName () |
| Return the current name of the enumeration in the iterator process. More... | |
| virtual Standard_EXPORT void | DeepCopy (const Handle_exotkParameter_Root &aParameterToCopy) |
| copy all the fields of aParameterToCopy into this. More... | |
| Standard_EXPORT Standard_Boolean | SetValue (const Standard_Integer aValue) |
| Set the parameter value to aValue. More... | |
| Standard_EXPORT Standard_Integer | Value () const |
| Return the parameter. More... | |
| Standard_EXPORT Standard_Boolean | AddEnumerationMember (const Standard_Integer anIndex, const TCollection_AsciiString &aName) |
| Function do document the possible parameters. More... | |
| Standard_EXPORT Standard_Boolean | EnumerationMember (const Standard_Integer anIndex, TCollection_AsciiString &aName) const |
| Return the enumeration member corresponding to anIndex. More... | |
| virtual Standard_EXPORT Standard_Boolean | SetParameterAsString (const TCollection_AsciiString &aParameter) |
| Set the parameter with a string input. More... | |
| virtual Standard_EXPORT TCollection_AsciiString | ParameterAsString () const |
| Return the parameter value as string. More... | |
| virtual Standard_EXPORT Standard_OStream & | Dump (Standard_OStream &anOS) const |
| Dump the parameter. More... | |
Private Attributes | |
| Standard_Integer | myValue |
| exotkParameter_DoubleMapIntegerAsciiString | myMapIntegerAsciiString |
| exotkParameter_DoubleMapIteratorOfDoubleMapIntegerAsciiString | myMapIterator |
Definition at line 50 of file exotkParameter_Enumeration.hxx.
|
|
Constructor.
Definition at line 68 of file exotkParameter_Enumeration.cxx. References exotkParameter_Type_Enumeration, and exotkParameter_Root::myType. |
|
|
Destructor.
Definition at line 82 of file exotkParameter_Enumeration.cxx. |
|
||||||||||||
|
Function do document the possible parameters.
Definition at line 214 of file exotkParameter_Enumeration.cxx. References exotkParameter_DoubleMapIntegerAsciiString::Bind(), exotkParameter_DoubleMapIntegerAsciiString::IsBound1(), exotkParameter_DoubleMapIntegerAsciiString::IsBound2(), and myMapIntegerAsciiString. |
|
|
copy all the fields of aParameterToCopy into this.
Reimplemented from exotkParameter_Root. Definition at line 95 of file exotkParameter_Enumeration.cxx. References exotkParameter_DoubleMapIntegerAsciiString::Bind(), exotkParameter_DoubleMapIntegerAsciiString::Clear(), exotkParameter_Root::DeepCopy(), myMapIntegerAsciiString, myValue, and STANDARD_TYPE(). |
|
|
Dump the parameter.
Reimplemented from exotkParameter_Root. Definition at line 254 of file exotkParameter_Enumeration.cxx. References exotkParameter_Root::Dump(), exotkParameter_DoubleMapIteratorOfDoubleMapIntegerAsciiString::Initialize(), exotkParameter_DoubleMapIteratorOfDoubleMapIntegerAsciiString::Key1(), exotkParameter_DoubleMapIteratorOfDoubleMapIntegerAsciiString::Key2(), and myMapIntegerAsciiString. |
|
|
Return the current index of the enumeration in the iterator process.
Definition at line 309 of file exotkParameter_Enumeration.cxx. References exotkParameter_DoubleMapIteratorOfDoubleMapIntegerAsciiString::Key1(), and myMapIterator. |
|
|
Return the current name of the enumeration in the iterator process.
Definition at line 321 of file exotkParameter_Enumeration.cxx. References exotkParameter_DoubleMapIteratorOfDoubleMapIntegerAsciiString::Key2(), and myMapIterator. |
|
||||||||||||
|
Return the enumeration member corresponding to anIndex.
Definition at line 236 of file exotkParameter_Enumeration.cxx. References exotkParameter_DoubleMapIntegerAsciiString::Find1(), exotkParameter_DoubleMapIntegerAsciiString::IsBound1(), and myMapIntegerAsciiString. |
|
|
Initialize the enumeration iterator.
Definition at line 273 of file exotkParameter_Enumeration.cxx. References exotkParameter_DoubleMapIteratorOfDoubleMapIntegerAsciiString::Initialize(), myMapIntegerAsciiString, and myMapIterator. |
|
|
iterator.
Definition at line 285 of file exotkParameter_Enumeration.cxx. References myMapIterator. |
|
|
iterator.
Definition at line 297 of file exotkParameter_Enumeration.cxx. References myMapIterator. |
|
|
Return the parameter value as string.
Reimplemented from exotkParameter_Root. Definition at line 190 of file exotkParameter_Enumeration.cxx. References exotkParameter_DoubleMapIntegerAsciiString::Find1(), exotkParameter_DoubleMapIntegerAsciiString::IsBound1(), myMapIntegerAsciiString, and myValue. |
|
|
Set the parameter with a string input.
Reimplemented from exotkParameter_Root. Definition at line 153 of file exotkParameter_Enumeration.cxx. References exotkUtils::AsciiStringToInteger(), exotkParameter_DoubleMapIteratorOfDoubleMapIntegerAsciiString::Initialize(), exotkParameter_DoubleMapIteratorOfDoubleMapIntegerAsciiString::Key1(), exotkParameter_DoubleMapIteratorOfDoubleMapIntegerAsciiString::Key2(), myMapIntegerAsciiString, and SetValue(). |
|
|
Set the parameter value to aValue.
Definition at line 121 of file exotkParameter_Enumeration.cxx. References exotkParameter_DoubleMapIntegerAsciiString::IsBound1(), myMapIntegerAsciiString, and myValue. Referenced by SetParameterAsString(). |
|
|
Return the parameter.
Definition at line 140 of file exotkParameter_Enumeration.cxx. References myValue. |
|
|
the possible enumeration members Definition at line 173 of file exotkParameter_Enumeration.hxx. Referenced by AddEnumerationMember(), DeepCopy(), Dump(), EnumerationMember(), EnumInit(), ParameterAsString(), SetParameterAsString(), and SetValue(). |
|
|
the iterator for the enumeration members Definition at line 175 of file exotkParameter_Enumeration.hxx. Referenced by EnumCurrentIndex(), EnumCurrentName(), EnumInit(), EnumMore(), and EnumNext(). |
|
|
the parameter value Definition at line 171 of file exotkParameter_Enumeration.hxx. Referenced by DeepCopy(), ParameterAsString(), SetValue(), and Value(). |
1.2.12 written by Dimitri van Heesch,
© 1997-2001