#include <WEMPrimitive.h>

Public Member Functions | |
| WEMPrimitive () | |
| Standard constructor. | |
| WEMPrimitive (const WEMPrimitive &p) | |
| Copy constructor. | |
| virtual | ~WEMPrimitive () |
| Standard destructor. | |
| int | getEntryNumber () const |
| Get entry number. | |
| void | setEntryNumber (int e) |
| Set entry number. | |
| bool | isSet (unsigned int bit) const |
| Is bit-flag set? | |
| void | setFlag (unsigned int bit) |
| Set given bit-flag. | |
| void | unsetFlag (unsigned int bit) |
| Unset given bit-flag. | |
| void | clearFlag () |
| Clear bit-flag. | |
| bool | isTraversed () const |
| Is primitive traversed? | |
| void | setTraversed (bool traversed) |
| Set traversed flag. | |
| int | getHeapPosition () const |
| Get heap position. | |
| bool | inHeap () const |
| Is this primitive in the heap? | |
| void | setHeapPosition (int heapPosition) |
| Set heap position. | |
| double | getHeapValue () const |
| Get heap value. | |
| void | setHeapValue (double heapValue) |
| Set heap value. | |
Definition at line 24 of file WEMPrimitive.h.
| ml::WEMPrimitive::WEMPrimitive | ( | ) |
Standard constructor.
| ml::WEMPrimitive::WEMPrimitive | ( | const WEMPrimitive & | p | ) |
Copy constructor.
| virtual ml::WEMPrimitive::~WEMPrimitive | ( | ) | [virtual] |
Standard destructor.
| void ml::WEMPrimitive::clearFlag | ( | ) | [inline] |
| int ml::WEMPrimitive::getEntryNumber | ( | ) | const [inline] |
| int ml::WEMPrimitive::getHeapPosition | ( | ) | const [inline] |
Get heap position.
Definition at line 52 of file WEMPrimitive.h.
Referenced by ml::WEMContainer< T >::append(), ml::WEMHeap< T >::insert(), ml::WEMHeap< T >::remove(), ml::WEMContainer< T >::remove(), and ml::WEMHeap< T >::update().
| double ml::WEMPrimitive::getHeapValue | ( | ) | const [inline] |
Get heap value.
Definition at line 58 of file WEMPrimitive.h.
Referenced by ml::WEMHeap< T >::remove(), and ml::WEMHeap< T >::update().
| bool ml::WEMPrimitive::inHeap | ( | ) | const [inline] |
| bool ml::WEMPrimitive::isSet | ( | unsigned int | bit | ) | const [inline] |
| bool ml::WEMPrimitive::isTraversed | ( | ) | const [inline] |
| void ml::WEMPrimitive::setEntryNumber | ( | int | e | ) | [inline] |
| void ml::WEMPrimitive::setFlag | ( | unsigned int | bit | ) | [inline] |
| void ml::WEMPrimitive::setHeapPosition | ( | int | heapPosition | ) | [inline] |
Set heap position.
Definition at line 56 of file WEMPrimitive.h.
Referenced by ml::WEMContainer< T >::append(), ml::WEMHeap< T >::insert(), ml::WEMHeap< T >::remove(), ml::WEMContainer< T >::replace(), and ml::WEMHeap< T >::swap().
| void ml::WEMPrimitive::setHeapValue | ( | double | heapValue | ) | [inline] |
Set heap value.
Definition at line 60 of file WEMPrimitive.h.
Referenced by ml::WEMHeap< T >::insert(), and ml::WEMHeap< T >::update().
| void ml::WEMPrimitive::setTraversed | ( | bool | traversed | ) |
Set traversed flag.
| void ml::WEMPrimitive::unsetFlag | ( | unsigned int | bit | ) | [inline] |
1.5.8