![]() |
|
|
Bdb packages | Design docs | Source docs | Guidelines | Recent releases |
|
Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members BdbPTChecksumSum Class Reference
[BdbTransfer]#include <BdbPTChecksumSum.h>
Public Methods
BdbPTChecksumSum (sum_t c=0) const BdbPTChecksumSum rotate (void) void rotate (int c) const BdbPTChecksumSum operator+ (sum_t c) const BdbPTChecksumSum & operator+= (sum_t c) BdbPTChecksumSum & operator= (sum_t c) const BdbPTChecksumSum operator+ (const BdbPTChecksumSum &c) const BdbPTChecksumSum & operator+= (const BdbPTChecksumSum &c) BdbPTChecksumSum & operator= (const BdbPTChecksumSum &c) sum_t value (void) const Static Public Methods
size_t size (void) const BdbPTChecksumSum calculate (const void *buffer, size_t len, unsigned *extrashiftp) Private Attributes
sum_t sum Constructor & Destructor Documentation
BdbPTChecksumSum::BdbPTChecksumSum ( sum_t c = 0 ) [inline]
Definition at line 64 of file BdbPTChecksumSum.h.
References sum_t.
Referenced by operator+(), and rotate().
Member Function Documentation
const BdbPTChecksumSum BdbPTChecksumSum::calculate ( const void * buffer, size_t len, unsigned * extrashiftp ) [static]
Definition at line 40 of file BdbPTChecksumSum.cc.
References buffer, len, rotate(), size(), and sum.
Referenced by main(), BdbPTRemoteCopySend::run(), BdbPTRemoteCopyRecv::run(), BdbPTCopy::run(), and BdbPTChecksum::run().
const BdbPTChecksumSum BdbPTChecksumSum::operator+ ( const BdbPTChecksumSum & c ) const [inline]
Definition at line 102 of file BdbPTChecksumSum.h.
References BdbPTChecksumSum().
const BdbPTChecksumSum BdbPTChecksumSum::operator+ ( sum_t c ) const [inline]
Definition at line 85 of file BdbPTChecksumSum.h.
References BdbPTChecksumSum(), and sum_t.
BdbPTChecksumSum & BdbPTChecksumSum::operator+= ( const BdbPTChecksumSum & c ) [inline]
Definition at line 93 of file BdbPTChecksumSum.h.
References sum.
BdbPTChecksumSum & BdbPTChecksumSum::operator+= ( sum_t c ) [inline]
Definition at line 76 of file BdbPTChecksumSum.h.
BdbPTChecksumSum & BdbPTChecksumSum::operator= ( const BdbPTChecksumSum & c ) [inline]
Definition at line 106 of file BdbPTChecksumSum.h.
References sum.
BdbPTChecksumSum & BdbPTChecksumSum::operator= ( sum_t c ) [inline]
Definition at line 89 of file BdbPTChecksumSum.h.
void BdbPTChecksumSum::rotate ( int c )
Definition at line 33 of file BdbPTChecksumSum.cc.
References sum.
const BdbPTChecksumSum BdbPTChecksumSum::rotate ( void ) [inline]
Definition at line 70 of file BdbPTChecksumSum.h.
References BdbPTChecksumSum(), and sum.
Referenced by calculate(), and main().
size_t BdbPTChecksumSum::size ( void ) [inline, static]
Definition at line 111 of file BdbPTChecksumSum.h.
Referenced by calculate().
sum_t BdbPTChecksumSum::value ( void ) const [inline]
Definition at line 116 of file BdbPTChecksumSum.h.
Referenced by main(), BdbPTRemoteCopySend::run(), and BdbPTRemoteCopyRecv::run().
Member Data Documentation
sum_t BdbPTChecksumSum::sum [private]
Definition at line 37 of file BdbPTChecksumSum.h.
Referenced by calculate(), operator+=(), operator=(), rotate(), and value().
The documentation for this class was generated from the following files:
- /BdbTransfer/BdbPTChecksumSum.h
- /BdbTransfer/BdbPTChecksumSum.cc
BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us
Page Owner: Jacek Becla
Last Update: October 04, 2002