xorp

IfConfigTransactionOperation Class Reference

Base class for Interface related operations acting on an IfTree. More...

#include <ifconfig_transaction.hh>

Inheritance diagram for IfConfigTransactionOperation:
TransactionOperation AddInterface ConfigureAllInterfacesFromSystem ConfigureInterfaceFromSystem InterfaceModifier RemoveInterface AddInterfaceVif RemoveInterfaceVif RestoreInterfaceMac RestoreInterfaceMtu SetIfString SetInterfaceDiscard SetInterfaceEnabled SetInterfaceMac SetInterfaceManagement SetInterfaceMtu SetInterfaceUnreachable VifModifier

List of all members.

Public Member Functions

 IfConfigTransactionOperation (IfConfig &ifconfig, const string &ifname)
virtual string path () const
const string & ifname () const
 Get the interface name this operation applies to.

Protected Member Functions

IfConfigifconfig ()
 Get the corresponding interface manager.
IfTreeiftree ()
 Get the interface tree to modify.

Private Attributes

IfConfig_ifconfig
IfTree_iftree
const string _ifname

Detailed Description

Base class for Interface related operations acting on an IfTree.


Member Function Documentation

IfConfig& IfConfigTransactionOperation::ifconfig ( ) [inline, protected]

Get the corresponding interface manager.

Returns:
a reference to the corresponding interface manager.
const string& IfConfigTransactionOperation::ifname ( ) const [inline]

Get the interface name this operation applies to.

Returns:
the interface name this operation applies to.
IfTree& IfConfigTransactionOperation::iftree ( ) [inline, protected]

Get the interface tree to modify.

Returns:
a reference to the interface tree to modify.
virtual string IfConfigTransactionOperation::path ( ) const [inline, virtual]
Returns:
space separated path description.

Reimplemented in VifModifier, Addr4Modifier, and Addr6Modifier.


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