OpenLexocad  27.1
OpenLxApp::Property Class Reference

#include <Property.h>

Inheritance diagram for OpenLxApp::Property:
OpenLxApp::PropertyBool OpenLxApp::PropertyButton OpenLxApp::PropertyColor OpenLxApp::PropertyDouble OpenLxApp::PropertyInteger OpenLxApp::PropertyObject OpenLxApp::PropertyObjectVector OpenLxApp::PropertyPoint OpenLxApp::PropertyPointVector OpenLxApp::PropertyString OpenLxApp::PropertyUser

Public Types

enum  Visible { NOT_VISIBLE = 0, VISIBLE = 1 }
 
enum  Editable { NOT_EDITABLE = 0, EDITABLE = 1 }
 

Public Member Functions

Core::Variant getVariant () const
 
std::string getName () const
 
bool isVisible () const
 
void setVisible (bool on)
 
bool isEditable () const
 
void setEditable (bool on)
 
Base::String getDisplayName () const
 
void setTranslationId (int aId)
 
int getTranslationId () const
 
virtual ~Property ()
 
void __setPropertyUser__ (Core::PropertyUser *aProperty)
 Internal. More...
 

Protected Member Functions

 Property ()
 
template<typename T >
void _setValue (const T &aValue)
 
std::shared_ptr< Document_getDocument (Core::Property *aProp)
 
Core::PropertyDescriptor_getPropertyDescriptor () const
 

Protected Attributes

Core::PropertyUser_prop = nullptr
 

Member Enumeration Documentation

◆ Editable

Enumerator
NOT_EDITABLE 
EDITABLE 

◆ Visible

Enumerator
NOT_VISIBLE 
VISIBLE 

Constructor & Destructor Documentation

◆ ~Property()

virtual OpenLxApp::Property::~Property ( )
inlinevirtual

◆ Property()

OpenLxApp::Property::Property ( )
protected

Member Function Documentation

◆ __setPropertyUser__()

void OpenLxApp::Property::__setPropertyUser__ ( Core::PropertyUser aProperty)

Internal.

◆ _getDocument()

std::shared_ptr<Document> OpenLxApp::Property::_getDocument ( Core::Property aProp)
protected

◆ _getPropertyDescriptor()

Core::PropertyDescriptor* OpenLxApp::Property::_getPropertyDescriptor ( ) const
protected

◆ _setValue()

template<typename T >
void OpenLxApp::Property::_setValue ( const T &  aValue)
inlineprotected

◆ getDisplayName()

Base::String OpenLxApp::Property::getDisplayName ( ) const

◆ getName()

std::string OpenLxApp::Property::getName ( ) const

◆ getTranslationId()

int OpenLxApp::Property::getTranslationId ( ) const

◆ getVariant()

Core::Variant OpenLxApp::Property::getVariant ( ) const

◆ isEditable()

bool OpenLxApp::Property::isEditable ( ) const

◆ isVisible()

bool OpenLxApp::Property::isVisible ( ) const

◆ setEditable()

void OpenLxApp::Property::setEditable ( bool  on)

◆ setTranslationId()

void OpenLxApp::Property::setTranslationId ( int  aId)

◆ setVisible()

void OpenLxApp::Property::setVisible ( bool  on)

Member Data Documentation

◆ _prop

Core::PropertyUser* OpenLxApp::Property::_prop = nullptr
protected

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