ArtsPortMatrixEntry


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

Quick Index

DESCRIPTION

Class Summary

class ArtsPortMatrixEntry

{

public:
ArtsPortMatrixEntry();
uint8_t Descriptor() const ;
uint8_t Descriptor(uint8_t descriptor) ;
uint16_t Src() const ;
uint16_t Src(uint16_t src);
uint16_t Dst() const ;
uint16_t Dst(uint16_t dst);
uint64_t Pkts() const ;
uint64_t Pkts(uint64_t pkts);
uint64_t Bytes() const ;
uint64_t Bytes(uint64_t bytes);
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 ) const;
int write(int fd, uint8_t version ) const;
operator << (ostream& os, const ArtsPortMatrixEntry & artsPortMatrixEntry);
protected:
}; // ArtsPortMatrixEntry

Back to the top of ArtsPortMatrixEntry


DESCRIPTION


---------------------------------------------------------------------------
class ArtsPortMatrixEntry
---------------------------------------------------------------------------
Class representing a single port matrix entry. This class holds a source port number, a destination port number, and the packets and bytes sent from the source port to the destination port.
---------------------------------------------------------------------------

Back to the top of ArtsPortMatrixEntry


ArtsPortMatrixEntry();


-------------------------------------------------------------------------
ArtsPortMatrixEntry()
.........................................................................
constructor
-------------------------------------------------------------------------

  ArtsPortMatrixEntry();

Back to the top of ArtsPortMatrixEntry


uint8_t Descriptor() const ;


-------------------------------------------------------------------------
inline uint8_t Descriptor() const
.........................................................................
Returns the descriptor field of the object. The descriptor field is a bitfield containing indicators of the length of the Src(), Dst(), Pkts() and Bytes() fields when stored on disk or sent via a socket.
-------------------------------------------------------------------------

  inline uint8_t Descriptor() const
                                      
;

Function is currently defined inline.


Back to the top of ArtsPortMatrixEntry


uint8_t Descriptor(uint8_t descriptor) ;


-------------------------------------------------------------------------
inline uint8_t Descriptor(uint8_t descriptor)
.........................................................................
Sets and returns the descriptor field of the object.
-------------------------------------------------------------------------

  inline uint8_t Descriptor(uint8_t descriptor)
                                                                          
;

Function is currently defined inline.


Back to the top of ArtsPortMatrixEntry


uint16_t Src() const ;


-------------------------------------------------------------------------
inline uint16_t Src() const
.........................................................................
Returns the source port number.
-------------------------------------------------------------------------

  inline uint16_t Src() const
                               
;

Function is currently defined inline.


Back to the top of ArtsPortMatrixEntry


uint16_t Src(uint16_t src);


-------------------------------------------------------------------------
uint16_t Src(uint16_t src)
.........................................................................
Sets and returns the source port number.
-------------------------------------------------------------------------

  uint16_t Src(uint16_t src);

Back to the top of ArtsPortMatrixEntry


uint16_t Dst() const ;


-------------------------------------------------------------------------
inline uint16_t Dst() const
.........................................................................
Returns the destination port number.
-------------------------------------------------------------------------

  inline uint16_t Dst() const
                               
;

Function is currently defined inline.


Back to the top of ArtsPortMatrixEntry


uint16_t Dst(uint16_t dst);


-------------------------------------------------------------------------
uint16_t Dst(uint16_t dst)
.........................................................................
Sets and returns the source port number.
-------------------------------------------------------------------------

  uint16_t Dst(uint16_t dst);

Back to the top of ArtsPortMatrixEntry


uint64_t Pkts() const ;


-------------------------------------------------------------------------
inline uint64_t Pkts() const
.........................................................................
Returns the number of packets sent from the source port to the destination port.
-------------------------------------------------------------------------

  inline uint64_t Pkts() const
                                
;

Function is currently defined inline.


Back to the top of ArtsPortMatrixEntry


uint64_t Pkts(uint64_t pkts);


-------------------------------------------------------------------------
uint64_t Pkts(uint64_t pkts)
.........................................................................
Sets and returns the number of packets sent from the source port to the destination port.
-------------------------------------------------------------------------

  uint64_t Pkts(uint64_t pkts);

Back to the top of ArtsPortMatrixEntry


uint64_t Bytes() const ;


-------------------------------------------------------------------------
inline uint64_t Bytes() const
.........................................................................
Returns the number of bytes sent from the source port to the destination port.
-------------------------------------------------------------------------

  inline uint64_t Bytes() const
                                 
;

Function is currently defined inline.


Back to the top of ArtsPortMatrixEntry


uint64_t Bytes(uint64_t bytes);


-------------------------------------------------------------------------
uint64_t Bytes(uint64_t bytes)
.........................................................................
Sets and returns the number of bytes sent from the source port to the destination port.
-------------------------------------------------------------------------

  uint64_t Bytes(uint64_t bytes);

Back to the top of ArtsPortMatrixEntry


uint32_t Length(uint8_t version ) const;


-------------------------------------------------------------------------
uint32_t Length(uint8_t version = 0) const
.........................................................................
Returns the bytes of space required to store the ArtsPortMatrixEntry on disk.
-------------------------------------------------------------------------

  uint32_t Length(uint8_t version = 0) const;

Back to the top of ArtsPortMatrixEntry


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


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

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

Back to the top of ArtsPortMatrixEntry


int read(int fd, uint8_t version );


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

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

Back to the top of ArtsPortMatrixEntry


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


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

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

Back to the top of ArtsPortMatrixEntry


int write(int fd, uint8_t version ) const;


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

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

Back to the top of ArtsPortMatrixEntry


operator << (ostream& os, const ArtsPortMatrixEntry & artsPortMatrixEntry);

No documentation available.

  operator << (ostream& os,
               const ArtsPortMatrixEntry & artsPortMatrixEntry);

Back to the top of ArtsPortMatrixEntry


All Members

public:
uint8_t Descriptor() const ;
uint8_t Descriptor(uint8_t descriptor) ;
uint16_t Src() const ;
uint16_t Src(uint16_t src);
uint16_t Dst() const ;
uint16_t Dst(uint16_t dst);
uint64_t Pkts() const ;
uint64_t Pkts(uint64_t pkts);
uint64_t Bytes() const ;
uint64_t Bytes(uint64_t bytes);
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 ) const;
int write(int fd, uint8_t version ) const;
operator << (ostream& os, const ArtsPortMatrixEntry & artsPortMatrixEntry);
protected:

Back to the top of ArtsPortMatrixEntry


Ancestors

Class does not inherit from any other class.

Back to the top of ArtsPortMatrixEntry


Descendants

Class is not inherited by any others.

Back to the top of ArtsPortMatrixEntry


Generated from source by the Cocoon utilities on Sat Oct 17 14:40:01 1998 .

Report problems to jkotula@unimax.com