An double-valued data element.
More...
#include "xFileDataObjectDouble.h"
List of all members.
Public Member Functions |
|
| XFileDataObjectDouble (const XFileDataDef *data_def, double 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 double | get_double_value () const |
| | Returns the object's representation as a double, if it has one.
|
| virtual int | get_int_value () const |
| | Returns the object's representation as an integer, if it has one.
|
| virtual string | get_string_value () const |
| | Returns the object's representation as a string, if it has one.
|
| virtual void | set_double_value (double double_value) |
| | Sets the object's value as a floating-point number, if this is legal.
|
| virtual void | set_int_value (int int_value) |
| | Sets the object's value as an integer, if this is legal.
|
Detailed Description
An double-valued data element.
This matches one double data member of a template, or a single element of an double array.
Definition at line 27 of file xFileDataObjectDouble.h.
Member Function Documentation
| double XFileDataObjectDouble::get_double_value |
( |
| ) |
const [protected, virtual] |
| int XFileDataObjectDouble::get_int_value |
( |
| ) |
const [protected, virtual] |
| string XFileDataObjectDouble::get_string_value |
( |
| ) |
const [protected, virtual] |
| void XFileDataObjectDouble::output_data |
( |
ostream & |
out | ) |
const [virtual] |
| void XFileDataObjectDouble::set_double_value |
( |
double |
double_value | ) |
[protected, virtual] |
| void XFileDataObjectDouble::set_int_value |
( |
int |
int_value | ) |
[protected, virtual] |
| void XFileDataObjectDouble::write_data |
( |
ostream & |
out, |
|
|
int |
indent_level, |
|
|
const char * |
separator |
|
) |
| const [virtual] |
The documentation for this class was generated from the following files: