OpenLexocad  27.1
OpenLxCmd::CmdAddPropertySet Class Reference

"CmdAddPropertySet" is used to assign one or more EXISTING Property to a PropertySet. More...

#include <CmdAddPropertySet.h>

Inheritance diagram for OpenLxCmd::CmdAddPropertySet:
Core::Command

Public Member Functions

 CmdAddPropertySet ()=default
 
 CmdAddPropertySet (const std::string &propertySetName, const std::string &propertyName)
 
 CmdAddPropertySet (const std::string &propertySetName, const std::string &propertyName, std::shared_ptr< OpenLxApp::Element > aElement)
 
 CmdAddPropertySet (const std::string &propertySetName, const std::string &propertyName, std::vector< std::shared_ptr< OpenLxApp::Element >> &aElements)
 
 CmdAddPropertySet (const std::string &propertySetName, const std::vector< std::string > &propertyNames)
 
 CmdAddPropertySet (const std::string &propertySetName, const std::vector< std::string > &propertyNames, std::shared_ptr< OpenLxApp::Element > aElement)
 
 CmdAddPropertySet (const std::string &propertySetName, const std::vector< std::string > &propertyNames, std::vector< std::shared_ptr< OpenLxApp::Element >> &aElements)
 
 ~CmdAddPropertySet ()=default
 
bool redo () override
 
bool undo () override
 
- Public Member Functions inherited from Core::Command
 Command ()
 
virtual ~Command ()
 
virtual void serialize (std::ostream &, const unsigned int)
 
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 on)
 
bool isInSilentMode () const
 
void setDoRecomputeInRedo (bool on)
 
void setDoRecomputeInUndo (bool on)
 
bool getDoRecomputeInRedo () const
 
bool getDoRecomputeInUndo () const
 
void setDone (bool yes)
 
bool isDone () const
 

Detailed Description

"CmdAddPropertySet" is used to assign one or more EXISTING Property to a PropertySet.

Constructor & Destructor Documentation

◆ CmdAddPropertySet() [1/7]

OpenLxCmd::CmdAddPropertySet::CmdAddPropertySet ( )
default

◆ CmdAddPropertySet() [2/7]

OpenLxCmd::CmdAddPropertySet::CmdAddPropertySet ( const std::string &  propertySetName,
const std::string &  propertyName 
)

◆ CmdAddPropertySet() [3/7]

OpenLxCmd::CmdAddPropertySet::CmdAddPropertySet ( const std::string &  propertySetName,
const std::string &  propertyName,
std::shared_ptr< OpenLxApp::Element aElement 
)

◆ CmdAddPropertySet() [4/7]

OpenLxCmd::CmdAddPropertySet::CmdAddPropertySet ( const std::string &  propertySetName,
const std::string &  propertyName,
std::vector< std::shared_ptr< OpenLxApp::Element >> &  aElements 
)

◆ CmdAddPropertySet() [5/7]

OpenLxCmd::CmdAddPropertySet::CmdAddPropertySet ( const std::string &  propertySetName,
const std::vector< std::string > &  propertyNames 
)

◆ CmdAddPropertySet() [6/7]

OpenLxCmd::CmdAddPropertySet::CmdAddPropertySet ( const std::string &  propertySetName,
const std::vector< std::string > &  propertyNames,
std::shared_ptr< OpenLxApp::Element aElement 
)

◆ CmdAddPropertySet() [7/7]

OpenLxCmd::CmdAddPropertySet::CmdAddPropertySet ( const std::string &  propertySetName,
const std::vector< std::string > &  propertyNames,
std::vector< std::shared_ptr< OpenLxApp::Element >> &  aElements 
)

◆ ~CmdAddPropertySet()

OpenLxCmd::CmdAddPropertySet::~CmdAddPropertySet ( )
default

Member Function Documentation

◆ redo()

bool OpenLxCmd::CmdAddPropertySet::redo ( )
overridevirtual

Reimplemented from Core::Command.

◆ undo()

bool OpenLxCmd::CmdAddPropertySet::undo ( )
overridevirtual

Reimplemented from Core::Command.


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