Class to represent a line style type enumeration. Ex.: solid, dash, dot, etc. More...
#include <EnumLineStyleType.h>
Public Member Functions | |
EnumLineStyleType () | |
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 * | getStyleCustomDash () const |
Returns value that represents custom dash style type belonging to enumeration. More... | |
virtual EnumType * | getStyleDash () const |
Returns value that represents dash style type belonging to enumeration. More... | |
virtual EnumType * | getStyleDashDot () const |
Returns value that represents dash dot style type belonging to enumeration. More... | |
virtual EnumType * | getStyleDashDotDot () const |
Returns value that represents dash dot dot style type belonging to enumeration. More... | |
virtual EnumType * | getStyleDot () const |
Returns value that represents dot style type belonging to enumeration. More... | |
virtual EnumType * | getStyleNone () const |
Returns value that represents none style type belonging to enumeration. More... | |
virtual EnumType * | getStyleSolid () const |
Returns value that represents solid 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 | ~EnumLineStyleType () |
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_styleCustomDash |
value that represents custom dash style type belonging to enumeration More... | |
EnumType * | m_styleDash |
value that represents dash style type belonging to enumeration More... | |
EnumType * | m_styleDashDot |
value that represents dash dot style type belonging to enumeration More... | |
EnumType * | m_styleDashDotDot |
value that represents dash dot dot style type belonging to enumeration More... | |
EnumType * | m_styleDot |
value that represents dot style type belonging to enumeration More... | |
EnumType * | m_styleNone |
value that represents none style type belonging to enumeration More... | |
EnumType * | m_styleSolid |
value that represents solid style type belonging to enumeration More... | |
Class to represent a line style type enumeration. Ex.: solid, dash, dot, etc.
Definition at line 48 of file EnumLineStyleType.h.
te::layout::EnumLineStyleType::EnumLineStyleType | ( | ) |
|
virtual |
Destructor.
Definition at line 43 of file EnumLineStyleType.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 custom dash style type belonging to enumeration.
Definition at line 136 of file EnumLineStyleType.cpp.
|
virtual |
Returns value that represents dash style type belonging to enumeration.
Definition at line 116 of file EnumLineStyleType.cpp.
|
virtual |
Returns value that represents dash dot style type belonging to enumeration.
Definition at line 126 of file EnumLineStyleType.cpp.
|
virtual |
Returns value that represents dash dot dot style type belonging to enumeration.
Definition at line 131 of file EnumLineStyleType.cpp.
|
virtual |
Returns value that represents dot style type belonging to enumeration.
Definition at line 121 of file EnumLineStyleType.cpp.
|
virtual |
Returns value that represents none style type belonging to enumeration.
Definition at line 106 of file EnumLineStyleType.cpp.
Referenced by te::layout::GridMapModel::init().
|
virtual |
Returns value that represents solid style type belonging to enumeration.
Definition at line 111 of file EnumLineStyleType.cpp.
|
protectedvirtual |
Reimplemented from AbstractEnum.
Implements te::layout::AbstractEnum.
Definition at line 82 of file EnumLineStyleType.cpp.
Referenced by EnumLineStyleType().
|
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 custom dash style type belonging to enumeration
Definition at line 126 of file EnumLineStyleType.h.
|
protected |
value that represents dash style type belonging to enumeration
Definition at line 122 of file EnumLineStyleType.h.
|
protected |
value that represents dash dot style type belonging to enumeration
Definition at line 124 of file EnumLineStyleType.h.
|
protected |
value that represents dash dot dot style type belonging to enumeration
Definition at line 125 of file EnumLineStyleType.h.
|
protected |
value that represents dot style type belonging to enumeration
Definition at line 123 of file EnumLineStyleType.h.
|
protected |
value that represents none style type belonging to enumeration
Definition at line 120 of file EnumLineStyleType.h.
|
protected |
value that represents solid style type belonging to enumeration
Definition at line 121 of file EnumLineStyleType.h.