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
MetaStack Class Reference

This class maintains a stack of values of config file variables. More...

+ Inheritance diagram for MetaStack:
+ Collaboration diagram for MetaStack:

Public Member Functions

 MetaStack ()
 The default constructor pushes a new stack entry and opens it.
 
void process (QChar ch, const Location &location)
 Processes the character ch using the location.
 
QStringList getExpanded (const Location &location)
 Returns the accumulated string values.
 
 MetaStack ()
 
void process (QChar ch, const Location &location)
 
QStringList getExpanded (const Location &location)
 

Detailed Description

This class maintains a stack of values of config file variables.

Definition at line 136 of file config.cpp.

Constructor & Destructor Documentation

◆ MetaStack() [1/2]

MetaStack::MetaStack ( )

The default constructor pushes a new stack entry and opens it.

Definition at line 149 of file config.cpp.

◆ MetaStack() [2/2]

MetaStack::MetaStack ( )

Member Function Documentation

◆ getExpanded() [1/2]

QStringList MetaStack::getExpanded ( const Location & location)

Returns the accumulated string values.

Definition at line 190 of file config.cpp.

◆ getExpanded() [2/2]

QStringList MetaStack::getExpanded ( const Location & location)

◆ process() [1/2]

void MetaStack::process ( QChar ch,
const Location & location )

Processes the character ch using the location.

It really just builds up a name by appending ch to it.

Definition at line 160 of file config.cpp.

◆ process() [2/2]

void MetaStack::process ( QChar ch,
const Location & location )

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