faudes::Boolean Class Reference
#include <rtitypes.h>
Inherits faudes::Type.
List of all members.
Detailed Description
Elementary type.
Definition at line 1550 of file rtitypes.h.
Constructor & Destructor Documentation
faudes::Boolean::Boolean |
( |
void |
|
) |
|
faudes::Boolean::Boolean |
( |
bool |
val |
) |
|
Constructor provided with initial value.
- Parameters:
-
| val | Initial value. (bool) |
Definition at line 725 of file rtitypes.cpp.
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.
Definition at line 730 of file rtitypes.cpp.
Type * faudes::Boolean::Copy |
( |
void |
|
) |
const [virtual] |
void faudes::Boolean::CValue |
( |
bool |
val |
) |
|
bool faudes::Boolean::CValue |
( |
void |
|
) |
const |
Get value.
- Returns:
- Value of object. (bool)
Definition at line 746 of file rtitypes.cpp.
bool * faudes::Boolean::CReference |
( |
void |
|
) |
|
Get reference.
- Returns:
- Reference to c value.
Definition at line 751 of file rtitypes.cpp.
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.
Definition at line 1633 of file rtitypes.h.
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 756 of file rtitypes.cpp.
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 769 of file rtitypes.cpp.
Member Data Documentation
Variable to store current value.
Definition at line 1677 of file rtitypes.h.
The documentation for this class was generated from the following files: