14 #ifndef XFILEDATAOBJECTSTRING_H 15 #define XFILEDATAOBJECTSTRING_H 29 virtual void write_data(std::ostream &out,
int indent_level,
30 const char *separator)
const;
33 virtual void set_string_value(
const std::string &string_value);
34 virtual std::string get_string_value()
const;
37 void enquote_string(std::ostream &out)
const;
45 static void init_type() {
46 XFileDataObject::init_type();
48 XFileDataObject::get_class_type());
51 return get_class_type();
53 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
An string-valued data element.
A definition of a single data element appearing within a template record.
virtual void write_data(std::ostream &out, int indent_level, const char *separator) const
Writes a suitable representation of this node to an .x file in text mode.
virtual void output_data(std::ostream &out) const
Writes a suitable representation of this node to an .x file in text mode.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
The abstract base class for a number of different types of data elements that may be stored in the X ...