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

Class to represent a line style type enumeration. Ex.: solid, dash, dot, etc. More...

#include <EnumLineStyleType.h>

Inheritance diagram for te::layout::EnumLineStyleType:
te::layout::AbstractEnum

Public Member Functions

 EnumLineStyleType ()
 Constructor. More...
 
virtual EnumTypegetEnum (int enumId) const
 Searching for a value of the enumeration by id. More...
 
virtual EnumTypegetEnum (std::string name) const
 Searching for an enumeration value by name. More...
 
virtual EnumTypegetStyleCustomDash () const
 Returns value that represents custom dash style type belonging to enumeration. More...
 
virtual EnumTypegetStyleDash () const
 Returns value that represents dash style type belonging to enumeration. More...
 
virtual EnumTypegetStyleDashDot () const
 Returns value that represents dash dot style type belonging to enumeration. More...
 
virtual EnumTypegetStyleDashDotDot () const
 Returns value that represents dash dot dot style type belonging to enumeration. More...
 
virtual EnumTypegetStyleDot () const
 Returns value that represents dot style type belonging to enumeration. More...
 
virtual EnumTypegetStyleNone () const
 Returns value that represents none style type belonging to enumeration. More...
 
virtual EnumTypegetStyleSolid () 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 EnumTypesearchLabel (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...
 
EnumTypem_styleCustomDash
 value that represents custom dash style type belonging to enumeration More...
 
EnumTypem_styleDash
 value that represents dash style type belonging to enumeration More...
 
EnumTypem_styleDashDot
 value that represents dash dot style type belonging to enumeration More...
 
EnumTypem_styleDashDotDot
 value that represents dash dot dot style type belonging to enumeration More...
 
EnumTypem_styleDot
 value that represents dot style type belonging to enumeration More...
 
EnumTypem_styleNone
 value that represents none style type belonging to enumeration More...
 
EnumTypem_styleSolid
 value that represents solid style type belonging to enumeration More...
 

Detailed Description

Class to represent a line style type enumeration. Ex.: solid, dash, dot, etc.

See also
te::layout::AbstractEnum

Definition at line 48 of file EnumLineStyleType.h.

Constructor & Destructor Documentation

te::layout::EnumLineStyleType::EnumLineStyleType ( )

Constructor.

Definition at line 31 of file EnumLineStyleType.cpp.

References init().

te::layout::EnumLineStyleType::~EnumLineStyleType ( )
virtual

Destructor.

Definition at line 43 of file EnumLineStyleType.cpp.

Member Function Documentation

te::layout::EnumType * te::layout::AbstractEnum::getEnum ( int  enumId) const
virtualinherited

Searching for a value of the enumeration by id.

Parameters
enumIdid
Returns
value found in the enumeration or null

Definition at line 42 of file AbstractEnum.cpp.

Referenced by te::layout::JSON::retrieve(), te::layout::JSON::retrieveSubPTree(), and te::layout::GridMapModel::updateProperties().

te::layout::EnumType * te::layout::AbstractEnum::getEnum ( std::string  name) const
virtualinherited

Searching for an enumeration value by name.

Parameters
name
Returns
value found in the enumeration or null

Definition at line 58 of file AbstractEnum.cpp.

te::layout::EnumType * te::layout::EnumLineStyleType::getStyleCustomDash ( ) const
virtual

Returns value that represents custom dash style type belonging to enumeration.

Returns
enum value

Definition at line 136 of file EnumLineStyleType.cpp.

te::layout::EnumType * te::layout::EnumLineStyleType::getStyleDash ( ) const
virtual

Returns value that represents dash style type belonging to enumeration.

Returns
enum value

Definition at line 116 of file EnumLineStyleType.cpp.

te::layout::EnumType * te::layout::EnumLineStyleType::getStyleDashDot ( ) const
virtual

Returns value that represents dash dot style type belonging to enumeration.

Returns
enum value

Definition at line 126 of file EnumLineStyleType.cpp.

te::layout::EnumType * te::layout::EnumLineStyleType::getStyleDashDotDot ( ) const
virtual

Returns value that represents dash dot dot style type belonging to enumeration.

Returns
enum value

Definition at line 131 of file EnumLineStyleType.cpp.

te::layout::EnumType * te::layout::EnumLineStyleType::getStyleDot ( ) const
virtual

Returns value that represents dot style type belonging to enumeration.

Returns
enum value

Definition at line 121 of file EnumLineStyleType.cpp.

te::layout::EnumType * te::layout::EnumLineStyleType::getStyleNone ( ) const
virtual

Returns value that represents none style type belonging to enumeration.

Returns
enum value

Definition at line 106 of file EnumLineStyleType.cpp.

Referenced by te::layout::GridMapModel::init().

te::layout::EnumType * te::layout::EnumLineStyleType::getStyleSolid ( ) const
virtual

Returns value that represents solid style type belonging to enumeration.

Returns
enum value

Definition at line 111 of file EnumLineStyleType.cpp.

void te::layout::EnumLineStyleType::init ( )
protectedvirtual

Reimplemented from AbstractEnum.

Implements te::layout::AbstractEnum.

Definition at line 82 of file EnumLineStyleType.cpp.

Referenced by EnumLineStyleType().

int te::layout::AbstractEnum::maxId ( )
virtualinherited

Searching for a max value of the id.

Returns
-1 if no found, otherwise the id

Definition at line 90 of file AbstractEnum.cpp.

int te::layout::AbstractEnum::minId ( )
virtualinherited

Searching for a min value of the id.

Returns
-1 if no found, otherwise the id

Definition at line 108 of file AbstractEnum.cpp.

te::layout::EnumType * te::layout::AbstractEnum::searchLabel ( std::string  label) const
virtualinherited

Searching for an enumeration value by name.

Parameters
name
Returns
value found in the enumeration or null

Definition at line 74 of file AbstractEnum.cpp.

int te::layout::AbstractEnum::size ( )
virtualinherited

Definition at line 128 of file AbstractEnum.cpp.

Member Data Documentation

std::vector<EnumType*> te::layout::AbstractEnum::m_enums
protectedinherited

list of enumeration values

Definition at line 112 of file AbstractEnum.h.

EnumType* te::layout::EnumLineStyleType::m_styleCustomDash
protected

value that represents custom dash style type belonging to enumeration

Definition at line 126 of file EnumLineStyleType.h.

EnumType* te::layout::EnumLineStyleType::m_styleDash
protected

value that represents dash style type belonging to enumeration

Definition at line 122 of file EnumLineStyleType.h.

EnumType* te::layout::EnumLineStyleType::m_styleDashDot
protected

value that represents dash dot style type belonging to enumeration

Definition at line 124 of file EnumLineStyleType.h.

EnumType* te::layout::EnumLineStyleType::m_styleDashDotDot
protected

value that represents dash dot dot style type belonging to enumeration

Definition at line 125 of file EnumLineStyleType.h.

EnumType* te::layout::EnumLineStyleType::m_styleDot
protected

value that represents dot style type belonging to enumeration

Definition at line 123 of file EnumLineStyleType.h.

EnumType* te::layout::EnumLineStyleType::m_styleNone
protected

value that represents none style type belonging to enumeration

Definition at line 120 of file EnumLineStyleType.h.

EnumType* te::layout::EnumLineStyleType::m_styleSolid
protected

value that represents solid style type belonging to enumeration

Definition at line 121 of file EnumLineStyleType.h.


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