|
BDE 4.14.0 Production release
|
#include <bslalg_bidirectionalnode.h>
Public Types | |
| typedef VALUE | ValueType |
Public Member Functions | |
| ValueType & | value () |
| const ValueType & | value () const |
Public Member Functions inherited from bslalg::BidirectionalLink | |
| BidirectionalLink ()=default | |
| BidirectionalLink (const BidirectionalLink &original)=default | |
| ~BidirectionalLink ()=default | |
| BidirectionalLink & | operator= (const BidirectionalLink &rhs)=default |
| void | setNextLink (BidirectionalLink *next) |
Set the successor of this node to be the specified next link. | |
| void | setPreviousLink (BidirectionalLink *previous) |
Set the predecessor of this node to be the specified prev link. | |
| void | reset () |
Set the nextLink and previousLink attributes of this value to 0. | |
| BidirectionalLink * | nextLink () const |
| Return the address of the next node linked from this node. | |
| BidirectionalLink * | previousLink () const |
| Return the address of the preceding node linked from this node. | |
This POD-like class describes a node suitable for use in a doubly-linked list of values of the template parameter type VALUE. This class is a "POD-like" to facilitate efficient allocation and use in the context of a container implementation. In order to meet the essential requirements of a POD type, this class does not define a constructor or destructor. The manipulator, value, returns a modifiable reference to d_value so that it may be constructed in-place by the appropriate bsl::allocator_traits object.
| typedef VALUE bslalg::BidirectionalNode< VALUE >::ValueType |
|
inline |
Return a reference providing modifiable access to the value held by this object.
|
inline |
Return a reference providing non-modifiable access to the value held by this object.