QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON_CheckSum Class Reference

#include <opennurbs_string.h>

Public Member Functions

bool CheckBuffer (size_t size, const void *buffer) const
 
bool CheckFile (const wchar_t *filename, bool bSkipTimeCheck=false) const
 
bool CheckFile (FILE *fp, bool bSkipTimeCheck=false) const
 
bool IsSet () const
 
 ON_CheckSum ()
 
bool Read (class ON_BinaryArchive &)
 
bool SetBufferCheckSum (size_t size, const void *buffer, time_t time)
 
bool SetFileCheckSum (const wchar_t *filename)
 
bool SetFileCheckSum (FILE *fp)
 
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
 

Constructor & Destructor Documentation

◆ ON_CheckSum()

ON_CheckSum::ON_CheckSum ( )

◆ ~ON_CheckSum()

ON_CheckSum::~ON_CheckSum ( )

Member Function Documentation

◆ CheckBuffer()

bool ON_CheckSum::CheckBuffer ( size_t size,
const void * buffer ) const

◆ CheckFile() [1/2]

bool ON_CheckSum::CheckFile ( const wchar_t * filename,
bool bSkipTimeCheck = false ) const

◆ CheckFile() [2/2]

bool ON_CheckSum::CheckFile ( FILE * fp,
bool bSkipTimeCheck = false ) const

◆ IsSet()

bool ON_CheckSum::IsSet ( ) const

◆ Read()

bool ON_CheckSum::Read ( class ON_BinaryArchive & archive)

◆ SetBufferCheckSum()

bool ON_CheckSum::SetBufferCheckSum ( size_t size,
const void * buffer,
time_t time )

◆ SetFileCheckSum() [1/2]

bool ON_CheckSum::SetFileCheckSum ( const wchar_t * filename)

◆ SetFileCheckSum() [2/2]

bool ON_CheckSum::SetFileCheckSum ( FILE * fp)

◆ Write()

bool ON_CheckSum::Write ( class ON_BinaryArchive & archive) const

◆ Zero()

void ON_CheckSum::Zero ( )

Member Data Documentation

◆ m_crc

ON__UINT32 ON_CheckSum::m_crc[8]

◆ m_size

size_t ON_CheckSum::m_size

◆ m_time

time_t ON_CheckSum::m_time

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