ccRTP 2.1.2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions
HashEnum Class Reference

The enumaration subclasses that contain the supported algorithm enumerations. More...

#include <ZrtpConfigure.h>

Inheritance diagram for HashEnum:
Inheritance graph
[legend]
Collaboration diagram for HashEnum:
Collaboration graph
[legend]

Public Member Functions

 HashEnum ()
 
 ~HashEnum ()
 
AlgorithmEnumgetByName (const char *name)
 Get an AlgorithmEnum by its name. More...
 
std::list< std::string > * getAllNames ()
 Return all names of all currently stored AlgorithmEnums. More...
 
int getSize ()
 Get the number of currently stored AlgorithmEnums. More...
 
AlgoTypes getAlgoType ()
 Get the AlgoTypes to which this EnumBase belongs. More...
 
AlgorithmEnumgetByOrdinal (int ord)
 Return the AlgorithmEnum by its ordinal number. More...
 
int getOrdinal (AlgorithmEnum &algo)
 Get the ordinal number of an AlgorithmEnum. More...
 

Protected Member Functions

void insert (const char *name)
 
void insert (const char *name, int32_t klen, const char *ra, encrypt_t en, decrypt_t de, SrtpAlgorithms alId)
 

Detailed Description

The enumaration subclasses that contain the supported algorithm enumerations.

Definition at line 260 of file ZrtpConfigure.h.

Constructor & Destructor Documentation

HashEnum::HashEnum ( )
HashEnum::~HashEnum ( )

Member Function Documentation

AlgoTypes EnumBase::getAlgoType ( )
inherited

Get the AlgoTypes to which this EnumBase belongs.

Returns
The AlgoTypes of this EnumBase.
See Also
AlgoTypes.
std::list<std::string>* EnumBase::getAllNames ( )
inherited

Return all names of all currently stored AlgorithmEnums.

Returns
A C++ std::list of C++ std::strings that contain the names.
AlgorithmEnum& EnumBase::getByName ( const char *  name)
inherited

Get an AlgorithmEnum by its name.

Parameters
nameThe name of the AlgorithmEnum to search.
Returns
The AlgorithmEnum if found or an invalid AlgorithmEnum if the name was not found
AlgorithmEnum& EnumBase::getByOrdinal ( int  ord)
inherited

Return the AlgorithmEnum by its ordinal number.

Parameters
ordThe ordinal number of the AlgorithmEnum.
Returns
The AlgorithmEnum if found, an invalid Algorithm otherwise.
int EnumBase::getOrdinal ( AlgorithmEnum algo)
inherited

Get the ordinal number of an AlgorithmEnum.

Parameters
algoReturn toe ordinal numer of this AlgorithmEnum.
Returns
Return the ordinal number of this AlgorithmEnum if found, -1 otherwise.
int EnumBase::getSize ( )
inherited

Get the number of currently stored AlgorithmEnums.

Returns
The number of currently stored AlgorithmEnums
void EnumBase::insert ( const char *  name)
protectedinherited
void EnumBase::insert ( const char *  name,
int32_t  klen,
const char *  ra,
encrypt_t  en,
decrypt_t  de,
SrtpAlgorithms  alId 
)
protectedinherited

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