Pattern handler class.
More...
template<typename T>
class Castor3D::Pattern< T >
Pattern handler class.
- Author
- Sylvain DOREMUS
- Version
- 0.1
- Date
- 09/02/2010
◆ Pattern()
◆ ~Pattern()
◆ AddElement()
template<typename T >
void Castor3D::Pattern< T >::AddElement |
( |
TObjConstRef |
p_tElement, |
|
|
uint32_t |
p_index = 0xFFFFFFFF |
|
) |
| |
|
inline |
Adds an element to the list, at a given index.
- Parameters
-
[in] | p_tElement | The element to add |
[in] | p_index | The index at which the insertion must be done |
◆ GetElement() [1/2]
Accessor to an element.
- Parameters
-
[in] | p_index | the index of the wanted element |
- Returns
- Modifiable element
◆ GetElement() [2/2]
Constant accessor to an element.
- Parameters
-
[in] | p_index | the index of the wanted element |
- Returns
- Constant element
◆ GetReversed()
Builds the mirror pattern.
- Returns
- The built pattern
◆ GetSize()
- Returns
- The number of elements constituting the pattern
◆ IsClosed()
Tells if the pattern is closed (first element is also the last)
- Returns
true
if closed, false
if not
◆ operator[]() [1/2]
Accessor to an element.
- Parameters
-
[in] | p_index | the index of the wanted element |
- Returns
- Modifiable element reference
◆ operator[]() [2/2]
Constant accessor to an element.
- Parameters
-
[in] | p_index | the index of the wanted element |
- Returns
- Constant element reference
The documentation for this class was generated from the following files: