ArtsAsMatrixData


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

Quick Index

DESCRIPTION

Class Summary

class ArtsAsMatrixData

{

public:
ArtsAsMatrixData() ;
uint16_t SampleInterval() const ;
uint16_t SampleInterval(uint16_t sampleInterval) ;
uint32_t Count() const ;
uint32_t Count(uint32_t count) ;
uint64_t TotalPkts() const ;
uint64_t TotalPkts(uint64_t totalPkts) ;
uint64_t TotalBytes() const ;
uint64_t TotalBytes(uint64_t totalBytes) ;
uint64_t Orphans() const ;
uint64_t Orphans(uint64_t orphans) ;
vector<ArtsAsMatrixEntry> & AsEntries() const ;
uint32_t Length(uint8_t version ) const;
istream& read(istream& is, uint8_t version );
int read(int fd, uint8_t version );
ostream& write(ostream& os, uint8_t version );
int write(int fd, uint8_t version );
friend ostream& operator << (ostream& os, const ArtsAsMatrixData & artsAsMatrixData);
void SortEntriesByBytes();
void SortEntriesByPkts();
protected:
}; // ArtsAsMatrixData

Back to the top of ArtsAsMatrixData


DESCRIPTION


---------------------------------------------------------------------------
class ArtsAsMatrixData
---------------------------------------------------------------------------
This class encapsulates the data portion of an ARTS AS matrix object. This class is not normally instantiated directly, but instead instantiated from the containing object (an Arts or ArtsAsMatrix object).
---------------------------------------------------------------------------

Back to the top of ArtsAsMatrixData


ArtsAsMatrixData() ;


-------------------------------------------------------------------------
inline ArtsAsMatrixData()
.........................................................................
constructor
-------------------------------------------------------------------------

  inline ArtsAsMatrixData()
                                                                                                                                     
;

Function is currently defined inline.


Back to the top of ArtsAsMatrixData


uint16_t SampleInterval() const ;


-------------------------------------------------------------------------
inline uint16_t SampleInterval() const
.........................................................................
Returns the sampling ratio if the AS matrix was built using packet sampling techniques. Normally this value is 1, meaning we're working with complete data sets (for example, from Cisco flow-export).
-------------------------------------------------------------------------

  inline uint16_t SampleInterval() const
                                          
;

Function is currently defined inline.


Back to the top of ArtsAsMatrixData


uint16_t SampleInterval(uint16_t sampleInterval) ;


-------------------------------------------------------------------------
inline uint16_t SampleInterval(uint16_t sampleInterval)
.........................................................................
Sets and returns the sampling ratio if the AS matrix was built using packet sampling techniques. Normally this value is 1, meaning we're working with complete data sets (for example, from Cisco flow-export).
-------------------------------------------------------------------------

  inline uint16_t SampleInterval(uint16_t sampleInterval)
                                                                                      
;

Function is currently defined inline.


Back to the top of ArtsAsMatrixData


uint32_t Count() const ;


-------------------------------------------------------------------------
inline uint32_t Count() const
.........................................................................
Returns the number of AS matrix entries (cells) in an ArtsAsMatrixData object.
-------------------------------------------------------------------------

  inline uint32_t Count() const
                                 
;

Function is currently defined inline.


Back to the top of ArtsAsMatrixData


uint32_t Count(uint32_t count) ;


-------------------------------------------------------------------------
inline uint32_t Count(uint32_t count)
.........................................................................
Sets and Returns the number of AS matrix entries (cells) in an ArtsAsMatrixData object.
-------------------------------------------------------------------------

  inline uint32_t Count(uint32_t count)
                                                           
;

Function is currently defined inline.


Back to the top of ArtsAsMatrixData


uint64_t TotalPkts() const ;


-------------------------------------------------------------------------
inline uint64_t TotalPkts() const
.........................................................................
Returns the total packets of traffic in the ArtsAsMatrixData object. The total is the sum of all traffic from each source to each destination.
-------------------------------------------------------------------------

  inline uint64_t TotalPkts() const
                                   
;

Function is currently defined inline.


Back to the top of ArtsAsMatrixData


uint64_t TotalPkts(uint64_t totalPkts) ;


-------------------------------------------------------------------------
inline uint64_t TotalPkts(uint64_t totalPkts)
.........................................................................
Sets and returns the total packets of traffic in the ArtsAsMatrixData object. The total is the sum of all traffic from each source to each destination.
-------------------------------------------------------------------------

  inline uint64_t TotalPkts(uint64_t totalPkts)
                                                                   
;

Function is currently defined inline.


Back to the top of ArtsAsMatrixData


uint64_t TotalBytes() const ;


-------------------------------------------------------------------------
inline uint64_t TotalBytes() const
.........................................................................
Returns the total bytes of traffic in the ArtsAsMatrixData object. The total is the sum of all traffic from each source to each destination.
-------------------------------------------------------------------------

  inline uint64_t TotalBytes() const
                                    
;

Function is currently defined inline.


Back to the top of ArtsAsMatrixData


uint64_t TotalBytes(uint64_t totalBytes) ;


-------------------------------------------------------------------------
inline uint64_t TotalBytes(uint64_t totalBytes)
.........................................................................
Sets and returns the total bytes of traffic in the ArtsAsMatrixData object. The total is the sum of all traffic from each source to each destination.
-------------------------------------------------------------------------

  inline uint64_t TotalBytes(uint64_t totalBytes)
                                                                      
;

Function is currently defined inline.


Back to the top of ArtsAsMatrixData


uint64_t Orphans() const ;


-------------------------------------------------------------------------
inline uint64_t Orphans() const
.........................................................................

-------------------------------------------------------------------------

  inline uint64_t Orphans() const
                                   
;

Function is currently defined inline.


Back to the top of ArtsAsMatrixData


uint64_t Orphans(uint64_t orphans) ;


-------------------------------------------------------------------------
inline uint64_t Orphans(uint64_t orphans)
.........................................................................

-------------------------------------------------------------------------

  inline uint64_t Orphans(uint64_t orphans)
                                                                 
;

Function is currently defined inline.


Back to the top of ArtsAsMatrixData


vector<ArtsAsMatrixEntry> & AsEntries() const ;


-------------------------------------------------------------------------
inline vector<ArtsAsMatrixEntry> & AsEntries() const
.........................................................................
Return a reference to the vector of ArtsAsMatrixEntry objects. Note that even though this member may be called from a const object, the returned reference is not const; the vector is mutable.
-------------------------------------------------------------------------

  inline vector<ArtsAsMatrixEntry> & AsEntries() const
                                     
;

Function is currently defined inline.


Back to the top of ArtsAsMatrixData


uint32_t Length(uint8_t version ) const;


-------------------------------------------------------------------------
uint32_t Length(uint8_t version = 0) const
.........................................................................
Returns the length required to store the ArtsAsMatrixData object on disk.
-------------------------------------------------------------------------

  uint32_t Length(uint8_t version = 0) const;

Back to the top of ArtsAsMatrixData


istream& read(istream& is, uint8_t version );


-------------------------------------------------------------------------
istream& read(istream& is, uint8_t version = 0)
.........................................................................
Reads an ArtsAsMatrixData object from an istream. Returns the istream.
-------------------------------------------------------------------------

  istream& read(istream& is, uint8_t version = 0);

Back to the top of ArtsAsMatrixData


int read(int fd, uint8_t version );


-------------------------------------------------------------------------
int read(int fd, uint8_t version = 0)
.........................................................................
Reads an ArtsAsMatrixData object from a file descriptor. Returns the number of bytes read if successful, -1 on failure.
-------------------------------------------------------------------------

  int read(int fd, uint8_t version = 0);

Back to the top of ArtsAsMatrixData


ostream& write(ostream& os, uint8_t version );


-------------------------------------------------------------------------
ostream& write(ostream& os, uint8_t version = 0)
.........................................................................
Writes an ArtsAsMatrixData object to an ostream. Returns the ostream.
-------------------------------------------------------------------------

  ostream& write(ostream& os, uint8_t version = 0);

Back to the top of ArtsAsMatrixData


int write(int fd, uint8_t version );


-------------------------------------------------------------------------
int write(int fd, uint8_t version = 0)
.........................................................................
Writes an ArtsAsMatrixData object to a file descriptor. Returns the number of bytes written on success, -1 on failure.
-------------------------------------------------------------------------

  int write(int fd, uint8_t version = 0);

Back to the top of ArtsAsMatrixData


friend ostream& operator << (ostream& os, const ArtsAsMatrixData & artsAsMatrixData);


-------------------------------------------------------------------------
ostream& operator << (ostream& os, const ArtsAsMatrixData & artsAsMatrixData)
.........................................................................
Overloaded '<<' operator. Dumps the contents of an ArtsAsMatrixData object to an ostream in a human-readable form. Returns the ostream.
-------------------------------------------------------------------------

  friend ostream& operator << (ostream& os,
                               const ArtsAsMatrixData & artsAsMatrixData);

Back to the top of ArtsAsMatrixData


void SortEntriesByBytes();

No documentation available.

  void SortEntriesByBytes();

Back to the top of ArtsAsMatrixData


void SortEntriesByPkts();

No documentation available.

  void SortEntriesByPkts();

Back to the top of ArtsAsMatrixData


All Members

public:
uint16_t SampleInterval() const ;
uint16_t SampleInterval(uint16_t sampleInterval) ;
uint32_t Count() const ;
uint32_t Count(uint32_t count) ;
uint64_t TotalPkts() const ;
uint64_t TotalPkts(uint64_t totalPkts) ;
uint64_t TotalBytes() const ;
uint64_t TotalBytes(uint64_t totalBytes) ;
uint64_t Orphans() const ;
uint64_t Orphans(uint64_t orphans) ;
vector<ArtsAsMatrixEntry> & AsEntries() const ;
uint32_t Length(uint8_t version ) const;
istream& read(istream& is, uint8_t version );
int read(int fd, uint8_t version );
ostream& write(ostream& os, uint8_t version );
int write(int fd, uint8_t version );
friend ostream& operator << (ostream& os, const ArtsAsMatrixData & artsAsMatrixData);
void SortEntriesByBytes();
void SortEntriesByPkts();
protected:

Back to the top of ArtsAsMatrixData


Ancestors

Class does not inherit from any other class.

Back to the top of ArtsAsMatrixData


Descendants

Class is not inherited by any others.

Back to the top of ArtsAsMatrixData


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

Report problems to jkotula@unimax.com