QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON_UnknownUserDataArchive Class Reference
Inheritance diagram for ON_UnknownUserDataArchive:
ON_BinaryArchive

Public Member Functions

bool AtEnd () const
 
size_t CurrentPosition () const
 
 ON_UnknownUserDataArchive (const ON_UnknownUserData &)
 
bool SeekFromCurrentPosition (int)
 
bool SeekFromStart (size_t)
 
 ~ON_UnknownUserDataArchive ()
 
- Public Member Functions inherited from ON_BinaryArchive
int Archive3dmVersion () const
 
int ArchiveOpenNURBSVersion () const
 
size_t ArchiveStartOffset () const
 
int BadCRCCount () const
 
bool BeginRead3dmBigChunk (unsigned int *, ON__INT64 *)
 
bool BeginRead3dmBitmapTable ()
 
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 &)
 
bool BeginRead3dmUserTable (ON_UUID &plugin_id, bool *bLastSavedAsGoo, int *archive_3dm_version, int *archive_opennurbs_version)
 
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 tcode, int major_version, int minor_version)
 
bool BeginWrite3dmChunk (unsigned int, int)
 
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 &)
 
bool BeginWrite3dmUserTable (const ON_UUID &plugin_id, bool bSavingGoo, int goo_3dm_version, int goo_opennurbs_version)
 
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)
 
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 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_BIG_CHUNK &big_chunk) const
 
int GetCurrentChunk (ON_3DM_CHUNK &chunk) const
 
 ON_BinaryArchive (ON::archive_mode)
 
bool PeekAt3dmBigChunkType (ON__UINT32 *typecode, ON__INT64 *big_value)
 
bool PeekAt3dmChunkType (unsigned int *, int *)
 
bool Read3dmAnonymousUserTable (int archive_3dm_version, int archive_opennurbs_version, ON_3dmGoo &goo)
 
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 *, ON_String &)
 
int Read3dmTextureMapping (ON_TextureMapping **)
 
bool ReadArc (ON_Arc &)
 
bool ReadArray (ON_ClassArray< class ON_ObjRef > &)
 
bool ReadArray (ON_ClassArray< ON_MappingRef > &)
 
bool ReadArray (ON_ClassArray< ON_MaterialRef > &)
 
bool ReadArray (ON_ClassArray< ON_String > &)
 
bool ReadArray (ON_ClassArray< ON_wString > &)
 
bool ReadArray (ON_SimpleArray< bool > &)
 
bool ReadArray (ON_SimpleArray< char > &)
 
bool ReadArray (ON_SimpleArray< class ON_ObjRef_IRefID > &)
 
bool ReadArray (ON_SimpleArray< double > &)
 
bool ReadArray (ON_SimpleArray< float > &)
 
bool ReadArray (ON_SimpleArray< int > &)
 
bool ReadArray (ON_SimpleArray< ON_2dPoint > &)
 
bool ReadArray (ON_SimpleArray< ON_2dVector > &)
 
bool ReadArray (ON_SimpleArray< ON_2fPoint > &)
 
bool ReadArray (ON_SimpleArray< ON_2fVector > &)
 
bool ReadArray (ON_SimpleArray< ON_3dPoint > &)
 
bool ReadArray (ON_SimpleArray< ON_3dVector > &)
 
bool ReadArray (ON_SimpleArray< ON_3fPoint > &)
 
bool ReadArray (ON_SimpleArray< ON_3fVector > &)
 
bool ReadArray (ON_SimpleArray< ON_4dPoint > &)
 
bool ReadArray (ON_SimpleArray< ON_4fPoint > &)
 
bool ReadArray (ON_SimpleArray< ON_Color > &)
 
bool ReadArray (ON_SimpleArray< ON_DisplayMaterialRef > &)
 
bool ReadArray (ON_SimpleArray< ON_LinetypeSegment > &)
 
bool ReadArray (ON_SimpleArray< ON_MappingChannel > &)
 
bool ReadArray (ON_SimpleArray< ON_SurfaceCurvature > &)
 
bool ReadArray (ON_SimpleArray< ON_UUID > &)
 
