CLAM-Development
1.4.0
|
PhaseGeneration Enumeration to use for specifying the type of phase generation used. More...
#include <EPhaseGeneration.hxx>
Public Types | |
enum | tEnum { eAlign, eRandom, eContinuation, eNone } |
![]() | |
typedef int | tValue |
Public Member Functions | |
EPhaseGeneration () | |
EPhaseGeneration (tValue v) | |
EPhaseGeneration (std::string s) | |
virtual Component * | Species () const |
Returns a new object of the same class than the receiver object. | |
![]() | |
const tEnumValue * | GetSymbolMap () const |
Returns the symbol map for the enum. | |
void | SetValue (const tValue v) |
Changes the value. | |
void | SetValueSafely (const tValue v) throw (IllegalValue) |
Changes the value safely. | |
void | SetValue (const std::string &s) |
Changes the value. | |
void | SetValueSafely (const std::string &s) throw (IllegalValue) |
tValue | GetValue () const |
Returns the numeric value. | |
std::string | GetString () const throw (IllegalValue) |
Returns the symbolic value. | |
Enum & | operator= (const tValue &v) throw (IllegalValue) |
Enum & | operator= (const std::string &v) throw (IllegalValue) |
Enum & | operator= (const Enum &v) throw (IllegalValue) |
operator tValue () const | |
Conversion operiation as a number. | |
virtual Component * | DeepCopy () const |
TODO: Copy documentation for this method from Component. | |
virtual Component * | ShallowCopy () const |
TODO: Copy documentation for this method from Component. | |
virtual void | StoreOn (Storage &storage) const |
Stores component's subitems on the given Storage. | |
virtual void | LoadFrom (Storage &storage) |
Loads component's subitems from the given Storage. | |
virtual | ~Enum () |
The required virtual destructor. | |
const char * | GetClassName () const |
Return the class name. | |
![]() | |
virtual | ~Component () |
Static Public Member Functions | |
static tEnumValue * | ValueTable () |
Additional Inherited Members | |
Enum (const tEnumValue *values, const tValue &value) | |
Construction with a numeric value. | |
Enum (const tEnumValue *values, const std::string &value) | |
Construction with a symbolic value. |
PhaseGeneration Enumeration to use for specifying the type of phase generation used.
Definition at line 33 of file EPhaseGeneration.hxx.
Definition at line 40 of file EPhaseGeneration.hxx.
|
inline |
Definition at line 36 of file EPhaseGeneration.hxx.
Referenced by Species().
|
inline |
Definition at line 37 of file EPhaseGeneration.hxx.
|
inline |
Definition at line 38 of file EPhaseGeneration.hxx.
|
inlinevirtual |
Returns a new object of the same class than the receiver object.
To be reimplemented by subclasses.
Implements CLAM::Enum.
Definition at line 47 of file EPhaseGeneration.hxx.
References EPhaseGeneration().
|
inlinestatic |
Definition at line 51 of file EPhaseGeneration.hxx.
References eAlign, eContinuation, eNone, eRandom, and NULL.