Panda3D
Public Types | Public Member Functions | Public Attributes
XFileParseData Class Reference

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"

List of all members.

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 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
string _current_line
PTA_double _double_list
PTA_int _int_list
int _line_number
int _parse_flags
string _string

Detailed Description

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 33 of file xFileParseData.h.


Member Function Documentation

void XFileParseData::yyerror ( const 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 44 of file xFileParseData.cxx.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations