API Reference > Classes > PRC Entities Input/output Operations for Entities > OdPrcCompressedFiler Class
OdPrcCompressedFiler Class
OdPrcCompressedFilerOdPrcCompressedFiler
Syntax
C++
class OdPrcCompressedFiler : public OdPrcFiler;

PrcCompressedFiler.h

 

Abstract class for input/output operations with compressed data.

 
Name 
Description 
 
Destroys the filer object. 
OdPrcCompressedFiler Class
 
Name 
Description 
 
Types of bit compression strategy. 
 
Name 
Description 
 
Starts an element data block in the file associated with the filer.
 
 
Starts a new data block for an array in the file associated with the filer.
 
 
Returns the current file controller used for working with the filer. 
 
Returns audit information from the filer. 
 
Returns the current length of the .prc file associated with the filer. 
 
Starts a new data block in the file associated with the filer.
 
 
Finishes a data block in the file associated with the filer. 
 
seek 
Moves the file pointer to the specified location in the filer.
 
 
Sets a new file controller object for the filer.
 
 
Sets a new PRC format version value for the filer to work with.
 
 
tell 
Returns the current file pointer position of the filer. 
 
Returns the current PRC format version for the filer. 
OdPrcCompressedFiler Class
 
Name 
Description 
 
This is the overview for the readBits method overload. 
 
Reads a boolean value from a file and returns it.
 
 
Reads a character from a file and returns it. 
 
Reads an array of characters from a file and returns it.
 
 
Reads a compressed entity type from a file and returns it.
 
 
Reads a compressed array of 32-bit integer values from a file.
 
 
Reads a compressed array of integer values from a file and returns it.
 
 
Returns a double value from a file.
 
 
Reads a double value with a variable number of bits from a file and returns it.
 
 
Reads an entity type from a file and returns it.
 
 
Reads an integer value from the file and returns it. 
 
Reads an integer value with a variable number of bits from a file and returns it.
 
 
Reads from a file the number of bits needed to store an unsigned integer value. 
 
Reads 2D point data from a file and returns it. 
 
Reads 3D point data from a file and returns it. 
 
Reads a 3D point with a variable number of bits from a file and returns it.
 
 
Reads an array of short integer values from a file.
 
 
Reads a string value from a file and returns it.
 
 
Reads an unsigned 32-bit integer value from the file.  
 
Reads an unsigned integer value with variable number of bits from a file.  
 
Reads 2D vector data from a file and returns it. 
 
Reads 3D vector data from a file and returns it.
 
 
Restores previously saved position in a file. 
 
Saves the current position in a file. 
 
This is the overview for the writeBits method overload. 
 
Writes a boolean value to a file.
 
 
Writes a character to a file.
 
 
Writes an array of characters to a file.
 
 
Writes an entity type to a file.
 
 
Writes a compressed array of integer values to a file.
 
 
Writes a compressed array of integer values to a file.
 
 
Writes a double value to a file.
 
 
Writes a double value with a variable number of bits to a file.
 
 
Writes the entity type to a file.
 
 
Writes an integer value to a file.
 
 
Writes an integer value with variable number of bits to a file.
 
 
Writes to a file the number of bits needed to store an unsigned integer value.
 
 
Writes 2D point data to a file.
 
 
Writes 3D point data to a file.
 
 
Writes a 3D point with a variable number of bits to a file.
 
 
Writes an array of short integer values to a file.
 
 
Writes a string value to a file.
 
 
Writes an unsigned integer value to a file.
 
 
Writes an unsigned integer value with variable number of bits.
 
 
Writes 2D vector data to a file.
 
 
Writes 3D vector data to a file.
 
Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.