C++ bindings for cgul_list_node
More...
#include <cgul_list_node_cxx.h>
Public Member Functions | |
void * | get_value () const |
void | set_value (const void *value) |
cgul_list_node_cxx * | get_prev () const |
cgul_list_node_cxx * | get_next () const |
cgul_list_node_t | get_obj () const |
Friends | |
class | cgul_list_cxx |
This class provides the C++ bindings for C cgul_list_node
objects. The main purpose of this class is to convert the C-style function calls and exception handling in cgul_list_node
into C++-style function calls and exception handling. This class must not be extended.
|
inline |
Return the value stored in the node.
n
References cgul_list_node__get_value().
|
inline |
Set the value to be stored in the node.
[in] | value | value to be stored in the node |
References cgul_list_node__set_value().
|
inline |
Return the next node. You can use this method to iterate over the list. When there are no more nodes, NULL
is returned. You can use get_back()
to get the last node in order to start iterating. A set_prev()
exists, but it is private.
References cgul_list_node__get_prev().
|
inline |
Return the previous node. You can use this method to iterate over the list. When there are no more nodes, NULL
is returned. You can use get_front()
to get the first node in order to start iterating. A set_next()
exists, but it is private.
References cgul_list_node__get_next().
|
inline |
Get the underlying cgul_list_node
object.
|
friend |