OpendTect-6_4  6.4
Public Member Functions | List of all members
DataBuffer Class Reference

Raw data array with memory management. More...

Inheritance diagram for DataBuffer:
[legend]

Public Member Functions

 DataBuffer (int n, int byts=4, bool setnull=false)
 
 ~DataBuffer ()
 
 DataBuffer (const DataBuffer &b)
 
DataBufferoperator= (const DataBuffer &)
 
bool isOk () const
 
void reSize (int, bool copydata=true)
 
void reByte (int, bool copydata=true)
 
void zero ()
 
BufferString getString () const
 
- Public Member Functions inherited from RawDataArray
 RawDataArray (int byts=4)
 
bool isEmpty () const
 
int size () const
 
int bytesPerSample () const
 
bool isZero () const
 
unsigned char * data ()
 
const unsigned char * data () const
 

Additional Inherited Members

- Protected Attributes inherited from RawDataArray
int nelem_
 
int bytes_
 
unsigned char * data_
 

Detailed Description

Raw data array with memory management.

Constructor & Destructor Documentation

DataBuffer::DataBuffer ( int  n,
int  byts = 4,
bool  setnull = false 
)
DataBuffer::~DataBuffer ( )
DataBuffer::DataBuffer ( const DataBuffer b)
inline

Member Function Documentation

BufferString DataBuffer::getString ( ) const
bool DataBuffer::isOk ( ) 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. 2019