maintains a 24-bit checksum over integer fields More...

#include <StoreSwapLogData.h>

Collaboration diagram for SwapChecksum24:

Public Member Functions

 SwapChecksum24 ()
 
bool operator== (const SwapChecksum24 &o) const
 
bool operator!= (const SwapChecksum24 &o) const
 
void set (uint32_t f1, uint32_t f2, uint32_t f3)
 compute and store checksum based on three 32bit integers More...
 
void set (int32_t f1, uint64_t f2)
 compute and store checksum based on int32_t and uint64_t integers More...
 
std::ostream & print (std::ostream &os) const
 

Private Attributes

uint8_t raw [3]
 

Detailed Description

Definition at line 43 of file StoreSwapLogData.h.

Constructor & Destructor Documentation

SwapChecksum24::SwapChecksum24 ( )
inline

Definition at line 46 of file StoreSwapLogData.h.

References raw.

Member Function Documentation

bool SwapChecksum24::operator!= ( const SwapChecksum24 o) const
inline

Definition at line 52 of file StoreSwapLogData.h.

bool SwapChecksum24::operator== ( const SwapChecksum24 o) const
inline

Definition at line 48 of file StoreSwapLogData.h.

References raw.

std::ostream & SwapChecksum24::print ( std::ostream &  os) const

Definition at line 47 of file StoreSwapLogData.cc.

References raw.

Referenced by operator<<().

void SwapChecksum24::set ( uint32_t  f1,
uint32_t  f2,
uint32_t  f3 
)
void SwapChecksum24::set ( int32_t  f1,
uint64_t  f2 
)

Same as 3-argument SwapChecksum24::set() but for int32_t and uint64_t.

Definition at line 38 of file StoreSwapLogData.cc.

References set().

Member Data Documentation

uint8_t SwapChecksum24::raw[3]
private

Definition at line 66 of file StoreSwapLogData.h.

Referenced by operator==(), print(), set(), and SwapChecksum24().


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors