CflowdAsMatrix
[ libCfd | Source | Keywords | Summary | Ancestors | All Members | Descendants ]
Quick Index
Class Summary
class CflowdAsMatrix : public CflowdAsMatrixMap_t{
public:
- typedef CflowdAsMatrixMap_t::iterator iterator;
- typedef CflowdAsMatrixMap_t::const_iterator const_iterator;
- int AddFlow(const CflowdRawFlow & flow);
- istream & read(istream & is);
- int read(int fd);
- ostream & write(ostream & os) const;
- int write(int fd) const;
- typedef CflowdAsMatrixMap_t::const_iterator const_iterator;
Back to the top of CflowdAsMatrix
DESCRIPTION
---------------------------------------------------------------------------
class CflowdAsMatrix : public CflowdAsMatrixMap_t
---------------------------------------------------------------------------
This class is used to contain AS matrix traffic data in cflowd++. We use a CflowdAsMatrixKey as a key, and a CflowdAsMatrixTrafficCounter to hold packet and byte counters.
Note we just inherit from an instantiation of an STL map, then just add a few new member functions.
---------------------------------------------------------------------------
Back to the top of CflowdAsMatrix
typedef CflowdAsMatrixMap_t::iterator iterator;
No documentation available.
typedef CflowdAsMatrixMap_t::iterator iterator;
Back to the top of CflowdAsMatrix
typedef CflowdAsMatrixMap_t::const_iterator const_iterator;
No documentation available.
typedef CflowdAsMatrixMap_t::const_iterator const_iterator;
Back to the top of CflowdAsMatrix
int AddFlow(const CflowdRawFlow & flow);
-------------------------------------------------------------------------
int AddFlow(const CflowdRawFlow & flow) .........................................................................
Adds data from a CflowdRawFlow to the AS matrix. Returns 0 on success, -1 on failure.
-------------------------------------------------------------------------
int AddFlow(const CflowdRawFlow & flow);
Back to the top of CflowdAsMatrix
istream & read(istream & is);
-------------------------------------------------------------------------
istream & read(istream & is) .........................................................................
Reads the contents of a CflowdAsMatrix from an istream. Returns the istream.
-------------------------------------------------------------------------
istream & read(istream & is);
Back to the top of CflowdAsMatrix
int read(int fd);
-------------------------------------------------------------------------
int read(int fd) .........................................................................
Reads the contents of a CflowdAsMatrix from a file descriptor. Returns the number of bytes read on success, -1 on failure.
-------------------------------------------------------------------------
int read(int fd);
Back to the top of CflowdAsMatrix
ostream & write(ostream & os) const;
-------------------------------------------------------------------------
ostream & write(ostream & os) const .........................................................................
Writes the contents of a CflowdAsMatrix to an ostream. Returns the ostream.
-------------------------------------------------------------------------
ostream & write(ostream & os) const;
Back to the top of CflowdAsMatrix
int write(int fd) const;
-------------------------------------------------------------------------
int write(int fd) const .........................................................................
Writes the contents of a CflowdAsMatrix 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 CflowdAsMatrix
All Members
- public:
- typedef CflowdAsMatrixMap_t::iterator iterator;
- typedef CflowdAsMatrixMap_t::const_iterator const_iterator;
- int AddFlow(const CflowdRawFlow & flow);
- istream & read(istream & is);
- int read(int fd);
- ostream & write(ostream & os) const;
- int write(int fd) const;
- typedef CflowdAsMatrixMap_t::const_iterator const_iterator;
- protected:
Back to the top of CflowdAsMatrix
Ancestors
Inheritance chain for CflowdAsMatrix:
Back to the top of CflowdAsMatrix
Descendants
Class is not inherited by any others.
Back to the top of CflowdAsMatrix
Generated from source by the Cocoon utilities on Tue Sep 22 04:08:48 1998 .
Report problems to jkotula@unimax.com