Oracle Coherence for C++ API
Release 3.7.1.0
E22845-01
#include <coherence/util/LinkedList.hpp>
Inherits Object.
ListElement is the foundation element for the linked list.
Public Types |
|
| typedef spec::Handle | Handle |
| ListElement Handle definition. | |
| typedef spec::View | View |
| ListElement View definition. | |
| typedef spec::Holder | Holder |
| ListElement Holder definition. | |
Static Public Member Functions |
|
| template<class T> | |
| static TypedHandle< T > | nextElement (const TypedHandle< T > &thElement, size32_t c) |
| Helper method to find a ListElement at the specified position. | |
Public Attributes |
|
| MemberHandle < ListElement > |
next |
| Reference to the next element in the list. | |
| MemberHandle < ListElement > |
previous |
| Reference to the previous element in the list. | |
| MemberHolder< Object > | value |
| Reference to the actual object contained by this list. | |
Protected Member Functions |
|
| ListElement (ListElement::Handle hNext, ListElement::Handle hPrev, Object::Holder hObj) | |
| Create a new ListElement object. | |
| ListElement | ( | ListElement::Handle | hNext, | |
| ListElement::Handle | hPrev, | |||
| Object::Holder | hObj | |||
| ) | [protected] |
Create a new ListElement object.
| hNext | the element that will be next in the list | |
| hPrev | the element that will be previous in the list | |
| hObj | the object this list element contains |
| static TypedHandle<T> nextElement | ( | const TypedHandle< T > & | thElement, | |
| size32_t | c | |||
| ) | [inline, static] |
Helper method to find a ListElement at the specified position.
| thElement | the starting position to find the element from | |
| c | the index of the element to find |
| coherence::lang::IndexOutOfBoundsException | if the index is out of range |
The documentation for this class was generated from the following file: