OpenLexocad  27.0
OpenLxCmd::CmdImportFile Class Reference

#include <CmdImportFile.h>

Inheritance diagram for OpenLxCmd::CmdImportFile:
Core::Command

Public Member Functions

 CmdImportFile ()
 
 CmdImportFile (const Base::String &aPath, const std::string &aFormat, bool createlayer=true)
 
 ~CmdImportFile ()
 
bool redo ()
 
bool undo ()
 
std::vector< std::shared_ptr< OpenLxApp::Element > > getImportedElements () const
 
- Public Member Functions inherited from Core::Command
 Command (void)
 
virtual ~Command (void)
 
Base::String getDescription () const
 
void setDescription (const Base::String &s)
 
void setParameter (const std::string &key, const Core::Variant &value)
 
bool getParameter (const std::string &key, Core::Variant &value) const
 
void setSilentMode (bool onoff)
 
bool isInSilentMode () const
 

Detailed Description

Since
24.0

Constructor & Destructor Documentation

◆ CmdImportFile() [1/2]

OpenLxCmd::CmdImportFile::CmdImportFile ( )

◆ CmdImportFile() [2/2]

OpenLxCmd::CmdImportFile::CmdImportFile ( const Base::String aPath,
const std::string &  aFormat,
bool  createlayer = true 
)

◆ ~CmdImportFile()

OpenLxCmd::CmdImportFile::~CmdImportFile ( )

Member Function Documentation

◆ getImportedElements()

std::vector<std::shared_ptr<OpenLxApp::Element> > OpenLxCmd::CmdImportFile::getImportedElements ( ) const

◆ redo()

bool OpenLxCmd::CmdImportFile::redo ( )
virtual

Reimplemented from Core::Command.

◆ undo()

bool OpenLxCmd::CmdImportFile::undo ( )
virtual

Reimplemented from Core::Command.


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