CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
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
 
std::reverse_iterator< iteratorrbegin ()
 
std::reverse_iterator< const_iteratorrbegin () const
 
std::reverse_iterator< iteratorrend ()
 
std::reverse_iterator< const_iteratorrend () 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())
 
iterator insert (iterator before, OdUInt8 &&value)
 
void insertMove (iterator before, iterator first, iterator afterLast)
 
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)
 
void assignMove (iterator first, iterator afterLast)
 
iterator erase (iterator first, iterator afterLast)
 
iterator erase (iterator where)
 
void clear ()
 
void push_back (const OdUInt8 &value)
 
void push_back (OdUInt8 &&value)
 
bool contains (const ConstForPtrT &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)
 
size_type append (OdUInt8 &&value)
 
iterator append ()
 
OdArrayappend (const OdArray &otherArray)
 
OdArrayappend (OdArray &&otherArray)
 
OdArrayinsertAtMove (size_type index, OdUInt8 &value)
 
size_type appendMove (OdUInt8 &value)
 
OdArrayappendMove (OdArray &otherArray)
 
OdArrayappendRep (const OdUInt8 &value, size_type nCount)
 
OdArrayappendList (const Args &... args)
 
OdArrayremoveFirst ()
 
OdArrayremoveLast ()
 
OdArraysetGrowLength (int growLength)
 
 OdArray (size_type physicalLength, int growLength=8)
 
 OdArray ()
 
 OdArray (const OdArray &source)
 
 OdArray (OdArray &&source)
 
 ~OdArray ()
 
OdArrayoperator= (const OdArray &source)
 
OdArrayoperator= (OdArray &&source)
 
bool operator== (const OdArray &array) const
 
bool operator!= (const OdArray &array) const
 
OdArraysetAll (const OdUInt8 &value)
 
OdArrayinsertAt (size_type arrayIndex, const OdUInt8 &value)
 
OdArrayinsertAt (size_type index, OdUInt8 &&val)
 
OdArrayremoveAt (size_type arrayIndex)
 
OdArrayremoveSubArray (size_type startIndex, size_type endIndex)
 
bool find (const ConstForPtrT &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)
 
void swap (OdArray &other)
 
bool remove (const OdUInt8 &value, size_type start=0)
 

Additional Inherited Members

- Public Types inherited from OdArray< OdUInt8, OdMemoryAllocator< OdUInt8 > >
using size_type = typename A::size_type
 
using iterator = OdUInt8 *
 
using const_iterator = const OdUInt8 *
 
using value_type = OdUInt8
 
using const_reference = const OdUInt8 &
 
using reference = OdUInt8 &
 
using ConstForPtrT = typename std::conditional< std::is_pointer< OdUInt8 >::value, typename std::add_const< typename std::remove_pointer< OdUInt8 >::type >::type *, OdUInt8 >::type
 
- Static Public Member Functions inherited from OdArray< OdUInt8, OdMemoryAllocator< OdUInt8 > >
static OdArray< OdUInt8, OdMemoryAllocator< OdUInt8 > > create (OdUInt8 *sourceArray, int sourceLength)
 

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

Default constructor.

Definition at line 58 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 63 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 70 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 83 of file OdBinaryData.h.


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