ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
PdmsParser Class Reference

#include <PdmsParser.h>

Collaboration diagram for PdmsParser:
[legend]

Public Member Functions

 PdmsParser ()
 Default constructor. More...
 
 ~PdmsParser ()
 
void reset ()
 
void linkWithSession (PdmsLexer *s)
 
bool parseSessionContent ()
 
PdmsObjects::GenericItem * getLoadedObject (bool forgetIt=true)
 

Protected Member Functions

bool processCurrentToken ()
 

Protected Attributes

PdmsLexer * session
 
PdmsCommands::Command * currentCommand
 
PdmsObjects::GenericItem * currentItem
 
PdmsObjects::GenericItem * root
 

Detailed Description

Use this parser the following way: 1- create any Pdms session 2- link parser with the session 3- parse the current session content. if the session content changes, you can parse it as many times as you wish (the loaded object is overwritten each time) 4- get the result (either in session or in parser)

Constructor & Destructor Documentation

◆ PdmsParser()

PdmsParser::PdmsParser ( )

Default constructor.

◆ ~PdmsParser()

PdmsParser::~PdmsParser ( )

Member Function Documentation

◆ getLoadedObject()

PdmsObjects::GenericItem * PdmsParser::getLoadedObject ( bool  forgetIt = true)

◆ linkWithSession()

void PdmsParser::linkWithSession ( PdmsLexer *  s)

◆ parseSessionContent()

◆ processCurrentToken()

◆ reset()

void PdmsParser::reset ( )

Member Data Documentation

◆ currentCommand

PdmsCommands::Command* PdmsParser::currentCommand
protected

◆ currentItem

◆ root

◆ session

PdmsLexer* PdmsParser::session
protected

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