15 #include "generalmod.h" 25 : nelem_(0), bytes_(byts), data_(0)
27 inline bool isEmpty()
const {
return !data_ || !nelem_; }
29 inline int size()
const {
return nelem_; }
33 inline unsigned char*
data() {
return data_; }
34 inline const unsigned char*
data()
const {
return data_; }
#define mExpClass(module)
Definition: commondefs.h:160
int size() const
Definition: rawarray.h:29
const unsigned char * data() const
Definition: rawarray.h:34
unsigned char * data()
Definition: rawarray.h:33
int bytes_
Definition: rawarray.h:39
unsigned char * data_
Definition: rawarray.h:40
bool isEmpty() const
Definition: rawarray.h:27
RawDataArray(int byts=4)
Definition: rawarray.h:24
Raw binary data access.
Definition: rawarray.h:21
int nelem_
Definition: rawarray.h:38
int bytesPerSample() const
Definition: rawarray.h:30