Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends
ON_BinaryArchive Class Reference

#include <opennurbs_archive.h>

Inheritance diagram for ON_BinaryArchive:
Inheritance graph
[legend]

List of all members.

Public Types

enum  table_type {
  no_active_table = 0, properties_table, settings_table, bitmap_table,
  texture_mapping_table, material_table, linetype_table, layer_table,
  light_table, object_table, group_table, font_table,
  dimstyle_table, hatchpattern_table, instance_definition_table, historyrecord_table,
  user_table
}

Public Member Functions

int Archive3dmVersion () const
int ArchiveOpenNURBSVersion () const
size_t ArchiveStartOffset () const
virtual bool AtEnd () const =0
int BadCRCCount () const
bool BeginRead3dmBigChunk (unsigned int *, ON__INT64 *)
bool BeginRead3dmBitmapTable ()
ON_DEPRECATED bool BeginRead3dmChunk (unsigned int *, int *)
bool BeginRead3dmChunk (unsigned int expected_tcode, int *major_version, int *minor_version)
bool BeginRead3dmDimStyleTable ()
bool BeginRead3dmFontTable ()
bool BeginRead3dmGroupTable ()
bool BeginRead3dmHatchPatternTable ()
bool BeginRead3dmHistoryRecordTable ()
bool BeginRead3dmInstanceDefinitionTable ()
bool BeginRead3dmLayerTable ()
bool BeginRead3dmLightTable ()
bool BeginRead3dmLinetypeTable ()
bool BeginRead3dmMaterialTable ()
bool BeginRead3dmObjectTable ()
bool BeginRead3dmTextureMappingTable ()
bool BeginRead3dmUserTable (ON_UUID &plugin_id, bool *bLastSavedAsGoo, int *archive_3dm_version, int *archive_opennurbs_version)
ON_DEPRECATED bool BeginRead3dmUserTable (ON_UUID &)
bool BeginReadDictionary (ON_UUID *dictionary_id, unsigned int *version, ON_wString &dictionary_name)
int BeginReadDictionaryEntry (int *de_type, ON_wString &entry_name)
bool BeginWrite3dmBigChunk (ON__UINT32 typecode, ON__INT64 value)
bool BeginWrite3dmBitmapTable ()
bool BeginWrite3dmChunk (unsigned int, int)
bool BeginWrite3dmChunk (unsigned int tcode, int major_version, int minor_version)
bool BeginWrite3dmDimStyleTable ()
bool BeginWrite3dmFontTable ()
bool BeginWrite3dmGroupTable ()
bool BeginWrite3dmHatchPatternTable ()
bool BeginWrite3dmHistoryRecordTable ()
bool BeginWrite3dmInstanceDefinitionTable ()
bool BeginWrite3dmLayerTable ()
bool BeginWrite3dmLightTable ()
bool BeginWrite3dmLinetypeTable ()
bool BeginWrite3dmMaterialTable ()
bool BeginWrite3dmObjectTable ()
bool BeginWrite3dmTextureMappingTable ()
bool BeginWrite3dmUserTable (const ON_UUID &plugin_id, bool bSavingGoo, int goo_3dm_version, int goo_opennurbs_version)
ON_DEPRECATED bool BeginWrite3dmUserTable (const ON_UUID &)
bool BeginWriteDictionary (ON_UUID dictionary_id, unsigned int version, const wchar_t *dictionary_name)
bool BeginWriteDictionaryEntry (int de_type, const wchar_t *entry_name)
bool BigSeekBackward (ON__UINT64 offset)
bool BigSeekForward (ON__UINT64 offset)
bool BigSeekFromCurrentPosition (ON__INT64 offset)
bool BigSeekFromStart (ON__UINT64 offset)
virtual size_t CurrentPosition () const =0
unsigned int Dump3dmChunk (ON_TextLog &text_log, int recursion_depth=0)
bool EnableCRCCalculation (bool bEnable)
bool EnableSave3dmAnalysisMeshes (ON_BOOL32=true)
bool EnableSave3dmRenderMeshes (ON_BOOL32=true)
bool EnableSaveUserData (ON_BOOL32=true)
ON::endian Endian () const
bool EndRead3dmBitmapTable ()
bool EndRead3dmChunk ()
bool EndRead3dmChunk (bool bSupressPartiallyReadChunkWarning)
bool EndRead3dmDimStyleTable ()
bool EndRead3dmFontTable ()
bool EndRead3dmGroupTable ()
bool EndRead3dmHatchPatternTable ()
bool EndRead3dmHistoryRecordTable ()
bool EndRead3dmInstanceDefinitionTable ()
bool EndRead3dmLayerTable ()
bool EndRead3dmLightTable ()
bool EndRead3dmLinetypeTable ()
bool EndRead3dmMaterialTable ()
bool EndRead3dmObjectTable ()
bool EndRead3dmTextureMappingTable ()
bool EndRead3dmUserTable ()
bool EndReadDictionary ()
bool EndReadDictionaryEntry ()
bool EndWrite3dmBitmapTable ()
bool EndWrite3dmChunk ()
bool EndWrite3dmDimStyleTable ()
bool EndWrite3dmFontTable ()
bool EndWrite3dmGroupTable ()
bool EndWrite3dmHatchPatternTable ()
bool EndWrite3dmHistoryRecordTable ()
bool EndWrite3dmInstanceDefinitionTable ()
bool EndWrite3dmLayerTable ()
bool EndWrite3dmLightTable ()
bool EndWrite3dmLinetypeTable ()
bool EndWrite3dmMaterialTable ()
bool EndWrite3dmObjectTable ()
bool EndWrite3dmTextureMappingTable ()
bool EndWrite3dmUserTable ()
bool EndWriteDictionary ()
bool EndWriteDictionaryEntry ()
bool FindTableInDamagedArchive (unsigned int tcode_table, unsigned int tcode_record, ON_UUID class_uuid, int min_length_data)
int GetCurrentChunk (ON_3DM_CHUNK &chunk) const
int GetCurrentChunk (ON_3DM_BIG_CHUNK &big_chunk) const
 ON_BinaryArchive (ON::archive_mode)
bool PeekAt3dmBigChunkType (ON__UINT32 *typecode, ON__INT64 *big_value)
ON_DEPRECATED bool PeekAt3dmChunkType (unsigned int *, int *)
bool Read3dmAnonymousUserTable (int archive_3dm_version, int archive_opennurbs_version, ON_3dmGoo &goo)
ON_DEPRECATED bool Read3dmAnonymousUserTable (ON_3dmGoo &)
int Read3dmBitmap (ON_Bitmap **)
bool Read3dmChunkVersion (int *, int *)
int Read3dmDimStyle (ON_DimStyle **)
bool Read3dmEndMark (size_t *)
int Read3dmFont (ON_Font **)
bool Read3dmGoo (ON_3dmGoo &)
int Read3dmGroup (ON_Group **)
int Read3dmHatchPattern (ON_HatchPattern **)
int Read3dmHistoryRecord (class ON_HistoryRecord *&)
int Read3dmInstanceDefinition (ON_InstanceDefinition **)
int Read3dmLayer (ON_Layer **)
int Read3dmLight (ON_Light **, ON_3dmObjectAttributes *)
int Read3dmLinetype (ON_Linetype **)
int Read3dmMaterial (ON_Material **)
int Read3dmObject (ON_Object **, ON_3dmObjectAttributes *, unsigned int=0)
bool Read3dmProperties (ON_3dmProperties &)
bool Read3dmSettings (ON_3dmSettings &)
bool Read3dmStartSection (int *version, ON_String &sStartSectionComment)
int Read3dmTextureMapping (ON_TextureMapping **)
bool ReadArc (ON_Arc &)
bool ReadArray (ON_SimpleArray< bool > &)
bool ReadArray (ON_SimpleArray< char > &)
bool ReadArray (ON_SimpleArray< short > &)
bool ReadArray (ON_SimpleArray< int > &)
bool ReadArray (ON_SimpleArray< float > &)
bool ReadArray (ON_SimpleArray< double > &)
bool ReadArray (ON_SimpleArray< ON_Color > &)
bool ReadArray (ON_SimpleArray< ON_2dPoint > &)
bool ReadArray (ON_SimpleArray< ON_3dPoint > &)
bool ReadArray (ON_SimpleArray< ON_4dPoint > &)
bool ReadArray (ON_SimpleArray< ON_2dVector > &)
bool ReadArray (ON_SimpleArray< ON_3dVector > &)
bool ReadArray (ON_SimpleArray< ON_Xform > &)
bool ReadArray (ON_SimpleArray< ON_2fPoint > &)
bool ReadArray (ON_SimpleArray< ON_3fPoint > &)
bool ReadArray (ON_SimpleArray< ON_4fPoint > &)
bool ReadArray (ON_SimpleArray< ON_2fVector > &)
bool ReadArray (ON_SimpleArray< ON_3fVector > &)
bool ReadArray (ON_SimpleArray< ON_UUID > &)
bool ReadArray (ON_SimpleArray< ON_UuidIndex > &)
bool ReadArray (ON_SimpleArray< ON_SurfaceCurvature > &)
bool ReadArray (ON_ClassArray< ON_String > &)
bool ReadArray (ON_ClassArray< ON_wString > &)
bool ReadArray (ON_SimpleArray< ON_DisplayMaterialRef > &)
bool ReadArray (ON_SimpleArray< ON_LinetypeSegment > &)
bool ReadArray (ON_SimpleArray< ON_MappingChannel > &)
bool ReadArray (ON_ClassArray< ON_MaterialRef > &)
bool ReadArray (ON_ClassArray< ON_MappingRef > &)
bool ReadArray (ON_ClassArray< class ON_ObjRef > &)
bool ReadArray (ON_SimpleArray< class ON_ObjRef_IRefID > &)
bool ReadArray (ON_SimpleArray< class ON_ClippingPlaneInfo > &)
bool ReadArray (ON_ObjectArray< class ON_Layer > &)
bool ReadArray (ON_SimpleArray< class ON_Layer * > &)
bool ReadBigInt (size_t, ON__INT64 *)
bool ReadBigInt (size_t, ON__UINT64 *)
bool ReadBigInt (ON__INT64 *)
bool ReadBigInt (ON__UINT64 *)
bool ReadBigSize (size_t *)
bool ReadBigTime (time_t *)
bool ReadBool (bool *)
bool ReadBoundingBox (ON_BoundingBox &)
ON__UINT64 ReadBuffer (ON__UINT64 sizeof_buffer, void *buffer)
bool ReadByte (size_t, void *)
bool ReadChar (size_t, char *)
bool ReadChar (size_t, unsigned char *)
bool ReadChar (char *)
bool ReadChar (unsigned char *)
bool ReadCircle (ON_Circle &)
bool ReadColor (ON_Color &)
bool ReadComponentIndex (ON_COMPONENT_INDEX &)
bool ReadCompressedBuffer (size_t sizeof__outbuffer, void *outbuffer, int *bFailedCRC)
bool ReadCompressedBufferSize (size_t *sizeof__outbuffer)
bool ReadDisplayMaterialRef (ON_DisplayMaterialRef &)
bool ReadDouble (size_t, double *)
bool ReadDouble (double *)
bool ReadFloat (size_t, float *)
bool ReadFloat (float *)
bool ReadInt (size_t, int *)
bool ReadInt (size_t, unsigned int *)
bool ReadInt (int *)
bool ReadInt (unsigned int *)
bool ReadInterval (ON_Interval &)
bool ReadLine (ON_Line &)
bool ReadLinetypeSegment (ON_LinetypeSegment &)
bool ReadLong (size_t, long *)
bool ReadLong (size_t, unsigned long *)
bool ReadLong (long *)
bool ReadLong (unsigned long *)
bool ReadMode () const
int ReadObject (ON_Object **ppObject)
int ReadObject (ON_Object &object)
bool ReadObjectUserData (ON_Object &object)
bool ReadPlane (ON_Plane &)
bool ReadPlaneEquation (ON_PlaneEquation &)
bool ReadPoint (ON_2dPoint &)
bool ReadPoint (ON_3dPoint &)
bool ReadPoint (ON_4dPoint &)
bool ReadShort (size_t, short *)
bool ReadShort (size_t, unsigned short *)
bool ReadShort (short *)
bool ReadShort (unsigned short *)
bool ReadSize (size_t *)
bool ReadString (size_t str_array_count, char *str_array)
bool ReadString (size_t str_array_count, unsigned char *str_array)
bool ReadString (size_t str_array_count, unsigned short *str_array)
bool ReadString (ON_String &sUTF8)
bool ReadString (ON_wString &s)
ON_DEPRECATED bool ReadStringSize (size_t *str_array_count)
bool ReadStringUTF16ElementCount (size_t *string_utf16_element_count)
bool ReadStringUTF8ElementCount (size_t *string_utf8_element_count)
bool ReadTime (struct tm &)
bool ReadUuid (ON_UUID &)
bool ReadV1_TCODE_ANNOTATION (unsigned int, ON_Object **, ON_3dmObjectAttributes *)
bool ReadV1_TCODE_LEGACY_CRV (ON_Object **, ON_3dmObjectAttributes *)
bool ReadV1_TCODE_LEGACY_FAC (ON_Object **, ON_3dmObjectAttributes *)
bool ReadV1_TCODE_LEGACY_SHL (ON_Object **, ON_3dmObjectAttributes *)
bool ReadV1_TCODE_MESH_OBJECT (ON_Object **, ON_3dmObjectAttributes *)
bool ReadV1_TCODE_RH_POINT (ON_Object **, ON_3dmObjectAttributes *)
bool ReadV1_TCODE_RHINOIO_OBJECT_BREP (ON_Object **, ON_3dmObjectAttributes *)
bool ReadV1_TCODE_RHINOIO_OBJECT_NURBS_CURVE (ON_Object **, ON_3dmObjectAttributes *)
bool ReadV1_TCODE_RHINOIO_OBJECT_NURBS_SURFACE (ON_Object **, ON_3dmObjectAttributes *)
bool ReadVector (ON_2dVector &)
bool ReadVector (ON_3dVector &)
bool ReadXform (ON_Xform &)
bool Save3dmAnalysisMeshes () const
bool Save3dmRenderMeshes () const
bool SaveUserData () const
bool Seek3dmChunkFromCurrentPosition (unsigned int)
bool Seek3dmChunkFromStart (unsigned int)
virtual bool SeekFromCurrentPosition (int)=0
virtual bool SeekFromStart (size_t)=0
size_t SizeofChunkLength () const
ON_DEPRECATED bool Write3dmAnonymousUserTable (const ON_3dmGoo &)
bool Write3dmAnonymousUserTableRecord (const ON_UUID &plugin_id, int goo_3dm_version, int goo_opennurbs_version, const ON_3dmGoo &goo)
bool Write3dmBitmap (const ON_Bitmap &)
bool Write3dmChunkVersion (int, int)
bool Write3dmDimStyle (const ON_DimStyle &)
bool Write3dmEndMark ()
bool Write3dmFont (const ON_Font &)
bool Write3dmGoo (const ON_3dmGoo &)
bool Write3dmGroup (const ON_Group &)
bool Write3dmHatchPattern (const ON_HatchPattern &)
bool Write3dmHistoryRecord (const class ON_HistoryRecord &)
bool Write3dmInstanceDefinition (const ON_InstanceDefinition &)
bool Write3dmLayer (const ON_Layer &)
bool Write3dmLight (const ON_Light &, const ON_3dmObjectAttributes *)
bool Write3dmLinetype (const ON_Linetype &)
bool Write3dmMaterial (const ON_Material &)
bool Write3dmObject (const ON_Object &, const ON_3dmObjectAttributes *)
bool Write3dmProperties (const ON_3dmProperties &)
bool Write3dmSettings (const ON_3dmSettings &)
bool Write3dmStartSection (int version, const char *sStartSectionComment)
bool Write3dmTextureMapping (const ON_TextureMapping &)
bool WriteArc (const ON_Arc &)
bool WriteArray (const ON_SimpleArray< bool > &)
bool WriteArray (const ON_SimpleArray< char > &)
bool WriteArray (const ON_SimpleArray< short > &)
bool WriteArray (const ON_SimpleArray< int > &)
bool WriteArray (const ON_SimpleArray< float > &)
bool WriteArray (const ON_SimpleArray< double > &)
bool WriteArray (const ON_SimpleArray< ON_Color > &)
bool WriteArray (const ON_SimpleArray< ON_2dPoint > &)
bool WriteArray (const ON_SimpleArray< ON_3dPoint > &)
bool WriteArray (const ON_SimpleArray< ON_4dPoint > &)
bool WriteArray (const ON_SimpleArray< ON_2dVector > &)
bool WriteArray (const ON_SimpleArray< ON_3dVector > &)
bool WriteArray (const ON_SimpleArray< ON_2fPoint > &)
bool WriteArray (const ON_SimpleArray< ON_3fPoint > &)
bool WriteArray (const ON_SimpleArray< ON_4fPoint > &)
bool WriteArray (const ON_SimpleArray< ON_2fVector > &)
bool WriteArray (const ON_SimpleArray< ON_3fVector > &)
bool WriteArray (const ON_SimpleArray< ON_Xform > &)
bool WriteArray (const ON_SimpleArray< ON_UUID > &)
bool WriteArray (const ON_SimpleArray< ON_UuidIndex > &)
bool WriteArray (const ON_SimpleArray< ON_SurfaceCurvature > &)
bool WriteArray (const ON_ClassArray< ON_String > &)
bool WriteArray (const ON_ClassArray< ON_wString > &)
bool WriteArray (const ON_SimpleArray< ON_DisplayMaterialRef > &)
bool WriteArray (const ON_SimpleArray< ON_LinetypeSegment > &)
bool WriteArray (const ON_SimpleArray< ON_MappingChannel > &)
bool WriteArray (const ON_ClassArray< ON_MaterialRef > &)
bool WriteArray (const ON_ClassArray< ON_MappingRef > &)
bool WriteArray (const ON_ClassArray< class ON_ObjRef > &)
bool WriteArray (const ON_SimpleArray< class ON_ObjRef_IRefID > &)
bool WriteArray (const ON_SimpleArray< class ON_ClippingPlaneInfo > &)
bool WriteArray (int count, const class ON_Layer *)
bool WriteArray (int count, const class ON_Layer *const *)
bool WriteBigInt (size_t, const ON__INT64 *)
bool WriteBigInt (size_t, const ON__UINT64 *)
bool WriteBigInt (ON__INT64)
bool WriteBigInt (ON__UINT64)
bool WriteBigSize (size_t)
bool WriteBigTime (time_t)
bool WriteBool (bool)
bool WriteBoundingBox (const ON_BoundingBox &)
bool WriteByte (size_t, const void *)
bool WriteChar (size_t, const char *)
bool WriteChar (size_t, const unsigned char *)
bool WriteChar (char)
bool WriteChar (unsigned char)
bool WriteCircle (const ON_Circle &)
bool WriteColor (const ON_Color &)
bool WriteComponentIndex (const ON_COMPONENT_INDEX &)
bool WriteCompressedBuffer (size_t sizeof__inbuffer, const void *inbuffer)
bool WriteDisplayMaterialRef (const ON_DisplayMaterialRef &)
bool WriteDouble (size_t, const double *)
bool WriteDouble (double)
bool WriteFloat (size_t, const float *)
bool WriteFloat (float)
bool WriteInt (size_t, const int *)
bool WriteInt (size_t, const unsigned int *)
bool WriteInt (int)
bool WriteInt (unsigned int)
bool WriteInterval (const ON_Interval &)
bool WriteLine (const ON_Line &)
bool WriteLinetypeSegment (const ON_LinetypeSegment &)
bool WriteLong (size_t, const long *)
bool WriteLong (size_t, const unsigned long *)
bool WriteLong (long)
bool WriteLong (unsigned long)
bool WriteMode () const
bool WriteObject (const ON_Object *)
bool WriteObject (const ON_Object &)
bool WriteObjectUserData (const ON_Object &object)
bool WritePlane (const ON_Plane &)
bool WritePlaneEquation (const ON_PlaneEquation &)
bool WritePoint (const ON_2dPoint &)
bool WritePoint (const ON_3dPoint &)
bool WritePoint (const ON_4dPoint &)
bool WriteShort (size_t, const short *)
bool WriteShort (size_t, const unsigned short *)
bool WriteShort (short)
bool WriteShort (unsigned short)
bool WriteSize (size_t)
bool WriteString (const char *sUTF8)
bool WriteString (const unsigned char *sUTF8)
bool WriteString (const unsigned short *sUTF16)
bool WriteString (const ON_String &sUTF8)
bool WriteString (const ON_wString &s)
bool WriteTime (const struct tm &)
bool WriteUuid (const ON_UUID &)
bool WriteVector (const ON_2dVector &)
bool WriteVector (const ON_3dVector &)
bool WriteXform (const ON_Xform &)
virtual ~ON_BinaryArchive ()

