Abstract class to represent an enumeration.
More...
#include <AbstractEnum.h>
|
virtual void | init ()=0 |
| Creates the enumeration values and adds the list Reimplement this function in a AbstractEnum subclass to provide the enum's init implementation. More...
|
|
Abstract class to represent an enumeration.
Definition at line 48 of file AbstractEnum.h.
te::layout::AbstractEnum::AbstractEnum |
( |
| ) |
|
te::layout::AbstractEnum::~AbstractEnum |
( |
| ) |
|
|
virtual |
Searching for an enumeration value by name.
- Parameters
-
- Returns
- value found in the enumeration or null
Definition at line 58 of file AbstractEnum.cpp.
virtual void te::layout::AbstractEnum::init |
( |
| ) |
|
|
protectedpure virtual |
int te::layout::AbstractEnum::maxId |
( |
| ) |
|
|
virtual |
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 |
( |
| ) |
|
|
virtual |
Searching for a min value of the id.
- Returns
- -1 if no found, otherwise the id
Definition at line 108 of file AbstractEnum.cpp.
Searching for an enumeration value by name.
- Parameters
-
- Returns
- value found in the enumeration or null
Definition at line 74 of file AbstractEnum.cpp.
int te::layout::AbstractEnum::size |
( |
| ) |
|
|
virtual |
std::vector<EnumType*> te::layout::AbstractEnum::m_enums |
|
protected |
The documentation for this class was generated from the following files:
- C:/TL5_2015_release/terralib5/src/terralib/layout/core/enum/AbstractEnum.h
- C:/TL5_2015_release/terralib5/src/terralib/layout/core/enum/AbstractEnum.cpp