ArtsBgp4AsPathAttribute


[ libArts | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION

Class Summary

class ArtsBgp4AsPathAttribute

{

public:
uint8_t NumSegments() const;
uint8_t NumSegments(uint8_t numSegments);
vector<ArtsBgp4AsPathSegment> & Segments() const;
operator = (const ArtsBgp4AsPathAttribute & asPath);
protected:
}; // ArtsBgp4AsPathAttribute

Back to the top of ArtsBgp4AsPathAttribute


DESCRIPTION


---------------------------------------------------------------------------
class ArtsBgp4AsPathAttribute
---------------------------------------------------------------------------
This class abstracts a BGP4 AS path attribute. It contains a vector of ArtsBgp4AsPathSegment objects.
---------------------------------------------------------------------------

Back to the top of ArtsBgp4AsPathAttribute


uint8_t NumSegments() const;


-------------------------------------------------------------------------
uint8_t NumSegments() const
.........................................................................
Returns the number of ArtsBgp4AsPathSegment objects contained in the ArtsBgp4AsPathAttribute.
-------------------------------------------------------------------------

  uint8_t  NumSegments() const;

Back to the top of ArtsBgp4AsPathAttribute


uint8_t NumSegments(uint8_t numSegments);


-------------------------------------------------------------------------
uint8_t NumSegments(uint8_t numSegments)
.........................................................................
Sets and returns the number of ArtsBgp4AsPathSegment objects contained in the ArtsBgp4AsPathAttribute.
-------------------------------------------------------------------------

  uint8_t  NumSegments(uint8_t numSegments);

Back to the top of ArtsBgp4AsPathAttribute


vector<ArtsBgp4AsPathSegment> & Segments() const;


-------------------------------------------------------------------------
vector<ArtsBgp4AsPathSegment> & Segments() const
.........................................................................
Returns a reference to the vector of ArtsBgp4AsPathSegment objects in the ArtsBgp4AsPathAttribute. Note that we can call this member on a const object even though we don't return a const reference; the vector of ArtsBgp4AsPathSegment objects is mutable.
-------------------------------------------------------------------------

  vector<ArtsBgp4AsPathSegment> & Segments() const;

Back to the top of ArtsBgp4AsPathAttribute


operator = (const ArtsBgp4AsPathAttribute & asPath);

No documentation available.

  operator = (const ArtsBgp4AsPathAttribute & asPath);

Back to the top of ArtsBgp4AsPathAttribute


All Members

public:
uint8_t NumSegments() const;
uint8_t NumSegments(uint8_t numSegments);
vector<ArtsBgp4AsPathSegment> & Segments() const;
operator = (const ArtsBgp4AsPathAttribute & asPath);
protected:

Back to the top of ArtsBgp4AsPathAttribute


Ancestors

Class does not inherit from any other class.

Back to the top of ArtsBgp4AsPathAttribute


Descendants

Class is not inherited by any others.

Back to the top of ArtsBgp4AsPathAttribute


Generated from source by the Cocoon utilities on Sat Oct 17 14:39:52 1998 .

Report problems to jkotula@unimax.com