GDCM
2.2.6
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
Source
Common
gdcmMD5.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: GDCM (Grassroots DICOM). A DICOM library
4
5
Copyright (c) 2006-2011 Mathieu Malaterre
6
All rights reserved.
7
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8
9
This software is distributed WITHOUT ANY WARRANTY; without even
10
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11
PURPOSE. See the above copyright notice for more information.
12
13
=========================================================================*/
14
#ifndef GDCMMD5_H
15
#define GDCMMD5_H
16
17
#include "
gdcmTypes.h
"
18
19
namespace
gdcm
20
{
21
//-----------------------------------------------------------------------------
22
class
MD5Internals;
33
class
GDCM_EXPORT
MD5
34
{
35
public
:
36
MD5
();
37
~
MD5
();
38
39
static
bool
Compute(
const
char
*buffer,
unsigned
long
buf_len,
char
digest_str[33]);
40
41
static
bool
ComputeFile(
const
char
*filename,
char
digest_str[33]);
42
43
private
:
44
MD5Internals *Internals;
45
private
:
46
MD5
(
const
MD5
&);
// Not implemented.
47
void
operator=(
const
MD5
&);
// Not implemented.
48
};
49
}
// end namespace gdcm
50
//-----------------------------------------------------------------------------
51
#endif //GDCMMD5_H
gdcmTypes.h
GDCM_EXPORT
#define GDCM_EXPORT
Definition:
gdcmWin32.h:34
gdcm::MD5
Class for MD5.
Definition:
gdcmMD5.h:33
Generated on Sat Dec 21 2013 05:56:17 for GDCM by
1.8.5