faudes::Boolean Class Reference
#include <rtitypes.h>
Inherits faudes::Type.
List of all members.
Detailed Description
Elementary type.
Constructor & Destructor Documentation
faudes::Boolean::Boolean |
( |
void |
|
) |
|
faudes::Boolean::Boolean |
( |
bool |
val |
) |
|
Constructor provided with initial value.
- Parameters:
-
| val | Initial value. (bool) |
faudes::Boolean::~Boolean |
( |
void |
|
) |
[inline] |
Member Function Documentation
Type * faudes::Boolean::New |
( |
void |
|
) |
const [virtual] |
Construct on heap.
Create new Boolean instance and return pointer.
NOTE: Calling function takes control.
- Returns:
- Pointer to Boolean instance.
Reimplemented from faudes::Type.
void faudes::Boolean::CValue |
( |
bool |
val |
) |
|
bool faudes::Boolean::CValue |
( |
void |
|
) |
const |
Get value.
- Returns:
- Value of object. (bool)
bool * faudes::Boolean::CReference |
( |
void |
|
) |
|
Get reference.
- Returns:
- Reference to c value.
Boolean faudes::Boolean::operator= |
( |
const bool & |
bbool |
) |
[inline] |
Boolean faudes::Boolean::operator= |
( |
const Boolean & |
cobool |
) |
[inline] |
faudes::Boolean::operator bool |
( |
|
) |
const [inline] |
Conversion to c type bool.
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.
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.
Member Data Documentation
Variable to store current value.
The documentation for this class was generated from the following files: