Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::crc_basic< Bits > Class Template Reference

#include <crc.hpp>

Public Types

typedef masking_type::least value_type
 

Public Member Functions

 BOOST_STATIC_CONSTANT (std::size_t, bit_count=Bits)
 
 crc_basic (value_type truncated_polynominal, value_type initial_remainder=0, value_type final_xor_value=0, bool reflect_input=false, bool reflect_remainder=false)
 
value_type get_truncated_polynominal () const
 
value_type get_initial_remainder () const
 
value_type get_final_xor_value () const
 
bool get_reflect_input () const
 
bool get_reflect_remainder () const
 
value_type get_interim_remainder () const
 
void reset (value_type new_rem)
 
void reset ()
 
void process_bit (bool bit)
 
void process_bits (unsigned char bits, std::size_t bit_count)
 
void process_byte (unsigned char byte)
 
void process_block (void const *bytes_begin, void const *bytes_end)
 
void process_bytes (void const *buffer, std::size_t byte_count)
 
value_type checksum () const
 

Member Typedef Documentation

template<std::size_t Bits>
typedef masking_type::least boost::crc_basic< Bits >::value_type

Constructor & Destructor Documentation

template<std::size_t Bits>
boost::crc_basic< Bits >::crc_basic ( value_type  truncated_polynominal,
value_type  initial_remainder = 0,
value_type  final_xor_value = 0,
bool  reflect_input = false,
bool  reflect_remainder = false 
)
inlineexplicit

Member Function Documentation

template<std::size_t Bits>
boost::crc_basic< Bits >::BOOST_STATIC_CONSTANT ( std::size_t  ,
bit_count  = Bits 
)
template<std::size_t Bits>
crc_basic< Bits >::value_type boost::crc_basic< Bits >::checksum ( ) const
inline
template<std::size_t Bits>
crc_basic< Bits >::value_type boost::crc_basic< Bits >::get_final_xor_value ( ) const
inline
template<std::size_t Bits>
crc_basic< Bits >::value_type boost::crc_basic< Bits >::get_initial_remainder ( ) const
inline
template<std::size_t Bits>
crc_basic< Bits >::value_type boost::crc_basic< Bits >::get_interim_remainder ( ) const
inline
template<std::size_t Bits>
bool boost::crc_basic< Bits >::get_reflect_input ( ) const
inline
template<std::size_t Bits>
bool boost::crc_basic< Bits >::get_reflect_remainder ( ) const
inline
template<std::size_t Bits>
crc_basic< Bits >::value_type boost::crc_basic< Bits >::get_truncated_polynominal ( ) const
inline
template<std::size_t Bits>
void boost::crc_basic< Bits >::process_bit ( bool  bit)
inline
template<std::size_t Bits>
void boost::crc_basic< Bits >::process_bits ( unsigned char  bits,
std::size_t  bit_count 
)
template<std::size_t Bits>
void boost::crc_basic< Bits >::process_block ( void const *  bytes_begin,
void const *  bytes_end 
)
template<std::size_t Bits>
void boost::crc_basic< Bits >::process_byte ( unsigned char  byte)
inline
template<std::size_t Bits>
void boost::crc_basic< Bits >::process_bytes ( void const *  buffer,
std::size_t  byte_count 
)
inline

References boost::asio::b, and boost::buffer().

template<std::size_t Bits>
void boost::crc_basic< Bits >::reset ( value_type  new_rem)
template<std::size_t Bits>
void boost::crc_basic< Bits >::reset ( )
inline

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