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< iterator > rbegin ()
 
std::reverse_iterator< const_iterator > rbegin () const
 
std::reverse_iterator< iterator > rend ()
 
std::reverse_iterator< const_iterator > rend () 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 OdUInt8 * asArrayPtr () const
 
OdUInt8 * asArrayPtr ()
 
const OdUInt8 * getPtr () const
 
const OdUInt8 & operator[] (size_type index) const
 
OdUInt8 & operator[] (size_type index)
 
OdUInt8 & at (size_type arrayIndex)
 
const OdUInt8 & at (size_type arrayIndex) const
 
OdArray & setAt (size_type arrayIndex, const OdUInt8 &value)
 
const OdUInt8 & getAt (size_type arrayIndex) const
 
OdUInt8 & first ()
 
const OdUInt8 & first () const
 
OdUInt8 & last ()
 
const OdUInt8 & last () const
 
size_type append (const OdUInt8 &value)
 
size_type append (OdUInt8 &&value)
 
iterator append ()
 
OdArray & append (const OdArray &otherArray)
 
OdArray & append (OdArray &&otherArray)
 
OdArray & insertAtMove (size_type index, OdUInt8 &value)
 
size_type appendMove (OdUInt8 &value)
 
OdArray & appendMove (OdArray &otherArray)
 
OdArray & appendRep (const OdUInt8 &value, size_type nCount)
 
OdArray & appendList (const Args &... args)
 
OdArray & removeFirst ()
 
OdArray & removeLast ()
 
OdArray & setGrowLength (int growLength)
 
 OdArray (size_type physicalLength, int growLength=8)
 
 OdArray ()
 
 OdArray (const OdArray &source)
 
 OdArray (OdArray &&source)
 
 ~OdArray ()
 
OdArray & operator= (const OdArray &source)
 
OdArray & operator= (OdArray &&source)
 
bool operator== (const OdArray &array) const
 
bool operator!= (const OdArray &array) const
 
OdArray & setAll (const OdUInt8 &value)
 
OdArray & insertAt (size_type arrayIndex, const OdUInt8 &value)
 
OdArray & insertAt (size_type index, OdUInt8 &&val)
 
OdArray & removeAt (size_type arrayIndex)
 
OdArray & removeSubArray (size_type startIndex, size_type endIndex)
 
bool find (const ConstForPtrT &value, size_type &findIndex, size_type start=0) const
 
OdArray & setLogicalLength (size_type logLength)
 
OdArray & setPhysicalLength (size_type physLength)
 
OdArray & reverse ()
 
OdArray & swap (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: