Class to represent a grid style type enumeration. Ex.: continuous, cross, etc. More...
#include <EnumGridStyleType.h>
Public Member Functions | |
EnumGridStyleType () | |
Constructor. 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 * | getStyleContinuous () const |
Returns value that represents continuous style type belonging to enumeration. More... | |
virtual EnumType * | getStyleCross () const |
Returns value that represents cross style type belonging to enumeration. More... | |
virtual EnumType * | getStyleNone () const |
Returns value that represents none style 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 | ~EnumGridStyleType () |
Destructor. More... | |
Protected Member Functions | |
virtual void | init () |
Reimplemented from AbstractEnum. More... | |
Protected Attributes | |
std::vector< EnumType * > | m_enums |
list of enumeration values More... | |
EnumType * | m_styleContinuous |
value that represents continuous style type belonging to enumeration More... | |
EnumType * | m_styleCross |
value that represents cross style type belonging to enumeration More... | |
EnumType * | m_styleNone |
value that represents none style type belonging to enumeration More... | |
Class to represent a grid style type enumeration. Ex.: continuous, cross, etc.
Definition at line 48 of file EnumGridStyleType.h.
te::layout::EnumGridStyleType::EnumGridStyleType | ( | ) |
|
virtual |
Destructor.
Definition at line 39 of file EnumGridStyleType.cpp.
|
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 continuous style type belonging to enumeration.
Definition at line 75 of file EnumGridStyleType.cpp.
|
virtual |
Returns value that represents cross style type belonging to enumeration.
Definition at line 80 of file EnumGridStyleType.cpp.
|
virtual |
Returns value that represents none style type belonging to enumeration.
Definition at line 70 of file EnumGridStyleType.cpp.
Referenced by te::layout::GridMapModel::init().
|
protectedvirtual |
Reimplemented from AbstractEnum.
Implements te::layout::AbstractEnum.
Definition at line 58 of file EnumGridStyleType.cpp.
Referenced by EnumGridStyleType().
|
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.
|
protectedinherited |
list of enumeration values
Definition at line 112 of file AbstractEnum.h.
|
protected |
value that represents continuous style type belonging to enumeration
Definition at line 93 of file EnumGridStyleType.h.
|
protected |
value that represents cross style type belonging to enumeration
Definition at line 94 of file EnumGridStyleType.h.
|
protected |
value that represents none style type belonging to enumeration
Definition at line 92 of file EnumGridStyleType.h.