faudes::String Class Reference
#include <rtitypes.h>
Inherits faudes::Type.
List of all members.
Detailed Description
Elementary type.
Definition at line 1411 of file rtitypes.h.
Constructor & Destructor Documentation
faudes::String::String |
( |
void |
|
) |
|
faudes::String::String |
( |
std::string |
val |
) |
|
Constructor provided with initial value.
- Parameters:
-
Definition at line 653 of file rtitypes.cpp.
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.
Definition at line 658 of file rtitypes.cpp.
Type * faudes::String::Copy |
( |
void |
|
) |
const [virtual] |
void faudes::String::CValue |
( |
std::string |
val |
) |
|
Set value.
- Parameters:
-
| val | Value to be set. (std::string) |
Definition at line 673 of file rtitypes.cpp.
std::string faudes::String::CValue |
( |
void |
|
) |
const |
Get value.
- Returns:
- Value of object. (std::string)
Definition at line 668 of file rtitypes.cpp.
std::string * faudes::String::CReference |
( |
void |
|
) |
|
Get reference.
- Returns:
- Reference to c value.
Definition at line 678 of file rtitypes.cpp.
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.
Definition at line 1493 of file rtitypes.h.
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.
Definition at line 683 of file rtitypes.cpp.
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.
Definition at line 694 of file rtitypes.cpp.
Member Data Documentation
Variable to store current value.
Definition at line 1530 of file rtitypes.h.
The documentation for this class was generated from the following files: