Panda3D
Loading...
Searching...
No Matches
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.
 

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 Enumeration Documentation

◆ ParseFlags

enum XFileParseData::ParseFlags

Definition at line 36 of file xFileParseData.h.

Constructor & Destructor Documentation

◆ XFileParseData()

XFileParseData::XFileParseData ( )

Definition at line 21 of file xFileParseData.cxx.

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

Member Data Documentation

◆ _col_number

int XFileParseData::_col_number

Definition at line 52 of file xFileParseData.h.

◆ _current_line

std::string XFileParseData::_current_line

Definition at line 53 of file xFileParseData.h.

◆ _double_list

PTA_double XFileParseData::_double_list

Definition at line 46 of file xFileParseData.h.

◆ _int_list

PTA_int XFileParseData::_int_list

Definition at line 47 of file xFileParseData.h.

◆ _line_number

int XFileParseData::_line_number

Definition at line 51 of file xFileParseData.h.

◆ _parse_flags

int XFileParseData::_parse_flags

Definition at line 49 of file xFileParseData.h.

◆ _string

std::string XFileParseData::_string

Definition at line 48 of file xFileParseData.h.


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