SnmpTrapOidContainer Class Reference

#include <OperationContext.h>

Inheritance diagram for SnmpTrapOidContainer:
OperationContext::Container

List of all members.

Public Member Functions

 SnmpTrapOidContainer (const OperationContext::Container &container)
 SnmpTrapOidContainer (const SnmpTrapOidContainer &container)
 SnmpTrapOidContainer (const String &snmpTrapOid)
virtual ~SnmpTrapOidContainer ()
SnmpTrapOidContaineroperator= (const SnmpTrapOidContainer &container)
virtual String getName () const
virtual
OperationContext::Container
clone () const
virtual void destroy ()
String getSnmpTrapOid () const

Static Public Attributes

static const String NAME

Protected Attributes

SnmpTrapOidContainerRep * _rep

Detailed Description

An SnmpTrapOidContainer object holds an SNMP trap OID that corresponds to the associated data.


Constructor & Destructor Documentation

Constructs an SnmpTrapOidContainer object from the specified Container.

Parameters:
containerThe Container object to copy.
Exceptions:
DynamicCastFailedExceptionIf the specified Container object is not an SnmpTrapOidContainer object.

Constructs a copy of the specified SnmpTrapOidContainer.

Parameters:
containerThe SnmpTrapOidContainer object to copy.

Constructs an SnmpTrapOidContainer with the specified SNMP trap OID.

Parameters:
snmpTrapOidA String containing an SNMP trap OID.

Member Function Documentation

Makes a copy of this SnmpTrapOidContainer object. The caller is responsible for cleaning up the copy by calling destroy() method.

Returns:
A pointer to the new Container object.

Implements OperationContext::Container.

virtual void SnmpTrapOidContainer::destroy ( ) [virtual]

Cleans up an SnmpTrapOidContainer object that was created by the clone() method.

Implements OperationContext::Container.

virtual String SnmpTrapOidContainer::getName ( ) const [virtual]

Returns the unique name for this Container type.

Returns:
The String name of the Container type.

Implements OperationContext::Container.

Gets the SNMP trap OID from the SnmpTrapOidContainer.

Returns:
A String with the SNMP trap OID corresponding to the associated data.
SnmpTrapOidContainer& SnmpTrapOidContainer::operator= ( const SnmpTrapOidContainer container)

Assigns the value of the specified SnmpTrapOidContainer object to this object.

Parameters:
containerThe SnmpTrapOidContainer object to copy.

Member Data Documentation

SnmpTrapOidContainerRep* SnmpTrapOidContainer::_rep [protected]

An internal representation of the SnmpTrapOidContainer attributes.

The unique name for this container type.


The documentation for this class was generated from the following file: