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
QQmltc::OutputWrapper Class Reference

#include <qqmltcoutputprimitives_p.h>

Collaboration diagram for QQmltc::OutputWrapper:

Classes

struct  MemberNameScope
struct  HeaderIndentationScope
struct  CppIndentationScope

Public Member Functions

 OutputWrapper (Output &code)
const Outputcode () const
template<typename String>
void rawAppendToHeader (const String &what, int extraIndent=0)
template<typename String>
void rawAppendToCpp (const String &what, int extraIndent=0)
template<typename String>
void rawAppendSignatureToCpp (const String &what, int extraIndent=0)

Public Attributes

QStack< QStringmemberScopes
int headerIndent = 0
int cppIndent = 0

Detailed Description

Definition at line 33 of file qqmltcoutputprimitives_p.h.

Constructor & Destructor Documentation

◆ OutputWrapper()

QQmltc::OutputWrapper::OutputWrapper ( Output & code)
inline

Definition at line 45 of file qqmltcoutputprimitives_p.h.

Member Function Documentation

◆ code()

const Output & QQmltc::OutputWrapper::code ( ) const
inline

Definition at line 46 of file qqmltcoutputprimitives_p.h.

◆ rawAppendSignatureToCpp()

template<typename String>
void QQmltc::OutputWrapper::rawAppendSignatureToCpp ( const String & what,
int extraIndent = 0 )
inline

Definition at line 103 of file qqmltcoutputprimitives_p.h.

◆ rawAppendToCpp()

template<typename String>
void QQmltc::OutputWrapper::rawAppendToCpp ( const String & what,
int extraIndent = 0 )
inline

Definition at line 95 of file qqmltcoutputprimitives_p.h.

References cppIndent.

◆ rawAppendToHeader()

template<typename String>
void QQmltc::OutputWrapper::rawAppendToHeader ( const String & what,
int extraIndent = 0 )
inline

Definition at line 87 of file qqmltcoutputprimitives_p.h.

References headerIndent.

Member Data Documentation

◆ cppIndent

◆ headerIndent

◆ memberScopes

QStack<QString> QQmltc::OutputWrapper::memberScopes

Definition at line 48 of file qqmltcoutputprimitives_p.h.


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