bool ReadArray (ON_SimpleArray< ON_UuidIndex > &)
 
bool ReadArray (ON_SimpleArray< ON_Xform > &)
 
bool ReadArray (ON_SimpleArray< short > &)
 
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 (char *)
 
bool ReadChar (size_t, char *)
 
bool ReadChar (size_t, unsigned 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 (double *)
 
bool ReadDouble (size_t, double *)
 
bool ReadFloat (float *)
 
bool ReadFloat (size_t, float *)
 
bool ReadInt (int *)
 
bool ReadInt (size_t, int *)
 
bool ReadInt (size_t, unsigned int *)
 
bool ReadInt (unsigned int *)
 
bool ReadInterval (ON_Interval &)
 
bool ReadLine (ON_Line &)
 
bool ReadLinetypeSegment (ON_LinetypeSegment &)
 
bool ReadLong (long *)
 
bool ReadLong (size_t, long *)
 
bool ReadLong (size_t, unsigned long *)
 
bool ReadLong (unsigned long *)
 
bool ReadMode () const
 
int ReadObject (ON_Object &object)
 
int ReadObject (ON_Object **ppObject)
 
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 (short *)
 
bool ReadShort (size_t, short *)
 
bool ReadShort (size_t, unsigned short *)
 
bool ReadShort (unsigned short *)
 
bool ReadSize (size_t *)
 
bool ReadString (ON_String &)
 
bool ReadString (ON_wString &)
 
bool ReadString (size_t, char *)
 
bool ReadString (size_t, unsigned char *)
 
bool ReadString (size_t, unsigned short *)
 
bool ReadStringSize (size_t *)
 
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)
 
size_t SizeofChunkLength () const
 
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, const char *)
 
bool Write3dmTextureMapping (const ON_TextureMapping &)
 
bool WriteArc (const ON_Arc &)
 
bool WriteArray (const ON_ClassArray< class ON_ObjRef > &)
 
bool WriteArray (const ON_ClassArray< ON_MappingRef > &)
 
bool WriteArray (const ON_ClassArray< ON_MaterialRef > &)
 
bool WriteArray (const ON_ClassArray< ON_String > &)
 
bool WriteArray (const ON_ClassArray< ON_wString > &)
 
bool WriteArray (const ON_SimpleArray< bool > &)
 
bool WriteArray (const ON_SimpleArray< char > &)
 
bool WriteArray (const ON_SimpleArray< class ON_ObjRef_IRefID > &)
 
bool WriteArray (const ON_SimpleArray< double > &)
 
bool WriteArray (const ON_SimpleArray< float > &)
 
bool WriteArray (const ON_SimpleArray< int > &)
 
bool WriteArray (const ON_SimpleArray< ON_2dPoint > &)
 
bool WriteArray (const ON_SimpleArray< ON_2dVector > &)
 
bool WriteArray (const ON_SimpleArray< ON_2fPoint > &)
 
bool WriteArray (const ON_SimpleArray< ON_2fVector > &)
 
bool WriteArray (const ON_SimpleArray< ON_3dPoint > &)
 
bool WriteArray (const ON_SimpleArray< ON_3dVector > &)
 
bool WriteArray (const ON_SimpleArray< ON_3fPoint > &)
 
bool WriteArray (const ON_SimpleArray< ON_3fVector > &)
 
bool WriteArray (const ON_SimpleArray< ON_4dPoint > &)
 
bool WriteArray (const ON_SimpleArray< ON_4fPoint > &)
 
bool WriteArray (const ON_SimpleArray< ON_Color > &)
 
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_SimpleArray< ON_SurfaceCurvature > &)
 
bool WriteArray (const ON_SimpleArray< ON_UUID > &)
 
bool WriteArray (const ON_SimpleArray< ON_UuidIndex > &)
 
bool WriteArray (const ON_SimpleArray< ON_Xform > &)
 
bool WriteArray (const ON_SimpleArray< short > &)
 
bool WriteBigSize (size_t)
 
bool WriteBigTime (time_t)
 
bool WriteBool (bool)
 
