Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
proitems.h File Reference

(acb2b75531a66399728b36d19ac69b265271e1be)

#include "qmake_global.h"
#include <qdebug.h>
#include <qhash.h>
#include <qlist.h>
#include <qmap.h>
#include <qstring.h>
+ Include dependency graph for proitems.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ProItemRefCount
 
class  ProString
 
class  ProKey
 
struct  QConcatenable< ProString >
 
struct  QConcatenable< ProKey >
 
class  ProStringRoUser
 
class  ProStringRwUser
 
class  ProStringList
 
class  ProFile
 
class  ProFunctionDef
 
struct  ProFunctionDefs
 

Macros

#define PROITEM_EXPLICIT   explicit
 

Typedefs

typedef QMap< ProKey, ProStringListProValueMap
 

Enumerations

enum  ProToken {
  TokTerminator = 0 , TokLine , TokAssign , TokAppend ,
  TokAppendUnique , TokRemove , TokReplace , TokValueTerminator ,
  TokLiteral , TokHashLiteral , TokVariable , TokProperty ,
  TokEnvVar , TokFuncName , TokArgSeparator , TokFuncTerminator ,
  TokCondition , TokTestCall , TokReturn , TokBreak ,
  TokNext , TokNot , TokAnd , TokOr ,
  TokBranch , TokForLoop , TokTestDef , TokReplaceDef ,
  TokBypassNesting , TokMask = 0xff , TokQuoted = 0x100 , TokNewStr = 0x200
}
 

Functions

 Q_DECLARE_TYPEINFO (ProString, Q_RELOCATABLE_TYPE)
 
 Q_DECLARE_TYPEINFO (ProKey, Q_RELOCATABLE_TYPE)
 
size_t qHash (const ProString &str)
 
QStringoperator+= (QString &that, const ProString &other)
 
QTextStreamoperator<< (QTextStream &t, const ProString &str)
 
template<typename A , typename B >
QTextStreamoperator<< (QTextStream &t, const QStringBuilder< A, B > &str)
 
 Q_DECLARE_TYPEINFO (ProStringList, Q_RELOCATABLE_TYPE)
 
ProStringList operator+ (const ProStringList &one, const ProStringList &two)
 
 Q_DECLARE_TYPEINFO (ProFunctionDef, Q_RELOCATABLE_TYPE)
 
QDebug operator<< (QDebug debug, const ProString &str)
 

Macro Definition Documentation

◆ PROITEM_EXPLICIT

#define PROITEM_EXPLICIT   explicit

Definition at line 34 of file proitems.h.

Typedef Documentation

◆ ProValueMap

Definition at line 330 of file proitems.h.

Enumeration Type Documentation

◆ ProToken

enum ProToken
Enumerator
TokTerminator 
TokLine 
TokAssign 
TokAppend 
TokAppendUnique 
TokRemove 
TokReplace 
TokValueTerminator 
TokLiteral 
TokHashLiteral 
TokVariable 
TokProperty 
TokEnvVar 
TokFuncName 
TokArgSeparator 
TokFuncTerminator 
TokCondition 
TokTestCall 
TokReturn 
TokBreak 
TokNext 
TokNot 
TokAnd 
TokOr 
TokBranch 
TokForLoop 
TokTestDef 
TokReplaceDef 
TokBypassNesting 
TokMask 
TokQuoted 
TokNewStr 

Definition at line 333 of file proitems.h.

Function Documentation

◆ operator+()

ProStringList operator+ ( const ProStringList & one,
const ProStringList & two )
inline

Definition at line 327 of file proitems.h.

◆ operator+=()

QString & operator+= ( QString & that,
const ProString & other )
inline

Definition at line 237 of file proitems.h.

◆ operator<<() [1/3]

QDebug operator<< ( QDebug debug,
const ProString & str )

Definition at line 463 of file proitems.cpp.

References ProString::toQString().

+ Here is the call graph for this function:

◆ operator<<() [2/3]

QTextStream & operator<< ( QTextStream & t,
const ProString & str )

Definition at line 298 of file proitems.cpp.

◆ operator<<() [3/3]

template<typename A , typename B >
QTextStream & operator<< ( QTextStream & t,
const QStringBuilder< A, B > & str )

Definition at line 242 of file proitems.h.

◆ Q_DECLARE_TYPEINFO() [1/4]

Q_DECLARE_TYPEINFO ( ProFunctionDef ,
Q_RELOCATABLE_TYPE  )

◆ Q_DECLARE_TYPEINFO() [2/4]

Q_DECLARE_TYPEINFO ( ProKey ,
Q_RELOCATABLE_TYPE  )

◆ Q_DECLARE_TYPEINFO() [3/4]

Q_DECLARE_TYPEINFO ( ProString ,
Q_RELOCATABLE_TYPE  )

◆ Q_DECLARE_TYPEINFO() [4/4]

Q_DECLARE_TYPEINFO ( ProStringList ,
Q_RELOCATABLE_TYPE  )

◆ qHash()

size_t qHash ( const ProString & str)

Definition at line 95 of file proitems.cpp.