Static Public Member Functions

static int CurrentArchiveVersion ()
static char * ON_TypecodeParse (unsigned int tcode, char *typecode_name, size_t max_length)
static bool ToggleByteOrder (int, int, const void *, void *)
static const char * TypecodeName (unsigned int tcode)

Protected Member Functions

unsigned int ErrorMessageMask () const
virtual bool Flush ()=0
virtual int LoadUserDataApplication (ON_UUID application_id)
bool MaskReadError (ON__UINT64 sizeof_request, ON__UINT64 sizeof_read) const
virtual size_t Read (size_t, void *)=0
bool SetArchive3dmVersion (int)
virtual size_t Write (size_t, const void *)=0

Private Member Functions

bool BeginRead3dmTable (unsigned int)
bool BeginWrite3dmTable (unsigned int)
void CompressionEnd ()
bool CompressionInit ()
bool EndRead3dmTable (unsigned int)
bool EndWrite3dmTable (unsigned int)
bool FindMisplacedTable (ON__UINT64 filelength, const ON__UINT32 table_tocde, const ON__UINT32 table_record_record, const ON_UUID class_uuid, const ON__UINT64 min_length_data)
ON::archive_mode Mode () const
 ON_BinaryArchive ()
 ON_BinaryArchive (const ON_BinaryArchive &)
ON_BinaryArchiveoperator= (const ON_BinaryArchive &)
bool PushBigChunk (ON__UINT32 typecode, ON__INT64 value)
bool Read3dmV1AttributesOrMaterial (ON_3dmObjectAttributes *, ON_Material *, ON_BOOL32 &, unsigned int, class ON__3dmV1_XDATA *=0)
bool Read3dmV1Layer (ON_Layer *&)
int Read3dmV1LayerIndex (const char *) const
int Read3dmV1Light (ON_Light **, ON_3dmObjectAttributes *)
int Read3dmV1Material (ON_Material **)
int Read3dmV1Object (ON_Object **, ON_3dmObjectAttributes *, unsigned int=0)
bool Read3dmV1String (ON_String &)
bool ReadChunkTypecode (ON__UINT32 *)
bool ReadChunkValue (ON__UINT32 typecode, ON__INT64 *value64)
bool ReadEOFSizeOfFile (ON__UINT64 *)
bool ReadInflate (size_t, void *)
bool ReadInt16 (size_t, ON__INT16 *)
bool ReadInt32 (size_t, ON__INT32 *)
bool ReadInt64 (size_t, ON__INT64 *)
bool ReadInt8 (size_t, ON__INT8 *)
int ReadObjectHelper (ON_Object **)
bool ReadObjectUserDataAnonymousChunk (const ON__UINT64 length_TCODE_ANONYMOUS_CHUNK, const int archive_3dm_version, const int archive_opennurbs_version, class ON_UserData *ud)
table_type TableTypeFromTypecode (unsigned int)
void UpdateCRC (size_t, const void *)
bool WriteChunkLength (ON__UINT64)
bool WriteChunkTypecode (ON__UINT32)
bool WriteChunkValue (ON__UINT32 typecode, ON__INT64)
size_t WriteDeflate (size_t, const void *)
bool WriteEOFSizeOfFile (ON__UINT64)
bool WriteInt16 (size_t, const ON__INT16 *)
bool WriteInt32 (size_t, const ON__INT32 *)
bool WriteInt64 (size_t, const ON__INT64 *)
bool WriteInt8 (size_t, const ON__INT8 *)

Private Attributes

