OpendTect  6.6
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 (const DataBuffer &b)
 
 DataBuffer (int n, int byts=4, bool setnull=false)
 
 ~DataBuffer ()
 
bool fitsInString () const
 
BufferString getString () const
 
bool isOk () const
 
DataBufferoperator= (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_
 

Detailed Description

Raw data array with memory management.

<>

Constructor & Destructor Documentation

◆ DataBuffer() [1/2]

DataBuffer::DataBuffer ( int  n,
int  byts = 4,
bool  setnull = false 
)

◆ ~DataBuffer()

DataBuffer::~DataBuffer ( )

◆ DataBuffer() [2/2]

DataBuffer::DataBuffer ( const DataBuffer b)
inline

Member Function Documentation

◆ fitsInString()

bool DataBuffer::fitsInString ( ) const

◆ getString()

BufferString DataBuffer::getString ( ) const

◆ isOk()

bool DataBuffer::isOk ( ) const
inline

◆ operator=()

DataBuffer& DataBuffer::operator= ( const DataBuffer )

◆ reByte()

void DataBuffer::reByte ( int  ,
bool  copydata = true 
)

◆ reSize()

void DataBuffer::reSize ( int  ,
bool  copydata = true 
)

◆ zero()

void DataBuffer::zero ( )

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022