Public Member Functions | Public Attributes | List of all members
QStringData Struct Reference

#include <qstring.h>

Inheritance diagram for QStringData:
QShared

Public Member Functions

 QStringData ()
 
 QStringData (QChar *u, uint l, uint m)
 
 ~QStringData ()
 
void deleteSelf ()
 
- Public Member Functions inherited from QShared
 QShared ()
 
void ref ()
 
bool deref ()
 

Public Attributes

QCharunicode
 
char * ascii
 
uint len
 
uint maxl:30
 
uint dirtyascii:1
 
- Public Attributes inherited from QShared
uint count
 

Detailed Description

Definition at line 332 of file qstring.h.

Constructor & Destructor Documentation

QStringData::QStringData ( )
inline

Definition at line 333 of file qstring.h.

333  :
334  unicode(0), ascii(0), len(0), maxl(0), dirtyascii(0) { ref(); }
char * ascii
Definition: qstring.h:343
uint len
Definition: qstring.h:344
uint maxl
Definition: qstring.h:345
void ref()
Definition: qshared.h:49
uint dirtyascii
Definition: qstring.h:346
QChar * unicode
Definition: qstring.h:342
QStringData::QStringData ( QChar u,
uint  l,
uint  m 
)
inline

Definition at line 335 of file qstring.h.

335  :
336  unicode(u), ascii(0), len(l), maxl(m), dirtyascii(0) { }
char * ascii
Definition: qstring.h:343
uint len
Definition: qstring.h:344
static QStrList * l
Definition: config.cpp:1044
uint maxl
Definition: qstring.h:345
uint dirtyascii
Definition: qstring.h:346
QChar * unicode
Definition: qstring.h:342
QStringData::~QStringData ( )
inline

Definition at line 338 of file qstring.h.

338  { if ( unicode ) delete[] ((char*)unicode);
339  if ( ascii ) delete[] ascii; }
char * ascii
Definition: qstring.h:343
QChar * unicode
Definition: qstring.h:342

Member Function Documentation

void QStringData::deleteSelf ( )

Definition at line 12383 of file qstring.cpp.

12384 {
12385  delete this;
12386 }

Member Data Documentation

char* QStringData::ascii

Definition at line 343 of file qstring.h.

uint QStringData::dirtyascii

Definition at line 346 of file qstring.h.

uint QStringData::len

Definition at line 344 of file qstring.h.

uint QStringData::maxl

Definition at line 345 of file qstring.h.

QChar* QStringData::unicode

Definition at line 342 of file qstring.h.


The documentation for this struct was generated from the following files: