Qt 4.8
Public Functions | Public Variables | List of all members
qt_token_info Struct Reference

Public Functions

 qt_token_info (const char *f, const ulong fc)
 

Public Variables

const ulong field_count
 
const char * fields
 
QVector< ulonglengths
 
QVector< const char * > results
 

Detailed Description

Definition at line 182 of file qlibrary.cpp.

Constructors and Destructors

◆ qt_token_info()

qt_token_info::qt_token_info ( const char *  f,
const ulong  fc 
)
inline

Definition at line 184 of file qlibrary.cpp.

185  : fields(f), field_count(fc), results(fc), lengths(fc)
186  {
187  results.fill(0);
188  lengths.fill(0);
189  }
const char * fields
Definition: qlibrary.cpp:191
QVector< T > & fill(const T &t, int size=-1)
Assigns value to all items in the vector.
Definition: qvector.h:665
QVector< const char * > results
Definition: qlibrary.cpp:194
QVector< ulong > lengths
Definition: qlibrary.cpp:195
const ulong field_count
Definition: qlibrary.cpp:192

Properties

◆ field_count

const ulong qt_token_info::field_count

Definition at line 192 of file qlibrary.cpp.

Referenced by qt_tokenize().

◆ fields

const char* qt_token_info::fields

Definition at line 191 of file qlibrary.cpp.

Referenced by qt_tokenize().

◆ lengths

QVector<ulong> qt_token_info::lengths

Definition at line 195 of file qlibrary.cpp.

Referenced by qt_parse_pattern(), qt_token_info(), and qt_tokenize().

◆ results

QVector<const char *> qt_token_info::results

Definition at line 194 of file qlibrary.cpp.

Referenced by qt_parse_pattern(), qt_token_info(), and qt_tokenize().


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