15 #ifndef XFILEDATAOBJECTSTRING_H 16 #define XFILEDATAOBJECTSTRING_H 18 #include "pandatoolbase.h" 19 #include "xFileDataObject.h" 32 virtual void write_data(ostream &out,
int indent_level,
33 const char *separator)
const;
36 virtual void set_string_value(
const string &string_value);
37 virtual string get_string_value()
const;
40 void enquote_string(ostream &out)
const;
48 static void init_type() {
49 XFileDataObject::init_type();
50 register_type(_type_handle,
"XFileDataObjectString",
51 XFileDataObject::get_class_type());
54 return get_class_type();
56 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
62 #include "xFileDataObjectString.I" An string-valued data element.
A definition of a single data element appearing within a template record.
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.
TypeHandle is the identifier used to differentiate C++ class types.
virtual void output_data(ostream &out) const
Writes a suitable representation of this node to an .x file in text mode.
The abstract base class for a number of different types of data elements that may be stored in the X ...