OpendTect
6.6
|
Raw data array with memory management. More...
Public Member Functions | |
DataBuffer (const DataBuffer &b) | |
DataBuffer (int n, int byts=4, bool setnull=false) | |
~DataBuffer () | |
bool | fitsInString () const |
BufferString | getString () const |
bool | isOk () const |
DataBuffer & | operator= (const DataBuffer &) |
void | reByte (int, bool copydata=true) |
void | reSize (int, bool copydata=true) |
void | zero () |
Public Member Functions inherited from RawDataArray | |
RawDataArray (int byts=4) | |
int | bytesPerSample () const |
unsigned char * | data () |
const unsigned char * | data () const |
bool | isEmpty () const |
bool | isZero () const |
int | size () const |
Additional Inherited Members | |
Protected Attributes inherited from RawDataArray | |
int | bytes_ |
unsigned char * | data_ |
int | nelem_ |
Raw data array with memory management.
<>
DataBuffer::DataBuffer | ( | int | n, |
int | byts = 4 , |
||
bool | setnull = false |
||
) |
DataBuffer::~DataBuffer | ( | ) |
|
inline |
bool DataBuffer::fitsInString | ( | ) | const |
BufferString DataBuffer::getString | ( | ) | const |
|
inline |
DataBuffer& DataBuffer::operator= | ( | const DataBuffer & | ) |
void DataBuffer::reByte | ( | int | , |
bool | copydata = true |
||
) |
void DataBuffer::reSize | ( | int | , |
bool | copydata = true |
||
) |
void DataBuffer::zero | ( | ) |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022