This class represents a CRC‐32 checksum value that can be updated as data is provided.
Synopsis
Declared in <bdlde_crc32.h>
class Crc32;
Description
More generally, this class supports a complete set of value semantic operations, including copy construction, assignment, equality comparison, ostream printing, and bdex serialization. (A precise operational definition of when two objects have the same value can be found in the description of operator== for the class.) This class is *exception neutral* with no guarantee of rollback: if an exception is thrown during the invocation of a method on a pre‐existing object, the class is left in a valid state, but its value is undefined. In no event is memory leaked. Finally, aliasing (e.g., using all or part of an object as both source and destination) is supported in all cases.
Member Functions
Name |
Description |
|
Constructors |
Assign to this checksum the value of the specified |
|
Assign to this object the value read from the specified input |
|
Write this value to the specified output |
|
Return the current value of this checksum. |
|
Return the current value of this checksum and set the value of this checksum to the value the default constructor provides. |
|
Format this object to the specified output |
|
Reset the value of this checksum to the value the default constructor provides. |
|
Update the value of this checksum to incorporate the specified |
|
Return the current value of this checksum. |
Static Member Functions
Name |
Description |
|
Friends
Name |
Description |
Return |
Non-Member Functions
Name |
Description |
Return |
Created with MrDocs