Visualization Library 2.1.0

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Protected Attributes | List of all members
vl::MD5CheckSum Class Reference

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]
 

Detailed Description

Computes the MD5 of a given buffer or VirtualFile.

Definition at line 46 of file MD5CheckSum.hpp.

Constructor & Destructor Documentation

◆ MD5CheckSum()

vl::MD5CheckSum::MD5CheckSum ( )
inline

Definition at line 49 of file MD5CheckSum.hpp.

Member Function Documentation

◆ compute() [1/2]

void MD5CheckSum::compute ( void *  buffer,
int  len 
)

Definition at line 50 of file MD5CheckSum.cpp.

References mMD5.

Referenced by vl::VirtualFile::md5().

◆ compute() [2/2]

void MD5CheckSum::compute ( VirtualFile file)

Definition at line 58 of file MD5CheckSum.cpp.

References mMD5, and vl::VirtualFile::read().

◆ md5()

const unsigned char* vl::MD5CheckSum::md5 ( ) const
inline

Definition at line 51 of file MD5CheckSum.hpp.

◆ operator!=()

bool vl::MD5CheckSum::operator!= ( const MD5CheckSum other) const
inline

Definition at line 61 of file MD5CheckSum.hpp.

References mMD5.

◆ operator<()

bool vl::MD5CheckSum::operator< ( const MD5CheckSum other) const
inline

Definition at line 63 of file MD5CheckSum.hpp.

References mMD5.

◆ operator==()

bool vl::MD5CheckSum::operator== ( const MD5CheckSum other) const
inline

Definition at line 59 of file MD5CheckSum.hpp.

References mMD5.

◆ toStdString()

std::string MD5CheckSum::toStdString ( ) const

Definition at line 41 of file MD5CheckSum.cpp.

References mMD5.

Member Data Documentation

◆ mMD5

unsigned char vl::MD5CheckSum::mMD5[16]
protected

Definition at line 66 of file MD5CheckSum.hpp.

Referenced by compute(), operator!=(), operator<(), operator==(), and toStdString().


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