bool WriteBoundingBox (const ON_BoundingBox &)
 
bool WriteByte (size_t, const void *)
 
bool WriteChar (char)
 
bool WriteChar (size_t, const char *)
 
bool WriteChar (size_t, const unsigned 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 (double)
 
bool WriteDouble (size_t, const double *)
 
bool WriteFloat (float)
 
bool WriteFloat (size_t, const float *)
 
bool WriteInt (int)
 
bool WriteInt (size_t, const int *)
 
bool WriteInt (size_t, const unsigned int *)
 
bool WriteInt (unsigned int)
 
bool WriteInterval (const ON_Interval &)
 
bool WriteLine (const ON_Line &)
 
bool WriteLinetypeSegment (const ON_LinetypeSegment &)
 
bool WriteLong (long)
 
bool WriteLong (size_t, const long *)
 
bool WriteLong (size_t, const unsigned 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 (short)
 
bool WriteShort (size_t, const short *)
 
bool WriteShort (size_t, const unsigned short *)
 
bool WriteShort (unsigned short)
 
bool WriteSize (size_t)
 
bool WriteString (const char *)
 
bool WriteString (const ON_String &)
 
bool WriteString (const ON_wString &)
 
bool WriteString (const unsigned char *)
 
bool WriteString (const unsigned short *)
 
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 ()
 

Protected Member Functions

bool Flush ()
 
size_t Read (size_t, void *)
 
size_t Write (size_t, const void *)
 
- Protected Member Functions inherited from ON_BinaryArchive
unsigned int ErrorMessageMask () const
 
virtual int LoadUserDataApplication (ON_UUID application_id)
 
bool MaskReadError (ON__UINT64 sizeof_request, ON__UINT64 sizeof_read) const
 
bool SetArchive3dmVersion (int)
 

Private Member Functions

 ON_UnknownUserDataArchive ()
 

Private Attributes

const unsigned char * m_buffer
 
size_t m_buffer_position
 
size_t m_sizeof_buffer
 

Additional Inherited Members

- Public Types inherited from ON_BinaryArchive
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
}
 
- Static Public Member Functions inherited from ON_BinaryArchive
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)
 

Constructor & Destructor Documentation

◆ ON_UnknownUserDataArchive() [1/2]

ON_UnknownUserDataArchive::ON_UnknownUserDataArchive ( const ON_UnknownUserData & ud)

◆ ~ON_UnknownUserDataArchive()

ON_UnknownUserDataArchive::~ON_UnknownUserDataArchive ( )

◆ ON_UnknownUserDataArchive() [2/2]

ON_UnknownUserDataArchive::ON_UnknownUserDataArchive ( )
private

Member Function Documentation

◆ AtEnd()

bool ON_UnknownUserDataArchive::AtEnd ( ) const
virtual

Implements ON_BinaryArchive.

◆ CurrentPosition()

size_t ON_UnknownUserDataArchive::CurrentPosition ( ) const
virtual

Implements ON_BinaryArchive.

◆ Flush()

bool ON_UnknownUserDataArchive::Flush ( )
protectedvirtual

Implements ON_BinaryArchive.

◆ Read()

size_t ON_UnknownUserDataArchive::Read ( size_t count,
void * buffer )
protectedvirtual

Implements ON_BinaryArchive.

◆ SeekFromCurrentPosition()

bool ON_UnknownUserDataArchive::SeekFromCurrentPosition ( int offset)
virtual

Implements ON_BinaryArchive.

◆ SeekFromStart()

bool ON_UnknownUserDataArchive::SeekFromStart ( size_t offset)
virtual

Implements ON_BinaryArchive.

◆ Write()

size_t ON_UnknownUserDataArchive::Write ( size_t ,
const void *  )
protectedvirtual

Implements ON_BinaryArchive.

Member Data Documentation

◆ m_buffer

const unsigned char* ON_UnknownUserDataArchive::m_buffer
private

◆ m_buffer_position

size_t ON_UnknownUserDataArchive::m_buffer_position
private

◆ m_sizeof_buffer

size_t ON_UnknownUserDataArchive::m_sizeof_buffer
private

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