ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
PdmsTools::PdmsCommands::Reference Class Reference

#include <PdmsTools.h>

Inheritance diagram for PdmsTools::PdmsCommands::Reference:
[legend]
Collaboration diagram for PdmsTools::PdmsCommands::Reference:
[legend]

Public Member Functions

 Reference (Token t=PDMS_INVALID_TOKEN)
 
 Reference (const Reference &ref)
 
Reference & operator= (const Reference &ref)
 
virtual bool handle (Token t)
 
virtual bool handle (const char *str)
 
virtual bool isValid () const
 
virtual bool isNameReference () const
 
virtual bool isTokenReference () const
 
virtual bool execute (PdmsObjects::GenericItem *&item) const
 
- Public Member Functions inherited from PdmsTools::PdmsCommands::Command
 Command (Token t)
 
 Command (const Command &com)
 
virtual ~Command ()
 
virtual bool handle (PointCoordinateType numvalue)
 

Public Attributes

Token token
 
char refname [c_max_str_length]
 
- Public Attributes inherited from PdmsTools::PdmsCommands::Command
Token command
 

Protected Member Functions

int isSet () const
 

Additional Inherited Members

- Static Public Member Functions inherited from PdmsTools::PdmsCommands::Command
static Command * Create (Token t)
 Factory. More...
 

Constructor & Destructor Documentation

◆ Reference() [1/2]

PdmsTools::PdmsCommands::Reference::Reference ( Token  t = PDMS_INVALID_TOKEN)
inlineexplicit

◆ Reference() [2/2]

PdmsTools::PdmsCommands::Reference::Reference ( const Reference &  ref)
inline

References refname.

Member Function Documentation

◆ execute()

◆ handle() [1/2]

bool Reference::handle ( const char *  str)
virtual

Reimplemented from PdmsTools::PdmsCommands::Command.

◆ handle() [2/2]

bool Reference::handle ( Token  t)
virtual

◆ isNameReference()

bool Reference::isNameReference ( ) const
virtual

◆ isSet()

int Reference::isSet ( ) const
protected

◆ isTokenReference()

bool Reference::isTokenReference ( ) const
virtual

◆ isValid()

bool Reference::isValid ( ) const
virtual

◆ operator=()

Reference & Reference::operator= ( const Reference &  ref)

Member Data Documentation

◆ refname

char PdmsTools::PdmsCommands::Reference::refname[c_max_str_length]

Referenced by operator=(), and Reference().

◆ token

Token PdmsTools::PdmsCommands::Reference::token

Referenced by operator=().


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