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

Public Member Functions

QString envisionReadPath () const
 Path to Envision to create a wrapper. More...
 
QString exportPath () const
 Returns the export file path. More...
 
int maxLineLength () const
 Returns the maximum line length in the exported file. More...
 
QHash< QString, QString > subdirsToNamespaceMap () const
 Returns a map of subdirs which should be looked at when wrapping. More...
 

Static Public Member Functions

static const Configinstance ()
 

Private Member Functions

 Config ()
 

Private Attributes

QJsonObject config_
 

Constructor & Destructor Documentation

◆ Config()

Config::Config ( )
private

Member Function Documentation

◆ envisionReadPath()

QString Config::envisionReadPath ( ) const

Path to Envision to create a wrapper.

ConfigKey: "EnvisionPath"

◆ exportPath()

QString Config::exportPath ( ) const

Returns the export file path.

ConfigKeys: "ExportPath"

◆ instance()

const Config & Config::instance ( )
static

◆ maxLineLength()

int Config::maxLineLength ( ) const

Returns the maximum line length in the exported file.

ConfigKey: "MaxLineLength"

◆ subdirsToNamespaceMap()

QHash< QString, QString > Config::subdirsToNamespaceMap ( ) const

Returns a map of subdirs which should be looked at when wrapping.

The key represents the subdir path name and the value the corresponding namespace name.

Example key: "ModelBase", value: "Model"

ConfigKey: "SubDirs"

Member Data Documentation

◆ config_

QJsonObject Config::config_
private