#include <Observer.hpp>
Public Member Functions | |
Item () | |
Empty Constructor. | |
Item (const Item &item) | |
Copy Constructor. | |
Item (Node n) | |
Constructor: Node item. | |
Item (Edge e) | |
Constructor: Edge item. | |
Data Fields | |
int | type |
The type: 0 for no valid member, 1 for Node, 2 for Edge. | |
Node | node |
Node, has a valid value only if type==1. | |
Edge | edge |
Edge, has a valid value only if type==2. |
|
Empty Constructor.
|
|
Copy Constructor.
|
|
Constructor: Node item.
|
|
Constructor: Edge item.
|
|
Edge, has a valid value only if type==2.
|
|
Node, has a valid value only if type==1.
|
|
The type: 0 for no valid member, 1 for Node, 2 for Edge.
|