xvr2::Text::MD5 Class Reference

#include <MD5.h>

Inheritance diagram for xvr2::Text::MD5:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 46 of file MD5.h.


Public Member Functions

 MD5 ()
 MD5 (const String &str)
MD5Hash digest ()
const MD5digest (MD5Hash &hash)
const MD5operator<< (const Buffer &b)
const MD5operator<< (const String &s)
virtual const char * getClassName ()
 Returns the name of the current class.
virtual std::string toString ()

Static Public Member Functions

static MD5Hash digest (const String &str)
static MD5Hash digest (const String &str, MD5Hash &hash)
static void debugmsg (Object *obj, const char *msg, int linenumber=__LINE__, const char *srcfile=__FILE__)
 Will print a debug message to the screen.
static void debugmsgln (Object *obj, const char *msg, int linenumber=__LINE__, const char *srcfile=__FILE__)

Protected Member Functions

void init ()
void update (unsigned char const *buf, unsigned len)
void final (UInt8 *_digest)

Protected Attributes

MD5Context ctx
std::string __cls_name

Friends

std::ostream & operator<< (std::ostream &stream, const Object &s)

Constructor & Destructor Documentation

xvr2::Text::MD5::MD5 (  ) 

xvr2::Text::MD5::MD5 ( const String str  ) 


Member Function Documentation

void xvr2::Text::MD5::init (  )  [protected]

void xvr2::Text::MD5::update ( unsigned char const *  buf,
unsigned  len 
) [protected]

void xvr2::Text::MD5::final ( UInt8 _digest  )  [protected]

MD5Hash xvr2::Text::MD5::digest (  ) 

const MD5& xvr2::Text::MD5::digest ( MD5Hash hash  ) 

const MD5& xvr2::Text::MD5::operator<< ( const Buffer b  ) 

const MD5& xvr2::Text::MD5::operator<< ( const String s  ) 

static MD5Hash xvr2::Text::MD5::digest ( const String str  )  [static]

static MD5Hash xvr2::Text::MD5::digest ( const String str,
MD5Hash hash 
) [static]

virtual const char* xvr2::Object::getClassName (  )  [virtual, inherited]

Returns the name of the current class.

static void xvr2::Object::debugmsg ( Object obj,
const char *  msg,
int  linenumber = __LINE__,
const char *  srcfile = __FILE__ 
) [static, inherited]

Will print a debug message to the screen.

static void xvr2::Object::debugmsgln ( Object obj,
const char *  msg,
int  linenumber = __LINE__,
const char *  srcfile = __FILE__ 
) [static, inherited]

virtual std::string xvr2::Object::toString (  )  [virtual, inherited]


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const Object s 
) [friend, inherited]


Member Data Documentation

Definition at line 48 of file MD5.h.

std::string xvr2::Object::__cls_name [protected, inherited]

Definition at line 30 of file Object.h.


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

Generated on Fri Jun 20 22:56:06 2008 for X-VR2 SDK by  doxygen 1.5.5