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

#include <PdmsTools.h>

Inheritance diagram for PdmsTools::PdmsCommands::ElementCreation:
Collaboration diagram for PdmsTools::PdmsCommands::ElementCreation:

Public Member Functions

 ElementCreation ()
 
virtual bool handle (const char *str)
 
virtual bool handle (Token t)
 
bool isValid () 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)
 

Static Public Member Functions

static const char * GetDefaultElementName (Token token)
 
- Static Public Member Functions inherited from PdmsTools::PdmsCommands::Command
static CommandCreate (Token t)
 Factory. More...
 

Public Attributes

Token elementType
 
std::vector< std::string > path
 
- Public Attributes inherited from PdmsTools::PdmsCommands::Command
Token command
 

Protected Member Functions

bool splitPath (const char *str)
 

Detailed Description

Definition at line 614 of file PdmsTools.h.

Constructor & Destructor Documentation

◆ ElementCreation()

PdmsTools::PdmsCommands::ElementCreation::ElementCreation ( )
inline

Definition at line 619 of file PdmsTools.h.

References elementType, and PdmsTools::PDMS_INVALID_TOKEN.

Member Function Documentation

◆ execute()

◆ GetDefaultElementName()

◆ handle() [1/2]

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

Reimplemented from PdmsTools::PdmsCommands::Command.

Definition at line 537 of file PdmsTools.cpp.

References cloudViewer::t::geometry::path.

◆ handle() [2/2]

bool ElementCreation::handle ( Token  t)
virtual

Reimplemented from PdmsTools::PdmsCommands::Command.

Definition at line 543 of file PdmsTools.cpp.

References PdmsTools::PdmsToken::isElement().

◆ isValid()

bool ElementCreation::isValid ( ) const
virtual

Reimplemented from PdmsTools::PdmsCommands::Command.

Definition at line 552 of file PdmsTools.cpp.

References PdmsTools::PdmsToken::isElement().

◆ splitPath()

bool ElementCreation::splitPath ( const char *  str)
protected

Definition at line 755 of file PdmsTools.cpp.

References cloudViewer::t::geometry::path.

Member Data Documentation

◆ elementType

Token PdmsTools::PdmsCommands::ElementCreation::elementType

Definition at line 616 of file PdmsTools.h.

Referenced by ElementCreation().

◆ path

std::vector<std::string> PdmsTools::PdmsCommands::ElementCreation::path

Definition at line 617 of file PdmsTools.h.


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