65 virtual void detach() { duplicate(*
this); }
67 char *
data()
const {
return shd->data; }
74 bool fill(
const char *
d,
int len,
uint sz );
80 void store(
const char *d,
uint len );
86 void resetRawData(
const char *d,
uint len );
89 int contains(
const char *d,
uint sz )
const;
92 int bsearch(
const char *d,
uint sz )
const;
94 char *at(
uint index )
const;
96 bool setExpand(
uint index,
const char *d,
uint sz );
103 static void msg_index(
uint );
110 #if defined(CHECK_RANGE) 111 if ( index >=
size() ) {
116 return &shd->data[
index];
bool isEqual(float x1, float x2)
The QBuffer class is an I/O device that operates on a QByteArray.
void resize(Vector< T > &vec1, Index n1, const V &val)
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
char * at(uint index) const
The QGArray class is an internal class for implementing the QArray class.
void setSharedBlock(array_data *p)
array_data * sharedBlock() const
The QShared struct is internally used for implementing shared classes.
QGArray & operator=(const QGArray &a)