|
|
- A Logic Circuit Simulation Library in C++ |
#include <listnode.h>
Public Member Functions | |
| ListNode (void) | |
| ~ListNode () | |
Public Attributes | |
| ListNode * | nextNodePtr |
| ListNode * | previousNodePtr |
| T | data |
| lcs::ListNode< T >::ListNode | ( | void | ) |
Default Constructor. A copy constructor is not provided. Hence data is partially or fully prone to multiple references as the compiler synthesized copy constructor would only be a reference copier.
| lcs::ListNode< T >::~ListNode | ( | ) |
Destructor. Does not keep track of the data items having multiple references. Hence use the objects created with care.
| T lcs::ListNode< T >::data |
Public data member. The member which actually holds the data.
| ListNode* lcs::ListNode< T >::nextNodePtr |
Public data member. Pointer to the next ListNode in the list.
| ListNode* lcs::ListNode< T >::previousNodePtr |
Public data member. Pointer to the previous ListNode in the list.