int m_3dm_opennurbs_version
size_t m_3dm_start_section_offset
int m_3dm_v1_layer_index
int m_3dm_v1_material_index
int m_3dm_version
table_type m_active_table
int m_bad_CRC_count
bool m_bDoChunkCRC
bool m_bEmbedTextureBitmaps
bool m_bSaveAnalysisMeshes
bool m_bSavePreviewImage
bool m_bSaveRenderMeshes
bool m_bSaveUserData
ON_SimpleArray< ON_3DM_BIG_CHUNKm_chunk
ON::endian m_endian
unsigned int m_error_message_mask
ON::archive_mode m_mode
struct ON__3dmV1LayerIndexm_V1_layer_list
ON_SimpleArray< ON_UUIDm_V3_plugin_id_list
struct {
enum  { sizeof_x_buffer = 16384 }
enum ON_BinaryArchive:: { ... }  
   unsigned char   buffer [sizeof_x_buffer]
   ON::archive_mode   mode
   z_stream   strm
m_zlib

Friends

void ON_SetBinaryArchiveOpenNURBSVersion (ON_BinaryArchive &, int)

Detailed Description

Definition at line 731 of file opennurbs_archive.h.


Member Enumeration Documentation

Enumerator:
no_active_table 
properties_table 
settings_table 
bitmap_table 
texture_mapping_table 
material_table 
linetype_table 
layer_table 
light_table 
object_table 
group_table 
font_table 
dimstyle_table 
hatchpattern_table 
instance_definition_table 
historyrecord_table 
user_table 

Definition at line 2381 of file opennurbs_archive.h.


Constructor & Destructor Documentation

ON_BinaryArchive::ON_BinaryArchive ( ON::archive_mode  mode)

Definition at line 372 of file opennurbs_archive.cpp.

Definition at line 398 of file opennurbs_archive.cpp.


Member Function Documentation

Definition at line 4521 of file opennurbs_archive.cpp.

Definition at line 4526 of file opennurbs_archive.cpp.

Definition at line 4531 of file opennurbs_archive.cpp.

virtual bool ON_BinaryArchive::AtEnd ( ) const [pure virtual]

Definition at line 13014 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::BeginRead3dmBigChunk ( unsigned int *  typecode,
ON__INT64 value 
)

Definition at line 4949 of file opennurbs_archive.cpp.

Definition at line 7441 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::BeginRead3dmChunk ( unsigned int *  typecode,
int *  value 
)

Definition at line 4935 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::BeginRead3dmChunk ( unsigned int  expected_tcode,
int *  major_version,
int *  minor_version 
)

Definition at line 5030 of file opennurbs_archive.cpp.

Definition at line 8181 of file opennurbs_archive.cpp.

Definition at line 8055 of file opennurbs_archive.cpp.

Definition at line 7929 of file opennurbs_archive.cpp.

Definition at line 8328 of file opennurbs_archive.cpp.

Definition at line 8909 of file opennurbs_archive.cpp.

Definition at line 8635 of file opennurbs_archive.cpp.

Definition at line 7629 of file opennurbs_archive.cpp.

Definition at line 9731 of file opennurbs_archive.cpp.

Definition at line 8485 of file opennurbs_archive.cpp.

Definition at line 9052 of file opennurbs_archive.cpp.

Definition at line 10054 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::BeginRead3dmTable ( unsigned int  typecode) [private]

Definition at line 6568 of file opennurbs_archive.cpp.

Definition at line 8763 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::BeginRead3dmUserTable ( ON_UUID plugin_id,
bool *  bLastSavedAsGoo,
int *  archive_3dm_version,
int *  archive_opennurbs_version 
)

Definition at line 12721 of file opennurbs_archive.cpp.

Definition at line 12711 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::BeginReadDictionary ( ON_UUID dictionary_id,
unsigned int *  version,
ON_wString dictionary_name 
)

Definition at line 5392 of file opennurbs_archive.cpp.

int ON_BinaryArchive::BeginReadDictionaryEntry ( int *  de_type,
ON_wString entry_name 
)

Definition at line 5446 of file opennurbs_archive.cpp.

Definition at line 4563 of file opennurbs_archive.cpp.

Definition at line 7406 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::BeginWrite3dmChunk ( unsigned int  typecode,
int  value 
)

Definition at line 4541 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::BeginWrite3dmChunk ( unsigned int  tcode,
int  major_version,
int  minor_version 
)

Definition at line 4575 of file opennurbs_archive.cpp.

Definition at line 8143 of file opennurbs_archive.cpp.

Definition at line 8017 of file opennurbs_archive.cpp.

Definition at line 7891 of file opennurbs_archive.cpp.

Definition at line 8270 of file opennurbs_archive.cpp.

Definition at line 8872 of file opennurbs_archive.cpp.

Definition at line 8597 of file opennurbs_archive.cpp.

Definition at line 7516 of file opennurbs_archive.cpp.

Definition at line 9643 of file opennurbs_archive.cpp.

Definition at line 8444 of file opennurbs_archive.cpp.

Definition at line 9015 of file opennurbs_archive.cpp.

Definition at line 9930 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::BeginWrite3dmTable ( unsigned int  typecode) [private]

Definition at line 6515 of file opennurbs_archive.cpp.

Definition at line 8726 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::BeginWrite3dmUserTable ( const ON_UUID plugin_id,
bool  bSavingGoo,
int  goo_3dm_version,
int  goo_opennurbs_version 
)

Definition at line 12578 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::BeginWrite3dmUserTable ( const ON_UUID usertable_uuid)

Definition at line 12573 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::BeginWriteDictionary ( ON_UUID  dictionary_id,
unsigned int  version,
const wchar_t *  dictionary_name 
)

Definition at line 5270 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::BeginWriteDictionaryEntry ( int  de_type,
const wchar_t *  entry_name 
)

Definition at line 5340 of file opennurbs_archive.cpp.

Definition at line 547 of file opennurbs_archive.cpp.

Definition at line 525 of file opennurbs_archive.cpp.

Definition at line 569 of file opennurbs_archive.cpp.

Definition at line 511 of file opennurbs_archive.cpp.

Definition at line 615 of file opennurbs_zlib.cpp.

Definition at line 579 of file opennurbs_zlib.cpp.

Definition at line 5800 of file opennurbs_archive.cpp.

virtual size_t ON_BinaryArchive::CurrentPosition ( ) const [pure virtual]
unsigned int ON_BinaryArchive::Dump3dmChunk ( ON_TextLog text_log,
int  recursion_depth = 0 
)

Definition at line 14258 of file opennurbs_archive.cpp.

Definition at line 13191 of file opennurbs_archive.cpp.

Definition at line 5776 of file opennurbs_archive.cpp.

Definition at line 5764 of file opennurbs_archive.cpp.

Definition at line 5788 of file opennurbs_archive.cpp.

ON::endian ON_BinaryArchive::Endian ( ) const

Definition at line 12990 of file opennurbs_archive.cpp.

Definition at line 7465 of file opennurbs_archive.cpp.

Definition at line 5112 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::EndRead3dmChunk ( bool  bSupressPartiallyReadChunkWarning)

Definition at line 5117 of file opennurbs_archive.cpp.

Definition at line 8253 of file opennurbs_archive.cpp.

Definition at line 8126 of file opennurbs_archive.cpp.

Definition at line 8000 of file opennurbs_archive.cpp.

Definition at line 8423 of file opennurbs_archive.cpp.

Definition at line 8995 of file opennurbs_archive.cpp.

Definition at line 8708 of file opennurbs_archive.cpp.

Definition at line 7861 of file opennurbs_archive.cpp.

Definition at line 9925 of file opennurbs_archive.cpp.

Definition at line 8576 of file opennurbs_archive.cpp.

Definition at line 9637 of file opennurbs_archive.cpp.

Definition at line 12554 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::EndRead3dmTable ( unsigned int  typecode) [private]

Definition at line 7326 of file opennurbs_archive.cpp.

Definition at line 8852 of file opennurbs_archive.cpp.

Definition at line 12892 of file opennurbs_archive.cpp.

Definition at line 5437 of file opennurbs_archive.cpp.

Definition at line 5493 of file opennurbs_archive.cpp.

Definition at line 7411 of file opennurbs_archive.cpp.

Definition at line 4614 of file opennurbs_archive.cpp.

Definition at line 8174 of file opennurbs_archive.cpp.

Definition at line 8048 of file opennurbs_archive.cpp.

Definition at line 7922 of file opennurbs_archive.cpp.

Definition at line 8321 of file opennurbs_archive.cpp.

Definition at line 8904 of file opennurbs_archive.cpp.

Definition at line 8628 of file opennurbs_archive.cpp.

Definition at line 7613 of file opennurbs_archive.cpp.

Definition at line 9726 of file opennurbs_archive.cpp.

Definition at line 8479 of file opennurbs_archive.cpp.

Definition at line 9047 of file opennurbs_archive.cpp.

Definition at line 10049 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::EndWrite3dmTable ( unsigned int  typecode) [private]

Definition at line 6536 of file opennurbs_archive.cpp.

Definition at line 8758 of file opennurbs_archive.cpp.

Definition at line 12695 of file opennurbs_archive.cpp.

Definition at line 5324 of file opennurbs_archive.cpp.

Definition at line 5383 of file opennurbs_archive.cpp.

unsigned int ON_BinaryArchive::ErrorMessageMask ( ) const [protected]

Definition at line 13019 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::FindMisplacedTable ( ON__UINT64  filelength,
const ON__UINT32  table_tocde,
const ON__UINT32  table_record_record,
const ON_UUID  class_uuid,
const ON__UINT64  min_length_data 
) [private]

Definition at line 7028 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::FindTableInDamagedArchive ( unsigned int  tcode_table,
unsigned int  tcode_record,
ON_UUID  class_uuid,
int  min_length_data 
)

Definition at line 7295 of file opennurbs_archive.cpp.

virtual bool ON_BinaryArchive::Flush ( ) [protected, pure virtual]

Definition at line 6742 of file opennurbs_archive.cpp.

Definition at line 6770 of file opennurbs_archive.cpp.

int ON_BinaryArchive::LoadUserDataApplication ( ON_UUID  application_id) [protected, virtual]

Definition at line 3869 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::MaskReadError ( ON__UINT64  sizeof_request,
ON__UINT64  sizeof_read 
) const [protected]

Definition at line 13024 of file opennurbs_archive.cpp.

ON::archive_mode ON_BinaryArchive::Mode ( ) const [private]

Definition at line 12996 of file opennurbs_archive.cpp.

char * ON_BinaryArchive::ON_TypecodeParse ( unsigned int  tcode,
char *  typecode_name,
size_t  max_length 
) [static]

Definition at line 13956 of file opennurbs_archive.cpp.

ON_BinaryArchive& ON_BinaryArchive::operator= ( const ON_BinaryArchive ) [private]
bool ON_BinaryArchive::PeekAt3dmBigChunkType ( ON__UINT32 typecode,
ON__INT64 big_value 
)

Definition at line 4746 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::PeekAt3dmChunkType ( unsigned int *  typecode,
int *  value 
)

Definition at line 4722 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::PushBigChunk ( ON__UINT32  typecode,
ON__INT64  value 
) [private]

Definition at line 5694 of file opennurbs_archive.cpp.

virtual size_t ON_BinaryArchive::Read ( size_t  ,
void *   
) [protected, pure virtual]
bool ON_BinaryArchive::Read3dmAnonymousUserTable ( int  archive_3dm_version,
int  archive_opennurbs_version,
ON_3dmGoo goo 
)

Definition at line 12864 of file opennurbs_archive.cpp.

Definition at line 12859 of file opennurbs_archive.cpp.

Definition at line 7470 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::Read3dmChunkVersion ( int *  major_version,
int *  minor_version 
)

Definition at line 4505 of file opennurbs_archive.cpp.

Definition at line 8211 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::Read3dmEndMark ( size_t *  file_length)

Definition at line 12954 of file opennurbs_archive.cpp.

Definition at line 8085 of file opennurbs_archive.cpp.

Definition at line 5504 of file opennurbs_archive.cpp.

Definition at line 7959 of file opennurbs_archive.cpp.

Definition at line 8359 of file opennurbs_archive.cpp.

int ON_BinaryArchive::Read3dmHistoryRecord ( class ON_HistoryRecord *&  history_record)

Definition at line 8944 of file opennurbs_archive.cpp.

Definition at line 8665 of file opennurbs_archive.cpp.

Definition at line 7818 of file opennurbs_archive.cpp.

int ON_BinaryArchive::Read3dmLight ( ON_Light **  ppLight,
ON_3dmObjectAttributes attributes 
)

Definition at line 9845 of file opennurbs_archive.cpp.

Definition at line 8519 of file opennurbs_archive.cpp.

Definition at line 9582 of file opennurbs_archive.cpp.

int ON_BinaryArchive::Read3dmObject ( ON_Object **  ppObject,
ON_3dmObjectAttributes pAttributes,
unsigned int  object_filter = 0 
)

Definition at line 12429 of file opennurbs_archive.cpp.

Definition at line 6145 of file opennurbs_archive.cpp.

Definition at line 6455 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::Read3dmStartSection ( int *  version,
ON_String sStartSectionComment 
)

Definition at line 5872 of file opennurbs_archive.cpp.

Definition at line 8798 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::Read3dmV1AttributesOrMaterial ( ON_3dmObjectAttributes attributes,
ON_Material material,
ON_BOOL32 bHaveMat,
unsigned int  end_mark_tcode,
class ON__3dmV1_XDATA xdata = 0 
) [private]

Definition at line 9115 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::Read3dmV1Layer ( ON_Layer *&  layer) [private]

Definition at line 7698 of file opennurbs_archive.cpp.

int ON_BinaryArchive::Read3dmV1LayerIndex ( const char *  sV1LayerName) const [private]

Definition at line 7658 of file opennurbs_archive.cpp.

int ON_BinaryArchive::Read3dmV1Light ( ON_Light **  ppLight,
ON_3dmObjectAttributes pAttributes 
) [private]

Definition at line 9757 of file opennurbs_archive.cpp.

int ON_BinaryArchive::Read3dmV1Material ( ON_Material **  ppMaterial) [private]

Definition at line 9426 of file opennurbs_archive.cpp.

int ON_BinaryArchive::Read3dmV1Object ( ON_Object **  ppObject,
ON_3dmObjectAttributes pAttributes,
unsigned int  object_filter = 0 
) [private]

Definition at line 12225 of file opennurbs_archive.cpp.

Definition at line 9083 of file opennurbs_archive.cpp.

Definition at line 1071 of file opennurbs_archive.cpp.

Definition at line 1825 of file opennurbs_archive.cpp.

Definition at line 1880 of file opennurbs_archive.cpp.

Definition at line 1895 of file opennurbs_archive.cpp.

Definition at line 1910 of file opennurbs_archive.cpp.

Definition at line 1925 of file opennurbs_archive.cpp.

Definition at line 1940 of file opennurbs_archive.cpp.

Definition at line 1955 of file opennurbs_archive.cpp.

Definition at line 1971 of file opennurbs_archive.cpp.

Definition at line 1986 of file opennurbs_archive.cpp.

Definition at line 2001 of file opennurbs_archive.cpp.

Definition at line 2016 of file opennurbs_archive.cpp.

Definition at line 2031 of file opennurbs_archive.cpp.

Definition at line 2046 of file opennurbs_archive.cpp.

Definition at line 2064 of file opennurbs_archive.cpp.

Definition at line 2079 of file opennurbs_archive.cpp.

Definition at line 2094 of file opennurbs_archive.cpp.

Definition at line 2109 of file opennurbs_archive.cpp.

Definition at line 2124 of file opennurbs_archive.cpp.

Definition at line 2139 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadArray ( ON_SimpleArray< ON_UuidIndex > &  a)

Definition at line 2162 of file opennurbs_archive.cpp.

Definition at line 2282 of file opennurbs_archive.cpp.

Definition at line 1747 of file opennurbs_archive.cpp.

Definition at line 1765 of file opennurbs_archive.cpp.

Definition at line 1729 of file opennurbs_archive.cpp.

Definition at line 2219 of file opennurbs_archive.cpp.

Definition at line 1595 of file opennurbs_archive.cpp.

Definition at line 1611 of file opennurbs_archive.cpp.

Definition at line 1680 of file opennurbs_archive.cpp.

Definition at line 1696 of file opennurbs_archive.cpp.

Definition at line 1712 of file opennurbs_archive.cpp.

Definition at line 2298 of file opennurbs_archive.cpp.

Definition at line 1627 of file opennurbs_archive.cpp.

Definition at line 1649 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadBigInt ( size_t  count,
ON__INT64 p 
)

Definition at line 792 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadBigInt ( size_t  count,
ON__UINT64 p 
)

Definition at line 800 of file opennurbs_archive.cpp.

Definition at line 808 of file opennurbs_archive.cpp.

Definition at line 815 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadBigSize ( size_t *  sz)

Definition at line 2611 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadBigTime ( time_t *  t)

Definition at line 2626 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadBool ( bool *  b)

Definition at line 2323 of file opennurbs_archive.cpp.

Definition at line 991 of file opennurbs_archive.cpp.

ON__UINT64 ON_BinaryArchive::ReadBuffer ( ON__UINT64  sizeof_buffer,
void *  buffer 
)

Definition at line 13037 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadByte ( size_t  count,
void *  p 
)

Definition at line 13079 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadChar ( size_t  count,
char *  p 
)

Definition at line 594 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadChar ( size_t  count,
unsigned char *  p 
)

Definition at line 603 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadChar ( char *  p)

Definition at line 612 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadChar ( unsigned char *  p)

Definition at line 620 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadChunkTypecode ( ON__UINT32 typecode) [private]

Definition at line 5552 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadChunkValue ( ON__UINT32  typecode,
ON__INT64 value64 
) [private]

Definition at line 5645 of file opennurbs_archive.cpp.

Definition at line 1104 of file opennurbs_archive.cpp.

Definition at line 936 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadComponentIndex ( ON_COMPONENT_INDEX &  ci)

Definition at line 2816 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadCompressedBuffer ( size_t  sizeof__outbuffer,
void *  outbuffer,
int *  bFailedCRC 
)

Definition at line 138 of file opennurbs_zlib.cpp.

bool ON_BinaryArchive::ReadCompressedBufferSize ( size_t *  sizeof__outbuffer)

Definition at line 133 of file opennurbs_zlib.cpp.

Definition at line 1151 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadDouble ( size_t  count,
double *  p 
)

Definition at line 906 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadDouble ( double *  p)

Definition at line 928 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadEOFSizeOfFile ( ON__UINT64 sizeof_file) [private]

Definition at line 5605 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadFloat ( size_t  count,
float *  p 
)

Definition at line 888 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadFloat ( float *  p)

Definition at line 898 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadInflate ( size_t  sizeof___outbuffer,
void *  out___buffer 
) [private]

Definition at line 380 of file opennurbs_zlib.cpp.

bool ON_BinaryArchive::ReadInt ( size_t  count,
int *  p 
)

Definition at line 730 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadInt ( size_t  count,
unsigned int *  p 
)

Definition at line 768 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadInt ( int *  p)

Definition at line 777 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadInt ( unsigned int *  p)

Definition at line 785 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadInt16 ( size_t  count,
ON__INT16 p 
) [private]

Definition at line 628 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadInt32 ( size_t  count,
ON__INT32 p 
) [private]

Definition at line 710 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadInt64 ( size_t  count,
ON__INT64 p 
) [private]

Definition at line 2497 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadInt8 ( size_t  ,
ON__INT8  
) [private]

Definition at line 1136 of file opennurbs_archive.cpp.

Definition at line 1054 of file opennurbs_archive.cpp.

Definition at line 2252 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadLong ( size_t  count,
long *  p 
)

Definition at line 825 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadLong ( size_t  count,
unsigned long *  p 
)

Definition at line 863 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadLong ( long *  p)

Definition at line 872 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadLong ( unsigned long *  p)

Definition at line 880 of file opennurbs_archive.cpp.

Definition at line 582 of file opennurbs_archive.cpp.

Definition at line 3876 of file opennurbs_archive.cpp.

Definition at line 3887 of file opennurbs_archive.cpp.

int ON_BinaryArchive::ReadObjectHelper ( ON_Object **  ppObject) [private]

Definition at line 3893 of file opennurbs_archive.cpp.

Definition at line 4298 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadObjectUserDataAnonymousChunk ( const ON__UINT64  length_TCODE_ANONYMOUS_CHUNK,
const int  archive_3dm_version,
const int  archive_opennurbs_version,
class ON_UserData ud 
) [private]

Definition at line 4083 of file opennurbs_archive.cpp.

Definition at line 1035 of file opennurbs_archive.cpp.

Definition at line 1017 of file opennurbs_archive.cpp.

Definition at line 945 of file opennurbs_archive.cpp.

Definition at line 953 of file opennurbs_archive.cpp.

Definition at line 961 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadShort ( size_t  count,
short *  p 
)

Definition at line 648 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadShort ( size_t  count,
unsigned short *  p 
)

Definition at line 685 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadShort ( short *  p)

Definition at line 694 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadShort ( unsigned short *  p)

Definition at line 702 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadSize ( size_t *  sz)

Definition at line 2596 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadString ( size_t  str_array_count,
char *  str_array 
)

Definition at line 1349 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadString ( size_t  str_array_count,
unsigned char *  str_array 
)

Definition at line 1358 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadString ( size_t  str_array_count,
unsigned short *  str_array 
)

Definition at line 1367 of file opennurbs_archive.cpp.

Definition at line 1376 of file opennurbs_archive.cpp.

Definition at line 1392 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadStringSize ( size_t *  str_array_count)

Definition at line 1203 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadStringUTF16ElementCount ( size_t *  string_utf16_element_count)

Definition at line 1302 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadStringUTF8ElementCount ( size_t *  string_utf8_element_count)

Definition at line 1253 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadTime ( struct tm &  utc)

Definition at line 1160 of file opennurbs_archive.cpp.

Definition at line 1142 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ReadV1_TCODE_ANNOTATION ( unsigned int  tcode,
ON_Object **  ppObject,
ON_3dmObjectAttributes pAttributes 
)

Definition at line 10268 of file opennurbs_archive.cpp.

Definition at line 11698 of file opennurbs_archive.cpp.

Definition at line 11724 of file opennurbs_archive.cpp.

Definition at line 11753 of file opennurbs_archive.cpp.

Definition at line 10722 of file opennurbs_archive.cpp.

Definition at line 10078 of file opennurbs_archive.cpp.

Definition at line 12013 of file opennurbs_archive.cpp.

Definition at line 11915 of file opennurbs_archive.cpp.

Definition at line 11938 of file opennurbs_archive.cpp.

Definition at line 969 of file opennurbs_archive.cpp.

Definition at line 977 of file opennurbs_archive.cpp.

Definition at line 1005 of file opennurbs_archive.cpp.

Definition at line 5783 of file opennurbs_archive.cpp.

Definition at line 5771 of file opennurbs_archive.cpp.

Definition at line 5795 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::Seek3dmChunkFromCurrentPosition ( unsigned int  typecode)

Definition at line 4877 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::Seek3dmChunkFromStart ( unsigned int  typecode)

Definition at line 4783 of file opennurbs_archive.cpp.

virtual bool ON_BinaryArchive::SeekFromCurrentPosition ( int  ) [pure virtual]
virtual bool ON_BinaryArchive::SeekFromStart ( size_t  ) [pure virtual]
bool ON_BinaryArchive::SetArchive3dmVersion ( int  v) [protected]

Definition at line 13199 of file opennurbs_archive.cpp.

Definition at line 5685 of file opennurbs_archive.cpp.

Definition at line 6490 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::ToggleByteOrder ( int  count,
int  sizeof_element,
const void *  src,
void *  dst 
) [static]

Definition at line 416 of file opennurbs_archive.cpp.

const char * ON_BinaryArchive::TypecodeName ( unsigned int  tcode) [static]

Definition at line 13735 of file opennurbs_archive.cpp.

void ON_BinaryArchive::UpdateCRC ( size_t  count,
const void *  p 
) [private]

Definition at line 13001 of file opennurbs_archive.cpp.

virtual size_t ON_BinaryArchive::Write ( size_t  ,
const void *   
) [protected, pure virtual]

Definition at line 12676 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::Write3dmAnonymousUserTableRecord ( const ON_UUID plugin_id,
int  goo_3dm_version,
int  goo_opennurbs_version,
const ON_3dmGoo goo 
)

Definition at line 12647 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::Write3dmBitmap ( const ON_Bitmap bitmap)

Definition at line 7416 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::Write3dmChunkVersion ( int  major_version,
int  minor_version 
)

Definition at line 4496 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::Write3dmDimStyle ( const ON_DimStyle dimstyle)

Definition at line 8150 of file opennurbs_archive.cpp.

Definition at line 12929 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::Write3dmFont ( const ON_Font font)

Definition at line 8024 of file opennurbs_archive.cpp.

Definition at line 4694 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::Write3dmGroup ( const ON_Group group)

Definition at line 7898 of file opennurbs_archive.cpp.

Definition at line 8277 of file opennurbs_archive.cpp.

Definition at line 8877 of file opennurbs_archive.cpp.

Definition at line 8604 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::Write3dmLayer ( const ON_Layer layer)

Definition at line 7537 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::Write3dmLight ( const ON_Light light,
const ON_3dmObjectAttributes attributes 
)

Definition at line 9648 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::Write3dmLinetype ( const ON_Linetype linetype)

Definition at line 8450 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::Write3dmMaterial ( const ON_Material material)

Definition at line 9020 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::Write3dmObject ( const ON_Object object,
const ON_3dmObjectAttributes attributes 
)

Definition at line 9935 of file opennurbs_archive.cpp.

Definition at line 6061 of file opennurbs_archive.cpp.

Definition at line 6406 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::Write3dmStartSection ( int  version,
const char *  sStartSectionComment 
)

Definition at line 5807 of file opennurbs_archive.cpp.

Definition at line 8731 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteArc ( const ON_Arc arc)

Definition at line 1062 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteArray ( const ON_SimpleArray< bool > &  a)

Definition at line 3091 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteArray ( const ON_SimpleArray< char > &  a)

Definition at line 3138 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteArray ( const ON_SimpleArray< short > &  a)

Definition at line 3151 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteArray ( const ON_SimpleArray< int > &  a)

Definition at line 3164 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteArray ( const ON_SimpleArray< float > &  a)

Definition at line 3177 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteArray ( const ON_SimpleArray< double > &  a)

Definition at line 3190 of file opennurbs_archive.cpp.

Definition at line 3203 of file opennurbs_archive.cpp.

Definition at line 3216 of file opennurbs_archive.cpp.

Definition at line 3229 of file opennurbs_archive.cpp.

Definition at line 3242 of file opennurbs_archive.cpp.

Definition at line 3255 of file opennurbs_archive.cpp.

Definition at line 3269 of file opennurbs_archive.cpp.

Definition at line 3299 of file opennurbs_archive.cpp.

Definition at line 3312 of file opennurbs_archive.cpp.

Definition at line 3325 of file opennurbs_archive.cpp.

Definition at line 3338 of file opennurbs_archive.cpp.

Definition at line 3351 of file opennurbs_archive.cpp.

Definition at line 3283 of file opennurbs_archive.cpp.

Definition at line 2187 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteArray ( const ON_SimpleArray< ON_UuidIndex > &  a)

Definition at line 2202 of file opennurbs_archive.cpp.

Definition at line 3365 of file opennurbs_archive.cpp.

Definition at line 1797 of file opennurbs_archive.cpp.

Definition at line 1811 of file opennurbs_archive.cpp.

Definition at line 1783 of file opennurbs_archive.cpp.

Definition at line 2239 of file opennurbs_archive.cpp.

Definition at line 1497 of file opennurbs_archive.cpp.

Definition at line 1511 of file opennurbs_archive.cpp.

Definition at line 1552 of file opennurbs_archive.cpp.

Definition at line 1567 of file opennurbs_archive.cpp.

Definition at line 1581 of file opennurbs_archive.cpp.

Definition at line 3378 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteArray ( int  count,
const class ON_Layer  
)
bool ON_BinaryArchive::WriteArray ( int  count,
const class ON_Layer *const *   
)
bool ON_BinaryArchive::WriteBigInt ( size_t  count,
const ON__INT64 p 
)

Definition at line 2661 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteBigInt ( size_t  count,
const ON__UINT64 p 
)

Definition at line 2669 of file opennurbs_archive.cpp.

Definition at line 2677 of file opennurbs_archive.cpp.

Definition at line 2684 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteBigSize ( size_t  sz)

Definition at line 2605 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteBigTime ( time_t  t)

Definition at line 2620 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteBool ( bool  b)

Definition at line 2317 of file opennurbs_archive.cpp.

Definition at line 984 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteByte ( size_t  count,
const void *  p 
)

Definition at line 13164 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteChar ( size_t  count,
const char *  p 
)

Definition at line 2343 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteChar ( size_t  count,
const unsigned char *  p 
)

Definition at line 2352 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteChar ( char  c)

Definition at line 2361 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteChar ( unsigned char  c)

Definition at line 2369 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteChunkLength ( ON__UINT64  length) [private]

Definition at line 5588 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteChunkTypecode ( ON__UINT32  typecode) [private]

Definition at line 5547 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteChunkValue ( ON__UINT32  typecode,
ON__INT64  big_value 
) [private]

Definition at line 5561 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteCircle ( const ON_Circle circle)

Definition at line 1080 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteColor ( const ON_Color color)

Definition at line 2845 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteComponentIndex ( const ON_COMPONENT_INDEX &  ci)

Definition at line 2804 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteCompressedBuffer ( size_t  sizeof__inbuffer,
const void *  inbuffer 
)

Definition at line 76 of file opennurbs_zlib.cpp.

size_t ON_BinaryArchive::WriteDeflate ( size_t  sizeof___inbuffer,
const void *  in___buffer 
) [private]

Definition at line 194 of file opennurbs_zlib.cpp.

Definition at line 2891 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteDouble ( size_t  count,
const double *  p 
)

Definition at line 2775 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteDouble ( double  x)

Definition at line 2837 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteEOFSizeOfFile ( ON__UINT64  sizeof_file) [private]

Definition at line 5627 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteFloat ( size_t  count,
const float *  p 
)

Definition at line 2757 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteFloat ( float  f)

Definition at line 2767 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteInt ( size_t  count,
const int *  p 
)

Definition at line 2552 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteInt ( size_t  count,
const unsigned int *  p 
)

Definition at line 2637 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteInt ( int  i)

Definition at line 2646 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteInt ( unsigned int  i)

Definition at line 2654 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteInt16 ( size_t  count,
const ON__INT16 p 
) [private]

Definition at line 2377 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteInt32 ( size_t  count,
const ON__INT32 p 
) [private]

Definition at line 2468 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteInt64 ( size_t  count,
const ON__INT64 p 
) [private]

Definition at line 2519 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteInt8 ( size_t  ,
const ON__INT8  
) [private]

Definition at line 1130 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteLine ( const ON_Line line)

Definition at line 1046 of file opennurbs_archive.cpp.

Definition at line 2270 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteLong ( size_t  count,
const long *  p 
)

Definition at line 2694 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteLong ( size_t  count,
const unsigned long *  p 
)

Definition at line 2731 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteLong ( long  i)

Definition at line 2740 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteLong ( unsigned long  i)

Definition at line 2748 of file opennurbs_archive.cpp.

Definition at line 588 of file opennurbs_archive.cpp.

Definition at line 3397 of file opennurbs_archive.cpp.

Definition at line 3509 of file opennurbs_archive.cpp.

Definition at line 3681 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WritePlane ( const ON_Plane plane)

Definition at line 1024 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WritePlaneEquation ( const ON_PlaneEquation plane_equation)

Definition at line 1010 of file opennurbs_archive.cpp.

Definition at line 2852 of file opennurbs_archive.cpp.

Definition at line 2860 of file opennurbs_archive.cpp.

Definition at line 2868 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteShort ( size_t  count,
const short *  p 
)

Definition at line 2406 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteShort ( size_t  count,
const unsigned short *  p 
)

Definition at line 2443 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteShort ( short  s)

Definition at line 2452 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteShort ( unsigned short  s)

Definition at line 2460 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteSize ( size_t  sz)

Definition at line 2589 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteString ( const char *  sUTF8)

Definition at line 2947 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteString ( const unsigned char *  sUTF8)

Definition at line 2967 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteString ( const unsigned short *  sUTF16)

Definition at line 2975 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteString ( const ON_String sUTF8)

Definition at line 2997 of file opennurbs_archive.cpp.

Definition at line 3010 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteTime ( const struct tm &  utc)

Definition at line 2909 of file opennurbs_archive.cpp.

bool ON_BinaryArchive::WriteUuid ( const ON_UUID uuid)

Definition at line 2899 of file opennurbs_archive.cpp.

Definition at line 2876 of file opennurbs_archive.cpp.

Definition at line 2884 of file opennurbs_archive.cpp.

Definition at line 999 of file opennurbs_archive.cpp.


Friends And Related Function Documentation

void ON_SetBinaryArchiveOpenNURBSVersion ( ON_BinaryArchive file,
int  value 
) [friend]

Definition at line 416 of file opennurbs_3dm_properties.cpp.


Member Data Documentation

Definition at line 2688 of file opennurbs_archive.h.

Definition at line 2631 of file opennurbs_archive.h.

Definition at line 2637 of file opennurbs_archive.h.

Definition at line 2581 of file opennurbs_archive.h.

Definition at line 2582 of file opennurbs_archive.h.

Definition at line 2580 of file opennurbs_archive.h.

Definition at line 2639 of file opennurbs_archive.h.

Definition at line 2676 of file opennurbs_archive.h.

Definition at line 2674 of file opennurbs_archive.h.

Definition at line 2714 of file opennurbs_archive.h.

Definition at line 2716 of file opennurbs_archive.h.

Definition at line 2713 of file opennurbs_archive.h.

Definition at line 2715 of file opennurbs_archive.h.

Definition at line 2712 of file opennurbs_archive.h.

Definition at line 2643 of file opennurbs_archive.h.

ON::endian ON_BinaryArchive::m_endian [private]

Definition at line 2707 of file opennurbs_archive.h.

Definition at line 2602 of file opennurbs_archive.h.

ON::archive_mode ON_BinaryArchive::m_mode [private]

Definition at line 2709 of file opennurbs_archive.h.

Definition at line 2723 of file opennurbs_archive.h.

Definition at line 2721 of file opennurbs_archive.h.

struct { ... } ON_BinaryArchive::m_zlib [private]
ON::archive_mode ON_BinaryArchive::mode

Definition at line 2683 of file opennurbs_archive.h.

Definition at line 2689 of file opennurbs_archive.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:51