xorp

NodeElem Class Reference

A node which holds an element. More...

#include <node.hh>

Inheritance diagram for NodeElem:
NONCOPYABLE Node< A >

List of all members.

Public Member Functions

 NodeElem (Element *elem, unsigned line)
 The node owns the element.
 DEFINE_VISITABLE ()
const Elementval () const

Private Attributes

Element_elem

Detailed Description

A node which holds an element.

Such as an IP address.


Constructor & Destructor Documentation

NodeElem::NodeElem ( Element elem,
unsigned  line 
) [inline]

The node owns the element.

Caller must not modify / delete.

Parameters:
elemthe element to hold.
lineline of configuration where node was created.

Member Function Documentation

const Element& NodeElem::val ( ) const [inline]
Returns:
the element in this node.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations