Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
CppExport::Config Class Reference

Public Member Functions

QHash< QString, QString > dependencyUnitMergeMap () const
 Returns a map of dependency unit name to dependency unit name. More...
 
QSet< QString > separateTemplateImplementationSet () const
 Returns a set containing the names of all code composites which contain a separate template implemenation. More...
 

Static Public Member Functions

static const Configinstance ()
 

Private Member Functions

 Config ()
 
QHash< QString, QString > createMap (QJsonObject config, const QString &key) const
 
QSet< QString > createSet (QJsonObject config, const QString &key) const
 

Private Attributes

QJsonObject config_
 
QHash< QString, QString > dependencyUnitMergeMap_
 
QSet< QString > separateTemplateImplementationSet_
 

Constructor & Destructor Documentation

◆ Config()

Config::Config ( )
private

Member Function Documentation

◆ createMap()

QHash< QString, QString > Config::createMap ( QJsonObject  config,
const QString &  key 
) const
private

◆ createSet()

QSet< QString > Config::createSet ( QJsonObject  config,
const QString &  key 
) const
private

◆ dependencyUnitMergeMap()

QHash< QString, QString > Config::dependencyUnitMergeMap ( ) const
inline

Returns a map of dependency unit name to dependency unit name.

The key represents the dependency unit that should be merged into the dependency unit represented by the value.

Example: key: "Model/NodeToDebugStringAdapter", value: "Model/Node" merges NodeToDebugStringAdapter's dependency unit into Node's dependency unit.

ConfigKey: "DependencyUnitMergeMap"

◆ instance()

const Config & Config::instance ( )
static

◆ separateTemplateImplementationSet()

QSet< QString > Config::separateTemplateImplementationSet ( ) const
inline

Returns a set containing the names of all code composites which contain a separate template implemenation.

Member Data Documentation

◆ config_

QJsonObject CppExport::Config::config_
private

◆ dependencyUnitMergeMap_

QHash<QString, QString> CppExport::Config::dependencyUnitMergeMap_
private

◆ separateTemplateImplementationSet_

QSet<QString> CppExport::Config::separateTemplateImplementationSet_
private