openikev2::Attribute Class Reference

This abstract class represents an object that can be stored into an AttributeMap. More...

#include <attribute.h>

Inheritance diagram for openikev2::Attribute:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual auto_ptr< AttributecloneAttribute () const=0
 Clones the Attribute.
virtual string toStringTab (uint8_t tabs) const =0
 Construct a textual representation of the object, preceded of a num of tabs of size TAB_SIZE.

Detailed Description

This abstract class represents an object that can be stored into an AttributeMap.

Author:
Pedro J. Fernandez Ruiz, Alejandro Perez Mendez <pedroj.fernandez@dif.um.es, alejandro_perez@dif.um.es>


Member Function Documentation

virtual auto_ptr<Attribute> openikev2::Attribute::cloneAttribute (  )  const [pure virtual]

Clones the Attribute.

Returns:
A new object identical to this

Implemented in openikev2::IpAddress.

virtual string openikev2::Attribute::toStringTab ( uint8_t  tabs  )  const [pure virtual]

Construct a textual representation of the object, preceded of a num of tabs of size TAB_SIZE.

Parameters:
tabs Num of tabs preceding the textual representation.
Returns:
Textual tabulated represetation of the object.

Implements openikev2::Printable.

Implemented in openikev2::IpAddress.


Generated on Fri Jul 27 11:04:49 2007 for libopenikev2 by  doxygen 1.5.1