#include <opennurbs_bitmap.h>
Public Member Functions | |
bool | Create (const wchar_t *filename, bool bCompress) |
bool | Create (FILE *fp, bool bCompress) |
bool | Create (const void *source_buffer, ON__UINT64 sizeof_source_buffer, bool bCompress) |
void | Destroy () |
void | DestroyBuffer () |
void | EmergencyDestroy () |
bool | Extract (const wchar_t *destination_filename) const |
bool | Extract (FILE *fp) const |
bool | Extract (void *buffer) const |
ON__UINT32 | FileCRC () const |
ON__UINT64 | FileLastModifiedTime () const |
ON__UINT64 | FileSize () const |
const wchar_t * | FullFileName () const |
ON_UUID | Id () const |
ON_BOOL32 | IsValid (ON_TextLog *text_log=NULL) const |
ON_EmbeddedFile () | |
ON_EmbeddedFile (const ON_EmbeddedFile &src) | |
ON_EmbeddedFile & | operator= (const ON_EmbeddedFile &src) |
ON_BOOL32 | Read (ON_BinaryArchive &) |
const wchar_t * | RelativeFileName () const |
void | SetFullFileName (const wchar_t *full_file_name) |
void | SetId (ON_UUID id) |
void | SetRelativeFileName (const wchar_t *relative_file_name) |
ON_BOOL32 | Write (ON_BinaryArchive &) const |
virtual | ~ON_EmbeddedFile () |
Public Attributes | |
unsigned char | m_bCompressedBuffer |
ON_Buffer | m_buffer |
ON__UINT32 | m_buffer_crc |
ON__UINT32 | m_file_crc |
ON__UINT64 | m_file_size |
ON__UINT64 | m_file_time |
ON_wString | m_full_file_name |
ON_UUID | m_id |
ON_wString | m_relative_file_name |
Private Member Functions | |
ON_OBJECT_DECLARE (ON_EmbeddedFile) | |
Private Attributes | |
void * | m_reserved |
unsigned char | m_reserved3 [7] |
Definition at line 84 of file opennurbs_bitmap.h.
Definition at line 1284 of file opennurbs_embedded_file.cpp.
ON_EmbeddedFile::ON_EmbeddedFile | ( | const ON_EmbeddedFile & | src | ) |
Definition at line 1302 of file opennurbs_embedded_file.cpp.
ON_EmbeddedFile::~ON_EmbeddedFile | ( | ) | [virtual] |
Definition at line 1347 of file opennurbs_embedded_file.cpp.
bool ON_EmbeddedFile::Create | ( | const wchar_t * | filename, |
bool | bCompress | ||
) |
Definition at line 1260 of file opennurbs_embedded_file.cpp.
bool ON_EmbeddedFile::Create | ( | FILE * | fp, |
bool | bCompress | ||
) |
Definition at line 1386 of file opennurbs_embedded_file.cpp.
bool ON_EmbeddedFile::Create | ( | const void * | source_buffer, |
ON__UINT64 | sizeof_source_buffer, | ||
bool | bCompress | ||
) |
void ON_EmbeddedFile::Destroy | ( | ) |
Definition at line 1361 of file opennurbs_embedded_file.cpp.
void ON_EmbeddedFile::DestroyBuffer | ( | ) |
Definition at line 1374 of file opennurbs_embedded_file.cpp.
void ON_EmbeddedFile::EmergencyDestroy | ( | void | ) |
Reimplemented from ON_Object.
Definition at line 1352 of file opennurbs_embedded_file.cpp.
bool ON_EmbeddedFile::Extract | ( | const wchar_t * | destination_filename | ) | const |
Definition at line 1481 of file opennurbs_embedded_file.cpp.
bool ON_EmbeddedFile::Extract | ( | FILE * | fp | ) | const |
Definition at line 1502 of file opennurbs_embedded_file.cpp.
bool ON_EmbeddedFile::Extract | ( | void * | buffer | ) | const |
Definition at line 1583 of file opennurbs_embedded_file.cpp.
ON__UINT32 ON_EmbeddedFile::FileCRC | ( | ) | const |
Definition at line 1697 of file opennurbs_embedded_file.cpp.
Definition at line 1692 of file opennurbs_embedded_file.cpp.
ON__UINT64 ON_EmbeddedFile::FileSize | ( | ) | const |
Definition at line 1687 of file opennurbs_embedded_file.cpp.
const wchar_t * ON_EmbeddedFile::FullFileName | ( | ) | const |
Definition at line 1657 of file opennurbs_embedded_file.cpp.
ON_UUID ON_EmbeddedFile::Id | ( | ) | const |
Definition at line 1667 of file opennurbs_embedded_file.cpp.
ON_BOOL32 ON_EmbeddedFile::IsValid | ( | ON_TextLog * | text_log = NULL | ) | const [virtual] |
Implements ON_Object.
Definition at line 1707 of file opennurbs_embedded_file.cpp.
ON_EmbeddedFile::ON_OBJECT_DECLARE | ( | ON_EmbeddedFile | ) | [private] |
ON_EmbeddedFile & ON_EmbeddedFile::operator= | ( | const ON_EmbeddedFile & | src | ) |
Definition at line 1324 of file opennurbs_embedded_file.cpp.
ON_BOOL32 ON_EmbeddedFile::Read | ( | ON_BinaryArchive & | archive | ) | [virtual] |
Reimplemented from ON_Object.
Definition at line 1795 of file opennurbs_embedded_file.cpp.
const wchar_t * ON_EmbeddedFile::RelativeFileName | ( | ) | const |
Definition at line 1662 of file opennurbs_embedded_file.cpp.
void ON_EmbeddedFile::SetFullFileName | ( | const wchar_t * | full_file_name | ) |
Definition at line 1672 of file opennurbs_embedded_file.cpp.
void ON_EmbeddedFile::SetId | ( | ON_UUID | id | ) |
Definition at line 1682 of file opennurbs_embedded_file.cpp.
void ON_EmbeddedFile::SetRelativeFileName | ( | const wchar_t * | relative_file_name | ) |
Definition at line 1677 of file opennurbs_embedded_file.cpp.
ON_BOOL32 ON_EmbeddedFile::Write | ( | ON_BinaryArchive & | archive | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 1742 of file opennurbs_embedded_file.cpp.
unsigned char ON_EmbeddedFile::m_bCompressedBuffer |
Definition at line 224 of file opennurbs_bitmap.h.
Definition at line 223 of file opennurbs_bitmap.h.
Definition at line 222 of file opennurbs_bitmap.h.
Definition at line 219 of file opennurbs_bitmap.h.
Definition at line 217 of file opennurbs_bitmap.h.
Definition at line 218 of file opennurbs_bitmap.h.
Definition at line 210 of file opennurbs_bitmap.h.
Definition at line 209 of file opennurbs_bitmap.h.
Definition at line 211 of file opennurbs_bitmap.h.
void* ON_EmbeddedFile::m_reserved [private] |
Definition at line 214 of file opennurbs_bitmap.h.
unsigned char ON_EmbeddedFile::m_reserved3[7] [private] |
Definition at line 227 of file opennurbs_bitmap.h.