faudes::String Class Reference
#include <rtitypes.h>
Inherits faudes::Type.
List of all members.
Detailed Description
Elementary type.
Constructor & Destructor Documentation
faudes::String::String |
( |
void |
|
) |
|
faudes::String::String |
( |
std::string |
val |
) |
|
Constructor provided with initial value.
- Parameters:
-
faudes::String::~String |
( |
void |
|
) |
[inline] |
Member Function Documentation
Type * faudes::String::New |
( |
void |
|
) |
const [virtual] |
Construct on heap.
Create new String instance and return pointer.
NOTE: Calling function takes control.
- Returns:
- Pointer to String instance.
Reimplemented from faudes::Type.
void faudes::String::CValue |
( |
std::string |
val |
) |
|
Set value.
- Parameters:
-
| val | Value to be set. (std::string) |
std::string faudes::String::CValue |
( |
void |
|
) |
const |
Get value.
- Returns:
- Value of object. (std::string)
std::string * faudes::String::CReference |
( |
void |
|
) |
|
Get reference.
- Returns:
- Reference to c value.
String& faudes::String::operator= |
( |
const String & |
costr |
) |
[inline] |
String& faudes::String::operator= |
( |
const std::string & |
cstr |
) |
[inline] |
faudes::String::operator std::string |
( |
|
) |
const [inline] |
Conversion to std::string.
void faudes::String::DoWrite |
( |
TokenWriter & |
rTw, |
|
|
const std::string & |
rLabel = "" , |
|
|
const Type * |
pContext = 0 | |
|
) |
| | const [virtual] |
Write data to Tokenwriter.
- 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::String::DoRead |
( |
TokenReader & |
rTr, |
|
|
const std::string & |
rLabel = "" , |
|
|
const Type * |
pContext = 0 | |
|
) |
| | [virtual] |
Read data from TokenReader.
- 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: