nds2-client - ClientDeveloper  0.16.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Static Private Attributes | Friends | List of all members
NDS::abi_0::channel::hash_type Class Reference

The hash_type represents a channel hash. The channel hash is an hash of the NDS2 channel list. It can be used by appliations to determine if a channel list has changed. More...

#include <nds_channel.hh>

Inheritance diagram for NDS::abi_0::channel::hash_type:
Inheritance graph
[legend]
Collaboration diagram for NDS::abi_0::channel::hash_type:
Collaboration graph
[legend]

Public Types

typedef std::vector< unsigned
char > 
element_type
 

Public Member Functions

 hash_type ()
 
bool compare (const void *Buffer, size_t Length=(size_t)(-1)) const
 
const void * ref () const
 
void reset ()
 

Static Private Attributes

static const unsigned char zero_hash [1] = { '\0' }
 
static const size_t MAX_SIZE = 256
 

Friends

struct NDS::detail::conn_p_type
 

Additional Inherited Members

- Private Attributes inherited from std::vector< T >
elements
 STL member. More...
 

Detailed Description

The hash_type represents a channel hash. The channel hash is an hash of the NDS2 channel list. It can be used by appliations to determine if a channel list has changed.

Member Typedef Documentation

typedef std::vector< unsigned char > NDS::abi_0::channel::hash_type::element_type

Constructor & Destructor Documentation

NDS::abi_0::channel::hash_type::hash_type ( )

Member Function Documentation

bool NDS::abi_0::channel::hash_type::compare ( const void *  Buffer,
size_t  Length = ( size_t )( -1 ) 
) const
const void * NDS::abi_0::channel::hash_type::ref ( ) const
inline
void NDS::abi_0::channel::hash_type::reset ( )

Friends And Related Function Documentation

friend struct NDS::detail::conn_p_type
friend

Member Data Documentation

const size_t NDS::abi_0::channel::hash_type::MAX_SIZE = 256
staticprivate
const unsigned char NDS::abi_0::channel::hash_type::zero_hash = { '\0' }
staticprivate

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