Created by the British Broadcasting Corporation.
Class DiracByteStats - for collecting statistics on aspects of the Dirac byte-stream.
#include <dirac_byte_stats.h>
Public Member Functions | |
DiracByteStats () | |
Constructor. | |
DiracByteStats (const DiracByteStats &dirac_byte_stats) | |
Copy constructor. | |
~DiracByteStats () | |
Destructor. | |
void | Clear () |
Clears data. | |
int64_t | GetBitCount (const StatType &stat_type) const |
Gets number of bits for a particular stat-type. | |
int64_t | GetByteCount (const StatType &stat_type) const |
Gets number of bytes for a particular stat-type. | |
void | SetByteCount (const StatType &stat_type, int64_t count) |
Sets number of bytes for a particular stat-type. | |
Private Attributes | |
std::map< StatType, int64_t > | m_byte_count |
Map of byte-counts. | |
dirac::DiracByteStats::DiracByteStats | ( | ) |
dirac::DiracByteStats::DiracByteStats | ( | const DiracByteStats & | dirac_byte_stats | ) |
dirac::DiracByteStats::~DiracByteStats | ( | ) |
void dirac::DiracByteStats::Clear | ( | ) |
Referenced by dirac::ByteIO::CollateByteStats().
int64_t dirac::DiracByteStats::GetBitCount | ( | const StatType & | stat_type | ) | const |
int64_t dirac::DiracByteStats::GetByteCount | ( | const StatType & | stat_type | ) | const |
void dirac::DiracByteStats::SetByteCount | ( | const StatType & | stat_type, |
int64_t | count | ||
) |
|
private |
© 2004 British Broadcasting Corporation.
Dirac code licensed under the Mozilla Public License (MPL) Version 1.1.
HTML documentation generated by Dimitri van Heesch's
excellent Doxygen tool.