Panda3D
|
This class is used to fill up the data into an XFileDataNodeTemplate object as the data values are parsed out of the X file. More...
#include "xFileParseData.h"
Public Types | |
enum | ParseFlags { PF_object = 0x001 , PF_reference = 0x002 , PF_double = 0x004 , PF_int = 0x008 , PF_string = 0x010 , PF_any_data = 0x01f } |
Public Member Functions | |
PT (XFileDataObject) _object | |
void | yyerror (const std::string &message) const |
Reports a parsing error message to the user, showing the line and column from which this object was originally parsed. | |
Public Attributes | |
int | _col_number |
std::string | _current_line |
PTA_double | _double_list |
PTA_int | _int_list |
int | _line_number |
int | _parse_flags |
std::string | _string |
This class is used to fill up the data into an XFileDataNodeTemplate object as the data values are parsed out of the X file.
It only has a temporary lifespan; it will be converted into actual data by XFileDataNodeTemplate::finalize_parse_data().
Definition at line 30 of file xFileParseData.h.
enum XFileParseData::ParseFlags |
Definition at line 36 of file xFileParseData.h.
XFileParseData::XFileParseData | ( | ) |
Definition at line 21 of file xFileParseData.cxx.
void XFileParseData::yyerror | ( | const std::string & | message | ) | const |
Reports a parsing error message to the user, showing the line and column from which this object was originally parsed.
Definition at line 36 of file xFileParseData.cxx.
int XFileParseData::_col_number |
Definition at line 52 of file xFileParseData.h.
std::string XFileParseData::_current_line |
Definition at line 53 of file xFileParseData.h.
PTA_double XFileParseData::_double_list |
Definition at line 46 of file xFileParseData.h.
PTA_int XFileParseData::_int_list |
Definition at line 47 of file xFileParseData.h.
int XFileParseData::_line_number |
Definition at line 51 of file xFileParseData.h.
int XFileParseData::_parse_flags |
Definition at line 49 of file xFileParseData.h.
std::string XFileParseData::_string |
Definition at line 48 of file xFileParseData.h.