Panda3D
Public Types | Public Member Functions | Public Attributes | List of all members
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"

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. More...
 

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
 

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

Member Function Documentation

◆ yyerror()

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 37 of file xFileParseData.cxx.


The documentation for this class was generated from the following files: