|
|
Elementary type
Definition at line 396 of file cfl_elementary.h.
#include <cfl_elementary.h>
|
| | Boolean (void) |
| |
| | Boolean (bool val) |
| |
| | ~Boolean (void) |
| |
| virtual Boolean * | New (void) const |
| |
| virtual Boolean * | NewCpy (void) const |
| |
| virtual const Boolean * | Cast (const Type *pOther) const |
| |
| void | CValue (bool val) |
| |
| bool | CValue (void) const |
| |
| bool * | CReference (void) |
| |
| Boolean & | operator= (const bool &bbool) |
| |
| Boolean & | operator= (const Boolean &cobool) |
| |
| | operator bool () const |
| |
| void | DoWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
| |
| void | DoRead (TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0) |
| |
| Type & | operator= (const Type &rSrc) |
| |
| Type & | operator= (Type &&rSrc) |
| |
| | Type (void) |
| |
| | Type (const Type &rType) |
| |
| virtual | ~Type (void) |
| |
| virtual void | Clear (void) |
| |
| virtual bool | IsDefault (void) const |
| |
| virtual Type & | Copy (const Type &rSrc) |
| |
| virtual Type & | Move (Type &rSrc) |
| |
| Type & | operator= (const Type &rSrc) |
| |
| Type & | operator= (Type &&rSrc) |
| |
| virtual bool | Equal (const Type &rOther) const |
| |
| bool | operator== (const Type &rOther) const |
| |
| bool | operator!= (const Type &rOther) const |
| |
| virtual void | Name (const std::string &rName) |
| |
| virtual const std::string & | Name (void) const |
| |
| virtual const std::string & | TypeName (void) const |
| |
| void | Write (const Type *pContext=0) const |
| |
| void | Write (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0, std::ios::openmode openmode=std::ios::out|std::ios::trunc) const |
| |
| void | Write (const std::string &pFileName, std::ios::openmode openmode) const |
| |
| void | Write (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
| |
| virtual void | XWrite (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0) const |
| |
| void | XWrite (const Type *pContext=0) const |
| |
| void | XWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
| |
| std::string | ToString (const std::string &rLabel="", const Type *pContext=0) const |
| |
| std::string | ToText (const std::string &rLabel="", const Type *pContext=0) const |
| |
| void | DWrite (const Type *pContext=0) const |
| |
| void | DWrite (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0, std::ios::openmode openmode=std::ios::out|std::ios::trunc) const |
| |
| void | DWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
| |
| void | SWrite (TokenWriter &rTw) const |
| |
| void | SWrite (void) const |
| |
| std::string | ToSText (void) const |
| |
| void | Read (const std::string &rFileName, const std::string &rLabel="", const Type *pContext=0) |
| |
| void | FromString (const std::string &rString, const std::string &rLabel="", const Type *pContext=0) |
| |
| void | Read (TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0) |
| |
◆ Boolean() [1/2]
| faudes::Boolean::Boolean |
( |
void |
| ) |
|
◆ Boolean() [2/2]
| faudes::Boolean::Boolean |
( |
bool |
val | ) |
|
◆ ~Boolean()
| faudes::Boolean::~Boolean |
( |
void |
| ) |
|
|
inline |
◆ Cast()
| const Boolean * faudes::Boolean::Cast |
( |
const Type * |
pOther | ) |
const |
|
virtual |
Cast the other object to Boolean. Returns NULL if the cast is not possible.
- Parameters
-
| pOther | Pointer to object to cast. |
- Returns
- Pointer to Boolean instance, or NULL
Reimplemented from faudes::Type.
Definition at line 243 of file cfl_elementary.cpp.
◆ CReference()
| bool * faudes::Boolean::CReference |
( |
void |
| ) |
|
◆ CValue() [1/2]
| void faudes::Boolean::CValue |
( |
bool |
val | ) |
|
◆ CValue() [2/2]
| bool faudes::Boolean::CValue |
( |
void |
| ) |
const |
◆ DoRead()
| void faudes::Boolean::DoRead |
( |
TokenReader & |
rTr, |
|
|
const std::string & |
rLabel = "", |
|
|
const Type * |
pContext = 0 |
|
) |
| |
|
virtual |
Read data from TokenReader.
NOTE: 0 = false 1 = true
- Parameters
-
| rTr | Reference to TokenReader. |
| rLabel | Section to read. |
| pContext | Read context to provide contextual information (ignored) |
- Exceptions
-
Reimplemented from faudes::Type.
Definition at line 280 of file cfl_elementary.cpp.
◆ DoWrite()
| void faudes::Boolean::DoWrite |
( |
TokenWriter & |
rTw, |
|
|
const std::string & |
rLabel = "", |
|
|
const Type * |
pContext = 0 |
|
) |
| const |
|
virtual |
Write data to Tokenwriter.
NOTE: 0 = false 1 = true
- Parameters
-
| rTw | Reference to TokenWriter. |
| rLabel | Label of section to write. |
| pContext | Write context to provide contextual information (ignored) |
- Exceptions
-
Reimplemented from faudes::Type.
Definition at line 263 of file cfl_elementary.cpp.
◆ New()
| Boolean * faudes::Boolean::New |
( |
void |
| ) |
const |
|
virtual |
◆ NewCpy()
| Boolean * faudes::Boolean::NewCpy |
( |
void |
| ) |
const |
|
virtual |
◆ operator bool()
| faudes::Boolean::operator bool |
( |
| ) |
const |
|
inline |
◆ operator=() [1/4]
| Boolean & faudes::Boolean::operator= |
( |
const bool & |
bbool | ) |
|
|
inline |
◆ operator=() [2/4]
◆ operator=() [3/4]
| Type & faudes::Type::operator= |
( |
const Type & |
rSrc | ) |
|
Copy configuration data from other object. Derived classes should implement at least the signature with matching source and destination types via the DoCopy method. Additionally, one may implement variants with a base class as source, as mong as meaningul assigment is possible.
Re-implementation can be done via the convenience macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION.
- Parameters
-
- Returns
- Reference to this object.
Definition at line 368 of file cfl_types.cpp.
◆ operator=() [4/4]
| Type & faudes::Type::operator= |
( |
Type && |
rSrc | ) |
|
Copy configuration data from other object (destructive) Derived classes should implement at least the signature with matching source and destination types via the DoCopy method. Additionally, one may implement variants with a base class as source, as mong as meaningul assigment is possible.
Re-implementation can be done via the convenience macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION.
- Parameters
-
- Returns
- Reference to this object.
Definition at line 383 of file cfl_types.cpp.
◆ mCBool
| bool faudes::Boolean::mCBool |
|
protected |
The documentation for this class was generated from the following files:
libFAUDES 2.34e
--- 2026.03.16
--- c++ api documentaion by doxygen
|