xorp

NodeUn Class Reference

Unary operation. More...

#include <node.hh>

Inheritance diagram for NodeUn:
NONCOPYABLE Node< A >

List of all members.

Public Member Functions

 NodeUn (UnOper *op, Node *node, unsigned line)
 Caller must not delete / modify pointers.
 DEFINE_VISITABLE ()
const UnOperop () const
Nodenode () const

Private Attributes

UnOper_op
Node_node

Detailed Description

Unary operation.

The node will have one child. It owns it.


Constructor & Destructor Documentation

NodeUn::NodeUn ( UnOper op,
Node node,
unsigned  line 
) [inline]

Caller must not delete / modify pointers.

Parameters:
opunary operation associated with node.
nodechild of node -- argument of operation.
lineline of configuration where node was created.

Member Function Documentation

Node& NodeUn::node ( ) const [inline]
Returns:
argument of unary operation.
const UnOper& NodeUn::op ( ) const [inline]
Returns:
unary operation associated with node.

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