Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Computes the MD5 of a given buffer or VirtualFile. More...
#include <MD5CheckSum.hpp>
Public Member Functions | |
MD5CheckSum () | |
const unsigned char * | md5 () const |
std::string | toStdString () const |
void | compute (void *buffer, int len) |
void | compute (VirtualFile *file) |
bool | operator== (const MD5CheckSum &other) const |
bool | operator!= (const MD5CheckSum &other) const |
bool | operator< (const MD5CheckSum &other) const |
Protected Attributes | |
unsigned char | mMD5 [16] |
Computes the MD5 of a given buffer or VirtualFile.
Definition at line 46 of file MD5CheckSum.hpp.
vl::MD5CheckSum::MD5CheckSum | ( | ) | [inline] |
Definition at line 49 of file MD5CheckSum.hpp.
const unsigned char* vl::MD5CheckSum::md5 | ( | ) | const [inline] |
Definition at line 51 of file MD5CheckSum.hpp.
std::string MD5CheckSum::toStdString | ( | ) | const |
Definition at line 41 of file MD5CheckSum.cpp.
References mMD5.
void MD5CheckSum::compute | ( | void * | buffer, |
int | len | ||
) |
Definition at line 50 of file MD5CheckSum.cpp.
References mMD5.
Referenced by vl::VirtualFile::md5().
void MD5CheckSum::compute | ( | VirtualFile * | file ) |
Definition at line 58 of file MD5CheckSum.cpp.
References mMD5, and vl::VirtualFile::read().
bool vl::MD5CheckSum::operator== | ( | const MD5CheckSum & | other ) | const [inline] |
Definition at line 59 of file MD5CheckSum.hpp.
References mMD5.
bool vl::MD5CheckSum::operator!= | ( | const MD5CheckSum & | other ) | const [inline] |
Definition at line 61 of file MD5CheckSum.hpp.
References mMD5.
bool vl::MD5CheckSum::operator< | ( | const MD5CheckSum & | other ) | const [inline] |
Definition at line 63 of file MD5CheckSum.hpp.
References mMD5.
unsigned char vl::MD5CheckSum::mMD5[16] [protected] |
Definition at line 66 of file MD5CheckSum.hpp.
Referenced by compute(), operator!=(), operator<(), operator==(), and toStdString().