![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <PdmsParser.h>


Public Member Functions | |
| PdmsFileSession (const std::string &filename) | |
| virtual | ~PdmsFileSession () |
| virtual bool | initializeSession () override |
| virtual void | closeSession (bool destroyLoadedObject=false) override |
| virtual void | printWarning (const char *str) override |
Public Member Functions inherited from PdmsLexer | |
| PdmsLexer () | |
| virtual | ~PdmsLexer () |
| bool | gotoNextToken () |
| void | finish () |
| PointCoordinateType | valueFromBuffer () |
| const char * | nameFromBuffer () const |
| Token | getCurrentToken () const |
| PdmsObjects::GenericItem * | getLoadedObject () const |
| const char * | getBufferContent () const |
| void | setLoadedObject (PdmsObjects::GenericItem *o) |
Protected Member Functions | |
| virtual void | parseCurrentToken () override |
| virtual bool | moveForward () override |
| virtual void | skipComment () override |
| virtual void | skipHandleCommand () override |
Protected Member Functions inherited from PdmsLexer | |
| void | pushIntoDictionary (const char *str, Token token, int minSize=0) |
Protected Attributes | |
| std::string | m_filename |
| int | m_currentLine |
| bool | m_eol |
| bool | m_eof |
| FILE * | m_file |
Protected Attributes inherited from PdmsLexer | |
| PdmsObjects::GenericItem * | loadedObject |
| Token | currentToken |
| char | tokenBuffer [c_max_buff_size] |
| char | nextBuffer [c_max_buff_size] |
| std::map< std::string, Token > | dictionary |
| bool | stop |
| char | metaGroupMask |
Additional Inherited Members | |
Static Protected Attributes inherited from PdmsLexer | |
| static const int | c_max_buff_size = 2048 |
Definition at line 63 of file PdmsParser.h.
| PdmsFileSession::PdmsFileSession | ( | const std::string & | filename | ) |
Definition at line 261 of file PdmsParser.cpp.
|
inlinevirtual |
Definition at line 73 of file PdmsParser.h.
|
overridevirtual |
Reimplemented from PdmsLexer.
Definition at line 280 of file PdmsParser.cpp.
References PdmsLexer::closeSession(), and m_file.
|
overridevirtual |
Reimplemented from PdmsLexer.
Definition at line 268 of file PdmsParser.cpp.
References PdmsLexer::initializeSession(), m_currentLine, m_eof, m_eol, m_file, and m_filename.
|
overrideprotectedvirtual |
Reimplemented from PdmsLexer.
Definition at line 296 of file PdmsParser.cpp.
References PdmsLexer::c_max_buff_size, m_currentLine, m_eof, m_eol, m_file, PdmsLexer::moveForward(), printWarning(), PdmsLexer::tokenBuffer, and upperStr().
|
overrideprotectedvirtual |
Reimplemented from PdmsLexer.
Definition at line 289 of file PdmsParser.cpp.
References PdmsLexer::currentToken, m_eof, PdmsLexer::parseCurrentToken(), PdmsTools::PDMS_EOS, and PdmsLexer::tokenBuffer.
|
overridevirtual |
Implements PdmsLexer.
Definition at line 438 of file PdmsParser.cpp.
References PdmsLexer::currentToken, QtCompat::endl(), m_currentLine, m_filename, PdmsTools::PDMS_EOS, and PdmsLexer::tokenBuffer.
Referenced by moveForward().
|
overrideprotectedvirtual |
Implements PdmsLexer.
Definition at line 335 of file PdmsParser.cpp.
References PdmsLexer::c_max_buff_size, PdmsLexer::currentToken, m_currentLine, m_eol, m_file, PdmsLexer::metaGroupMask, PdmsTools::PDMS_COMMENT_BLOCK, PdmsTools::PDMS_COMMENT_LINE, PdmsTools::PDMS_ENTER_METAGROUP, PdmsTools::PDMS_LEAVE_METAGROUP, PdmsLexer::tokenBuffer, and upperStr().
|
overrideprotectedvirtual |
Implements PdmsLexer.
Definition at line 414 of file PdmsParser.cpp.
References PdmsTools::c_max_str_length, m_file, and PdmsLexer::tokenBuffer.
|
protected |
Definition at line 66 of file PdmsParser.h.
Referenced by initializeSession(), moveForward(), printWarning(), and skipComment().
|
protected |
Definition at line 68 of file PdmsParser.h.
Referenced by initializeSession(), moveForward(), and parseCurrentToken().
|
protected |
Definition at line 67 of file PdmsParser.h.
Referenced by initializeSession(), moveForward(), and skipComment().
|
protected |
Definition at line 69 of file PdmsParser.h.
Referenced by closeSession(), initializeSession(), moveForward(), skipComment(), and skipHandleCommand().
|
protected |
Definition at line 65 of file PdmsParser.h.
Referenced by initializeSession(), and printWarning().