MADNESS 0.10.1
linked_list Class Reference
Collaboration diagram for linked_list:

Public Member Functions

 linked_list (int value=0)
void append (int value)
linked_list * get_next () const
int get_value () const
void print ()
void set_value (int val)

Private Attributes

linked_list * next
int value

Constructor & Destructor Documentation

◆ linked_list()

linked_list::linked_list ( int value = 0)
inline

References next, and value.

Referenced by append(), and get_next().

Member Function Documentation

◆ append()

void linked_list::append ( int value)
inline

References linked_list(), next, and value.

Referenced by test_out().

◆ get_next()

linked_list * linked_list::get_next ( ) const
inline

References linked_list(), and next.

◆ get_value()

int linked_list::get_value ( ) const
inline

References value.

◆ print()

void linked_list::print ( )
inline

References next, and value.

Referenced by test_in(), and test_out().

◆ set_value()

void linked_list::set_value ( int val)
inline

References value.

Member Data Documentation

◆ next

linked_list* linked_list::next
private

Referenced by linked_list(), append(), get_next(), and print().

◆ value

int linked_list::value
private

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