Class to represent a scale point enumeration. Ex.: X, square, circle, etc. More...
#include <EnumPointType.h>
Public Member Functions | |
EnumPointType () | |
Constructor. More... | |
virtual EnumType * | getCircleType () const |
Returns value that represents circle type belonging to enumeration. More... | |
virtual EnumType * | getCrossType () const |
Returns value that represents cross type belonging to enumeration. More... | |
virtual EnumType * | getEnum (int enumId) const |
Searching for a value of the enumeration by id. More... | |
virtual EnumType * | getEnum (std::string name) const |
Searching for an enumeration value by name. More... | |
virtual EnumType * | getNoneType () const |
Returns value that represents none type belonging to enumeration. More... | |
virtual EnumType * | getRhombusType () const |
Returns value that represents rhombus type belonging to enumeration. More... | |
virtual EnumType * | getSquareType () const |
Returns value that represents square type belonging to enumeration. More... | |
virtual EnumType * | getStarType () const |
Returns value that represents star type belonging to enumeration. More... | |
virtual EnumType * | getXType () const |
Returns value that represents X type belonging to enumeration. More... | |
virtual int | maxId () |
Searching for a max value of the id. More... | |
virtual int | minId () |
Searching for a min value of the id. More... | |
virtual EnumType * | searchLabel (std::string label) const |
Searching for an enumeration value by name. More... | |
virtual int | size () |
virtual | ~EnumPointType () |
Destructor. More... | |
Protected Member Functions | |
virtual void | init () |
Reimplemented from AbstractEnum. More... | |
Protected Attributes | |
EnumType * | m_circle |
value that represents circle type belonging to enumeration More... | |
EnumType * | m_cross |
value that represents cross type belonging to enumeration More... | |
std::vector< EnumType * > | m_enums |
list of enumeration values More... | |
EnumType * | m_noneType |
value that represents none type belonging to enumeration More... | |
EnumType * | m_rhombus |
value that represents rhombus type belonging to enumeration More... | |
EnumType * | m_square |
value that represents square type belonging to enumeration More... | |
EnumType * | m_star |
value that represents star type belonging to enumeration More... | |
EnumType * | m_x |
value that represents x type belonging to enumeration More... | |
Class to represent a scale point enumeration. Ex.: X, square, circle, etc.
Definition at line 48 of file EnumPointType.h.
te::layout::EnumPointType::EnumPointType | ( | ) |
|
virtual |
Destructor.
Definition at line 43 of file EnumPointType.cpp.
|
virtual |
Returns value that represents circle type belonging to enumeration.
Definition at line 89 of file EnumPointType.cpp.
Referenced by te::layout::PointItem::paint(), and te::layout::PointModel::PointModel().
|
virtual |
Returns value that represents cross type belonging to enumeration.
Definition at line 109 of file EnumPointType.cpp.
Referenced by te::layout::PointItem::paint().
|
virtualinherited |
Searching for a value of the enumeration by id.
enumId | id |
Definition at line 42 of file AbstractEnum.cpp.
Referenced by te::layout::JSON::retrieve(), te::layout::JSON::retrieveSubPTree(), and te::layout::GridMapModel::updateProperties().
|
virtualinherited |
Searching for an enumeration value by name.
name |
Definition at line 58 of file AbstractEnum.cpp.
|
virtual |
Returns value that represents none type belonging to enumeration.
Definition at line 79 of file EnumPointType.cpp.
|
virtual |
Returns value that represents rhombus type belonging to enumeration.
Definition at line 104 of file EnumPointType.cpp.
Referenced by te::layout::PointItem::paint().
|
virtual |
Returns value that represents square type belonging to enumeration.
Definition at line 99 of file EnumPointType.cpp.
Referenced by te::layout::PointItem::paint().
|
virtual |
Returns value that represents star type belonging to enumeration.
Definition at line 84 of file EnumPointType.cpp.
Referenced by te::layout::PointItem::paint().
|
virtual |
Returns value that represents X type belonging to enumeration.
Definition at line 94 of file EnumPointType.cpp.
Referenced by te::layout::PointItem::paint().
|
protectedvirtual |
Reimplemented from AbstractEnum.
Implements te::layout::AbstractEnum.
Definition at line 48 of file EnumPointType.cpp.
Referenced by EnumPointType().
|
virtualinherited |
Searching for a max value of the id.
Definition at line 90 of file AbstractEnum.cpp.
|
virtualinherited |
Searching for a min value of the id.
Definition at line 108 of file AbstractEnum.cpp.
|
virtualinherited |
Searching for an enumeration value by name.
name |
Definition at line 74 of file AbstractEnum.cpp.
|
virtualinherited |
Definition at line 128 of file AbstractEnum.cpp.
|
protected |
value that represents circle type belonging to enumeration
Definition at line 122 of file EnumPointType.h.
|
protected |
value that represents cross type belonging to enumeration
Definition at line 126 of file EnumPointType.h.
|
protectedinherited |
list of enumeration values
Definition at line 112 of file AbstractEnum.h.
|
protected |
value that represents none type belonging to enumeration
Definition at line 120 of file EnumPointType.h.
|
protected |
value that represents rhombus type belonging to enumeration
Definition at line 125 of file EnumPointType.h.
|
protected |
value that represents square type belonging to enumeration
Definition at line 124 of file EnumPointType.h.
|
protected |
value that represents star type belonging to enumeration
Definition at line 121 of file EnumPointType.h.
|
protected |
value that represents x type belonging to enumeration
Definition at line 123 of file EnumPointType.h.