#include <opennurbs_string.h>
Public Member Functions | |
bool | CheckBuffer (size_t size, const void *buffer) const |
bool | CheckFile (FILE *fp, bool bSkipTimeCheck=false) const |
bool | CheckFile (const wchar_t *filename, bool bSkipTimeCheck=false) const |
void | Dump (class ON_TextLog &) const |
bool | IsSet () const |
ON_CheckSum () | |
bool | Read (class ON_BinaryArchive &) |
bool | SetBufferCheckSum (size_t size, const void *buffer, time_t time) |
bool | SetFileCheckSum (FILE *fp) |
bool | SetFileCheckSum (const wchar_t *filename) |
bool | Write (class ON_BinaryArchive &) const |
void | Zero () |
~ON_CheckSum () | |
Public Attributes | |
ON__UINT32 | m_crc [8] |
size_t | m_size |
time_t | m_time |
Static Public Attributes | |
static const ON_CheckSum | UnsetCheckSum |
Definition at line 273 of file opennurbs_string.h.
Definition at line 1271 of file opennurbs_string.cpp.
Definition at line 1276 of file opennurbs_string.cpp.
bool ON_CheckSum::CheckBuffer | ( | size_t | size, |
const void * | buffer | ||
) | const |
Definition at line 1680 of file opennurbs_string.cpp.
bool ON_CheckSum::CheckFile | ( | FILE * | fp, |
bool | bSkipTimeCheck = false |
||
) | const |
Definition at line 1718 of file opennurbs_string.cpp.
bool ON_CheckSum::CheckFile | ( | const wchar_t * | filename, |
bool | bSkipTimeCheck = false |
||
) | const |
Definition at line 1782 of file opennurbs_string.cpp.
void ON_CheckSum::Dump | ( | class ON_TextLog & | text_log | ) | const |
Definition at line 1800 of file opennurbs_string.cpp.
bool ON_CheckSum::IsSet | ( | ) | const |
Definition at line 1291 of file opennurbs_string.cpp.
bool ON_CheckSum::Read | ( | class ON_BinaryArchive & | archive | ) |
Definition at line 1634 of file opennurbs_string.cpp.
bool ON_CheckSum::SetBufferCheckSum | ( | size_t | size, |
const void * | buffer, | ||
time_t | time | ||
) |
Definition at line 1306 of file opennurbs_string.cpp.
bool ON_CheckSum::SetFileCheckSum | ( | FILE * | fp | ) |
Definition at line 1562 of file opennurbs_string.cpp.
bool ON_CheckSum::SetFileCheckSum | ( | const wchar_t * | filename | ) |
Definition at line 1660 of file opennurbs_string.cpp.
bool ON_CheckSum::Write | ( | class ON_BinaryArchive & | archive | ) | const |
Definition at line 1612 of file opennurbs_string.cpp.
void ON_CheckSum::Zero | ( | ) |
Definition at line 1281 of file opennurbs_string.cpp.
Definition at line 387 of file opennurbs_string.h.
size_t ON_CheckSum::m_size |
Definition at line 385 of file opennurbs_string.h.
time_t ON_CheckSum::m_time |
Definition at line 386 of file opennurbs_string.h.
const ON_CheckSum ON_CheckSum::UnsetCheckSum [static] |
Definition at line 279 of file opennurbs_string.h.