It represents a sort by expression. More...
#include <SortBy.h>
Public Member Functions | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
| SortBy () | |
| It initializes a new SortBy. More... | |
| ~SortBy () | |
| Destructor. More... | |
Accessor methods | |
Methods used to get or set properties. | |
| std::size_t | size () const |
| It returns the number of sort expressions. More... | |
| void | push_back (SortProperty *p) |
| It adds the property to the sort list. More... | |
| const SortProperty * | operator[] (std::size_t index) const |
| It returns a specified property. More... | |
Private Attributes | |
| std::vector< SortProperty * > | m_sortPropertyVector |
| Mandatory at least one sort property. More... | |
|
default |
It initializes a new SortBy.
| te::fe::SortBy::~SortBy | ( | ) |
Destructor.
Definition at line 36 of file SortBy.cpp.
References te::common::FreeContents(), and m_sortPropertyVector.
| const te::fe::SortProperty * te::fe::SortBy::operator[] | ( | std::size_t | index | ) | const |
It returns a specified property.
| index | The index of desired property. |
Definition at line 51 of file SortBy.cpp.
References m_sortPropertyVector.
| void te::fe::SortBy::push_back | ( | SortProperty * | p | ) |
It adds the property to the sort list.
| p | The property to be added to the sort list. |
Definition at line 46 of file SortBy.cpp.
References m_sortPropertyVector.
| std::size_t te::fe::SortBy::size | ( | ) | const |
It returns the number of sort expressions.
Definition at line 41 of file SortBy.cpp.
References m_sortPropertyVector.
|
private |
Mandatory at least one sort property.
Definition at line 104 of file SortBy.h.
Referenced by operator[](), push_back(), size(), and ~SortBy().