ooc  1.3c
Object Oriented tollkit fo ANSI C
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ListNode Class Reference

ListNode class - brief description. More...

Detailed Description

ListNode class - brief description.

The ListNode objects form the chain of the List. It has two pointers: one for the previous and one for the next ListNode in the List. You can create a more effective List, if your items are subclasses of ListNode class, and you create the List with list_new_of_nodes(). In this case your data are stored whithin the node, thus less malloc() is called, and less space is used. Unlike "noded" Lists, normal Lists hold only a pointer in the ListNode to the data you put in the List, that needs an additional memory allocation for the ListNode.

See Also

The documentation for this class was generated from the following file: