xorp

NodeProto Class Reference

Node representing a protocol statement. More...

#include <node.hh>

Inheritance diagram for NodeProto:
Node< A >

List of all members.

Public Member Functions

 NodeProto (const string &proto, unsigned line)
 DEFINE_VISITABLE ()
virtual bool is_protocol_statement () const
 Test whether this is a "protocol" statement.
const string & proto () const

Private Attributes

string _proto

Detailed Description

Node representing a protocol statement.


Constructor & Destructor Documentation

NodeProto::NodeProto ( const string &  proto,
unsigned  line 
) [inline]
Parameters:
protocolthe protocol of the statement.
lineline of configuration where node was created.

Member Function Documentation

virtual bool NodeProto::is_protocol_statement ( ) const [inline, virtual]

Test whether this is a "protocol" statement.

Returns:
true if this is a "protocol" statement.

Reimplemented from Node< A >.

const string& NodeProto::proto ( ) const [inline]
Returns:
the protocol being referenced.

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