#include <FeatureFlags.h>


Public Member Functions | |
| FeatureFlags (const String &s) | |
| FeatureFlags () | |
| FeatureFlags (const FeatureFlags &) | |
| bool | operator== (const FeatureFlags &) const |
| bool | operator!= (const FeatureFlags &) const |
| virtual | ~FeatureFlags () |
| void | set (const String &flags) |
| unsigned long | toSPro4 () const |
| unsigned int | toSPro3 () const |
| String | getString () const |
| virtual String | getClassName () const |
| virtual String | toString () const |
Public Attributes | |
| bool | useS |
| bool | useE |
| bool | useD |
| bool | useDE |
| bool | useDD |
| bool | useDDE |
Class for gathering flags using to create a Feature object.
Definition at line 78 of file FeatureFlags.h.
| FeatureFlags::FeatureFlags | ( | const String & | s ) | [explicit] |
Creates a FeatureFlags object and sets the flags
| s | a string that contains the flags Example : set("010-10") : sets useS to false, useE to true, useD to false, useDD to true, useDDE to false. useDE does not change |
| Exception | if one of the caracters is not "0", "1" or "-" |
Definition at line 65 of file FeatureFlags.cpp.
| FeatureFlags::FeatureFlags | ( | ) | [explicit] |
Definition at line 68 of file FeatureFlags.cpp.
| FeatureFlags::FeatureFlags | ( | const FeatureFlags & | flag ) |
Definition at line 71 of file FeatureFlags.cpp.
| FeatureFlags::~FeatureFlags | ( | ) | [virtual] |
Definition at line 210 of file FeatureFlags.cpp.
| String FeatureFlags::getClassName | ( | ) | const [virtual] |
Returns the name of the class
Implements alize::Object.
Definition at line 197 of file FeatureFlags.cpp.
| String FeatureFlags::getString | ( | ) | const |
Gets a representation of the flags in a string
Definition at line 184 of file FeatureFlags.cpp.
References useD, useDD, useDDE, useDE, useE, and useS.
Referenced by alize::FeatureFileWriter::writeFeature().
| bool FeatureFlags::operator!= | ( | const FeatureFlags & | flags ) | const |
Definition at line 85 of file FeatureFlags.cpp.
| bool FeatureFlags::operator== | ( | const FeatureFlags & | flags ) | const |
| void FeatureFlags::set | ( | const String & | flags ) |
Sets the flags
Example : set("010-10") : sets useS to false, useE to true, useD to false, useDD to true, useDDE to false. useDE does not change
| Exception | if one of the caracters is not "0", "1" or "-" |
Definition at line 88 of file FeatureFlags.cpp.
References alize::String::c_str(), useD, useDD, useDDE, useDE, useE, and useS.
Referenced by alize::Config::setParam().
| unsigned int FeatureFlags::toSPro3 | ( | ) | const |
| unsigned long FeatureFlags::toSPro4 | ( | ) | const |
| String FeatureFlags::toString | ( | ) | const [virtual] |
This method is frequently overridden in the derived classes. If it is not, it returns the name of the class of the object and the address of the object
Reimplemented from alize::Object.
Definition at line 199 of file FeatureFlags.cpp.
References useD, useDD, useDDE, useDE, useE, useS, and alize::String::valueOf().
delta
Definition at line 130 of file FeatureFlags.h.
Referenced by getString(), operator==(), set(), toSPro3(), toSPro4(), and toString().
delta delta
Definition at line 132 of file FeatureFlags.h.
Referenced by getString(), operator==(), set(), toSPro3(), toSPro4(), and toString().
delta delta energy
Definition at line 133 of file FeatureFlags.h.
Referenced by getString(), operator==(), set(), and toString().
delta energy
Definition at line 131 of file FeatureFlags.h.
Referenced by getString(), operator==(), set(), toSPro3(), toSPro4(), and toString().
energy
Definition at line 129 of file FeatureFlags.h.
Referenced by getString(), operator==(), set(), toSPro3(), toSPro4(), and toString().
static
Definition at line 128 of file FeatureFlags.h.
Referenced by getString(), operator==(), set(), and toString().
1.7.2