All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::layout::Properties Class Reference

#include <Properties.h>

Public Member Functions

virtual bool addProperty (Property property)
 
virtual bool clear ()
 
virtual bool contains (Property property)
 
virtual Property contains (std::string name)
 
virtual std::string getObjectName ()
 
virtual std::vector< PropertygetProperties ()
 
virtual LayoutAbstractObjectType getTypeObj ()
 
virtual bool hasGridWindows ()
 
 Properties (std::string objectName, LayoutAbstractObjectType type=TPObjectUnknown)
 
virtual bool removeProperty (std::string name)
 
virtual void setHasGridWindows (bool windows)
 
virtual void setObjectName (std::string name)
 
virtual void setTypeObj (LayoutAbstractObjectType type)
 
virtual ~Properties (void)
 

Protected Attributes

bool m_hasGridWindows
 
std::string m_objName
 
std::vector< Propertym_properties
 
LayoutAbstractObjectType m_typeObj
 

Detailed Description

Definition at line 43 of file Properties.h.

Constructor & Destructor Documentation

te::layout::Properties::Properties ( std::string  objectName,
LayoutAbstractObjectType  type = TPObjectUnknown 
)
inline

Definition at line 78 of file Properties.h.

te::layout::Properties::~Properties ( void  )
inlinevirtual

Definition at line 85 of file Properties.h.

Member Function Documentation

bool te::layout::Properties::addProperty ( Property  property)
inlinevirtual
te::layout::Property te::layout::Properties::contains ( std::string  name)
inlinevirtual

Definition at line 159 of file Properties.h.

References m_properties, and te::layout::Property::setName().

std::string te::layout::Properties::getObjectName ( )
inlinevirtual

Definition at line 127 of file Properties.h.

References m_objName.

Referenced by te::layout::PropertiesOutside::onChangePropertyValue().

bool te::layout::Properties::hasGridWindows ( )
inlinevirtual
bool te::layout::Properties::removeProperty ( std::string  name)
inlinevirtual

Definition at line 100 of file Properties.h.

References m_properties.

void te::layout::Properties::setHasGridWindows ( bool  windows)
inlinevirtual

Definition at line 176 of file Properties.h.

Referenced by te::layout::MapGridModel::MapGridModel().

void te::layout::Properties::setObjectName ( std::string  name)
inlinevirtual

Definition at line 132 of file Properties.h.

References m_objName.

Referenced by te::layout::PropertiesOutside::onChangePropertyValue().

void te::layout::Properties::setTypeObj ( LayoutAbstractObjectType  type)
inlinevirtual

Member Data Documentation

bool te::layout::Properties::m_hasGridWindows
protected

Definition at line 74 of file Properties.h.

std::string te::layout::Properties::m_objName
protected

Definition at line 72 of file Properties.h.

Referenced by getObjectName(), and setObjectName().

std::vector<Property> te::layout::Properties::m_properties
protected

Definition at line 71 of file Properties.h.

Referenced by addProperty(), clear(), contains(), getProperties(), and removeProperty().

LayoutAbstractObjectType te::layout::Properties::m_typeObj
protected

Definition at line 73 of file Properties.h.

Referenced by getTypeObj(), and setTypeObj().


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