15 #ifndef XFILEDATAOBJECTDOUBLE_H
16 #define XFILEDATAOBJECTDOUBLE_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_int_value(
int int_value);
37 virtual void set_double_value(
double double_value);
39 virtual int get_int_value()
const;
40 virtual double get_double_value()
const;
41 virtual string get_string_value()
const;
50 static void init_type() {
51 XFileDataObject::init_type();
52 register_type(_type_handle,
"XFileDataObjectDouble",
53 XFileDataObject::get_class_type());
56 return get_class_type();
58 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
64 #include "xFileDataObjectDouble.I"
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.
A definition of a single data element appearing within a template record.
An double-valued data element.
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 ...