CflowdCiscoMap
[ libCfd | Source | Keywords | Summary | Ancestors | All Members | Descendants ]
Quick Index
Class Summary
class CflowdCiscoMap : public _CflowdCiscoMap_t{
public:
- typedef _CflowdCiscoMap_t::iterator iterator;
- typedef _CflowdCiscoMap_t::const_iterator const_iterator;
- void Clear();
- ostream & Write(ostream & os) const;
- int Write(int fd) const;
- typedef _CflowdCiscoMap_t::const_iterator const_iterator;
Back to the top of CflowdCiscoMap
DESCRIPTION
---------------------------------------------------------------------------
class CflowdCiscoMap : public _CflowdCiscoMap_t
---------------------------------------------------------------------------
This class is used to contain all of our CflowdCisco objects in cflowd. We just inherit from an STL map of CflowdCisco pointers keyed by IP address. We use pointers here because we only have N 'true' CflowdCisco objects (corresponding to N routers), but may have M entries in the map where M > N. This allows us to have multiple keys for the same CflowdCisco object so we can find a CflowdCisco in the map using one of its interface IP addresses (assuming we put corresponding entries in the map).
---------------------------------------------------------------------------
Back to the top of CflowdCiscoMap
typedef _CflowdCiscoMap_t::iterator iterator;
No documentation available.
typedef _CflowdCiscoMap_t::iterator iterator;
Back to the top of CflowdCiscoMap
typedef _CflowdCiscoMap_t::const_iterator const_iterator;
No documentation available.
typedef _CflowdCiscoMap_t::const_iterator const_iterator;
Back to the top of CflowdCiscoMap
void Clear();
-------------------------------------------------------------------------
void Clear() .........................................................................
Clears the map.
-------------------------------------------------------------------------
void Clear();
Back to the top of CflowdCiscoMap
ostream & Write(ostream & os) const;
-------------------------------------------------------------------------
ostream & Write(ostream & os) const .........................................................................
Writes the contents of the map to an ostream. Returns the ostream.
-------------------------------------------------------------------------
ostream & Write(ostream & os) const;
Back to the top of CflowdCiscoMap
int Write(int fd) const;
-------------------------------------------------------------------------
int Write(int fd) const .........................................................................
Writes the contents of the map to a file descriptor. Returns the number of bytes written on success, -1 on failure.
-------------------------------------------------------------------------
int Write(int fd) const;
Back to the top of CflowdCiscoMap
All Members
- public:
- typedef _CflowdCiscoMap_t::iterator iterator;
- typedef _CflowdCiscoMap_t::const_iterator const_iterator;
- void Clear();
- ostream & Write(ostream & os) const;
- int Write(int fd) const;
- typedef _CflowdCiscoMap_t::const_iterator const_iterator;
- protected:
Back to the top of CflowdCiscoMap
Ancestors
Inheritance chain for CflowdCiscoMap:
Back to the top of CflowdCiscoMap
Descendants
Class is not inherited by any others.
Back to the top of CflowdCiscoMap
Generated from source by the Cocoon utilities on Tue Sep 22 04:08:51 1998 .
Report problems to jkotula@unimax.com