OpenLexocad  27.1
OpenLxCmd::CmdModifyPropertySetValue Class Reference

"CmdModifyPropertySetValue" is used to assign a value to ane EXISTING Property in a PropertySet. More...

#include <CmdModifyPropertySetValue.h>

Inheritance diagram for OpenLxCmd::CmdModifyPropertySetValue:
Core::Command

Public Member Functions

 CmdModifyPropertySetValue ()=default
 
 CmdModifyPropertySetValue (const std::string &propertySetName, const std::string &propertyName, const Core::Variant &propertyValue)
 
 CmdModifyPropertySetValue (const std::string &propertySetName, const std::string &propertyName, const Core::Variant &propertyValue, std::shared_ptr< OpenLxApp::Element > aElement)
 
 CmdModifyPropertySetValue (const std::string &propertySetName, const std::string &propertyName, const Core::Variant &propertyValue, std::vector< std::shared_ptr< OpenLxApp::Element >> &aElements)
 
 ~CmdModifyPropertySetValue ()=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

"CmdModifyPropertySetValue" is used to assign a value to ane EXISTING Property in a PropertySet.

Constructor & Destructor Documentation

◆ CmdModifyPropertySetValue() [1/4]

OpenLxCmd::CmdModifyPropertySetValue::CmdModifyPropertySetValue ( )
default

◆ CmdModifyPropertySetValue() [2/4]

OpenLxCmd::CmdModifyPropertySetValue::CmdModifyPropertySetValue ( const std::string &  propertySetName,
const std::string &  propertyName,
const Core::Variant propertyValue 
)

◆ CmdModifyPropertySetValue() [3/4]

OpenLxCmd::CmdModifyPropertySetValue::CmdModifyPropertySetValue ( const std::string &  propertySetName,
const std::string &  propertyName,
const Core::Variant propertyValue,
std::shared_ptr< OpenLxApp::Element aElement 
)

◆ CmdModifyPropertySetValue() [4/4]

OpenLxCmd::CmdModifyPropertySetValue::CmdModifyPropertySetValue ( const std::string &  propertySetName,
const std::string &  propertyName,
const Core::Variant propertyValue,
std::vector< std::shared_ptr< OpenLxApp::Element >> &  aElements 
)

◆ ~CmdModifyPropertySetValue()

OpenLxCmd::CmdModifyPropertySetValue::~CmdModifyPropertySetValue ( )
default

Member Function Documentation

◆ redo()

bool OpenLxCmd::CmdModifyPropertySetValue::redo ( )
overridevirtual

Reimplemented from Core::Command.

◆ undo()

bool OpenLxCmd::CmdModifyPropertySetValue::undo ( )
overridevirtual

Reimplemented from Core::Command.


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