CFx SDK Documentation  2020SP3
Public Member Functions | List of all members
OdBitBinaryData Class Reference

#include <OdBinaryData.h>

Inheritance diagram for OdBitBinaryData:
OdBinaryData OdArray< OdUInt8, OdMemoryAllocator< OdUInt8 > >

Public Member Functions

 OdBitBinaryData ()
 
OdUInt64 getBitSize () const
 
void setBitSize (OdUInt64 value)
 
void updateBitSize ()
 
- Public Member Functions inherited from OdArray< OdUInt8, OdMemoryAllocator< OdUInt8 > >
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
void insert (iterator before, const_iterator first, const_iterator afterLast)
 
iterator insert (iterator before, size_type numElements, const OdUInt8 &value)
 
iterator insert (iterator before, const OdUInt8 &value=OdUInt8())
 
void resize (size_type logicalLength, const OdUInt8 &value)
 
void resize (size_type logicalLength)
 
size_type size () const
 
bool empty () const
 
size_type capacity () const
 
void reserve (size_type reserveLength)
 
void assign (const_iterator first, const_iterator afterLast)
 
iterator erase (iterator first, iterator afterLast)
 
iterator erase (iterator where)
 
void clear ()
 
void push_back (const OdUInt8 &value)
 
bool contains (const OdUInt8 &value, size_type start=0) const
 
size_type length () const
 
bool isEmpty () const
 
size_type logicalLength () const
 
size_type physicalLength () const
 
int growLength () const
 
const OdUInt8asArrayPtr () const
 
OdUInt8asArrayPtr ()
 
const OdUInt8getPtr () const
 
const OdUInt8operator[] (size_type index) const
 
OdUInt8operator[] (size_type index)
 
OdUInt8at (size_type arrayIndex)
 
const OdUInt8at (size_type arrayIndex) const
 
OdArraysetAt (size_type arrayIndex, const OdUInt8 &value)
 
const OdUInt8getAt (size_type arrayIndex) const
 
OdUInt8first ()
 
const OdUInt8first () const
 
OdUInt8last ()
 
const OdUInt8last () const
 
size_type append (const OdUInt8 &value)
 
iterator append ()
 
OdArrayappend (const OdArray &otherArray)
 
OdArrayremoveFirst ()
 
OdArrayremoveLast ()
 
OdArraysetGrowLength (int growLength)
 
 OdArray (size_type physicalLength, int growLength=8)
 
 OdArray ()
 
 OdArray (const OdArray &source)
 
 ~OdArray ()
 
OdArrayoperator= (const OdArray &source)
 
bool operator== (const OdArray &array) const
 
OdArraysetAll (const OdUInt8 &value)
 
OdArrayinsertAt (size_type arrayIndex, const OdUInt8 &value)
 
OdArrayremoveAt (size_type arrayIndex)
 
OdArrayremoveSubArray (size_type startIndex, size_type endIndex)
 
bool find (const OdUInt8 &value, size_type &findIndex, size_type start=0) const
 
OdArraysetLogicalLength (size_type logLength)
 
OdArraysetPhysicalLength (size_type physLength)
 
OdArrayreverse ()
 
OdArrayswap (size_type firstIndex, size_type secondIndex)
 
bool remove (const OdUInt8 &value, size_type start=0)
 

Additional Inherited Members

- Public Types inherited from OdArray< OdUInt8, OdMemoryAllocator< OdUInt8 > >
typedef A::size_type size_type
 
typedef OdUInt8iterator
 
typedef const OdUInt8const_iterator
 
typedef OdUInt8 value_type
 
typedef const OdUInt8const_reference
 
typedef OdUInt8reference
 

Detailed Description

This Class is a specialization of the OdBinaryData class for BitBinary data.

<group Other_Classes>

Definition at line 51 of file OdBinaryData.h.

Constructor & Destructor Documentation

◆ OdBitBinaryData()

OdBitBinaryData::OdBitBinaryData ( )
inline

Definition at line 55 of file OdBinaryData.h.

Member Function Documentation

◆ getBitSize()

OdUInt64 OdBitBinaryData::getBitSize ( ) const
inline

Returns the size in bits of this BitBinaryData object.

Definition at line 60 of file OdBinaryData.h.

◆ setBitSize()

void OdBitBinaryData::setBitSize ( OdUInt64  value)
inline

Resizes this BitBinaryData object to the specified number of bits.

Parameters
bitSize[in] Bit size.

Definition at line 67 of file OdBinaryData.h.

◆ updateBitSize()

void OdBitBinaryData::updateBitSize ( )
inline

Sets the size in bits of this BitBinaryData object to be 8 * its current size in bytes.

Parameters
bitSize[in] Bit size.

Definition at line 80 of file OdBinaryData.h.


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