Stefan Scholz / ETL
Embed: (wiki syntax)

« Back to documentation index

fnv_1a_64 Class Reference

fnv_1a_64 Class Reference

Calculates the fnv_1a_64 hash. More...

#include <fnv_1.h>

Inherits frame_check_sequence< fnv_1a_policy_64 >.

Public Member Functions

 fnv_1a_64 ()
 Default constructor.
template<typename TIterator >
 fnv_1a_64 (TIterator begin, const TIterator end)
 Constructor from range.
void reset ()
 Resets the FCS to the initial state.
void add (TIterator begin, const TIterator end)
 Adds a range.
void add (uint8_t value_)
value_type value ()
 Gets the FCS value.
 operator value_type ()
 Conversion operator to value_type.

Detailed Description

Calculates the fnv_1a_64 hash.

Definition at line 143 of file fnv_1.h.


Constructor & Destructor Documentation

fnv_1a_64 (  )

Default constructor.

Definition at line 150 of file fnv_1.h.

fnv_1a_64 ( TIterator  begin,
const TIterator  end 
)

Constructor from range.

Parameters:
beginStart of the range.
endEnd of the range.

Definition at line 161 of file fnv_1.h.


Member Function Documentation

void add ( TIterator  begin,
const TIterator  end 
) [inherited]

Adds a range.

Parameters:
begin
end

Definition at line 95 of file frame_check_sequence.h.

void add ( uint8_t  value_ ) [inherited]
Parameters:
valueThe uint8_t to add to the FCS.

Definition at line 108 of file frame_check_sequence.h.

operator value_type (  ) [inherited]

Conversion operator to value_type.

Definition at line 124 of file frame_check_sequence.h.

void reset (  ) [inherited]

Resets the FCS to the initial state.

Definition at line 84 of file frame_check_sequence.h.

value_type value (  ) [inherited]

Gets the FCS value.

Definition at line 116 of file frame_check_sequence.h.