scaffold  1.0.0
Generates files and directories based on templates and user input
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
scaffold::Scafrex Class Reference

A scafrex as represented by the program. More...

#include <scafrex.h>

+ Inheritance diagram for scaffold::Scafrex:

Public Member Functions

 Scafrex (Scaffold *parent, const QStringList &init_files, const bbb::VarMap &var_map)
 constructor
 
virtual ~Scafrex (void)
 destructor;
 
int run (QCoreApplication &app)
 do the run and return the exit code
 
bool fixFilePath (const QString &s_in, QString &s_out)
 special function that replaces variables inside paths More...
 

Detailed Description

A scafrex as represented by the program.

Member Function Documentation

bool Scafrex::fixFilePath ( const QString &  s_in,
QString &  s_out 
)

special function that replaces variables inside paths

We need to use the NAMESPACE.VARIABLE notation inside paths because our ':' is a reserved character.

Parameters
s_inThe path to convert
s_outResulting path
Returns
false if an error occured

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