An string-valued data element.
More...
#include "xFileDataObjectString.h"
List of all members.
Public Member Functions |
|
| XFileDataObjectString (const XFileDataDef *data_def, const string &value) |
|
virtual TypeHandle | force_init_type () |
|
virtual TypeHandle | get_type () const |
| virtual void | output_data (ostream &out) const |
| | Writes a suitable representation of this node to an .x file in text mode.
|
| virtual void | write_data (ostream &out, int indent_level, const char *separator) const |
| | Writes a suitable representation of this node to an .x file in text mode.
|
Static Public Member Functions |
|
static TypeHandle | get_class_type () |
|
static void | init_type () |
Protected Member Functions |
| virtual string | get_string_value () const |
| | Returns the object's representation as a string, if it has one.
|
| virtual void | set_string_value (const string &string_value) |
| | Sets the object's value as a string, if this is legal.
|
Detailed Description
An string-valued data element.
This matches one string data member of a template, or a single element of an string array.
Definition at line 27 of file xFileDataObjectString.h.
Member Function Documentation
| string XFileDataObjectString::get_string_value |
( |
| ) |
const [protected, virtual] |
| void XFileDataObjectString::output_data |
( |
ostream & |
out | ) |
const [virtual] |
| void XFileDataObjectString::set_string_value |
( |
const string & |
string_value | ) |
[protected, virtual] |
| void XFileDataObjectString::write_data |
( |
ostream & |
out, |
|
|
int |
indent_level, |
|
|
const char * |
separator |
|
) |
| const [virtual] |
The documentation for this class was generated from the following files: