|
Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
| CodeComposite (const QString &name) | |
| QList< CodeUnit * > & | additionalDependencies () |
| void | addUnit (CodeUnit *unit) |
| void | fragments (Export::SourceFragment *&header, Export::SourceFragment *&source) |
| QString | headerPartExtension () |
| bool | isTemplateImplementationSeparateFile () |
| bool | isXMacroData () |
| bool | isXMacroInstantiation () |
| const QString & | name () const |
| QString | sourcePartExtension () |
| const QList< CodeUnit * > & | units () const |
Private Member Functions | |
| Export::CompositeFragment * | addNamespaceFragment (Export::CompositeFragment *parentFragment, OOModel::Module *namespaceNode) |
| QSet< CodeComposite * > | calculateDependencies (CodeUnitPart *(CodeUnit::*part)()) |
| calculate all hard dependencies of this composite 'part' More... | |
| Export::SourceFragment * | headerFragment () |
| QList< CodeUnit * > | nonEmptyUnits (CodeUnitPart *(CodeUnit::*part)()) |
| calculate code units in this composite which have non empty 'part' More... | |
| Export::SourceFragment * | partFragment (CodeUnitPart *(CodeUnit::*part)()) |
| Export::CompositeFragment * | printForwardDeclaration (OOModel::Class *classs) |
| Export::CompositeFragment * | printHardDependencies (CodeUnitPart *(CodeUnit::*part)(), QSet< CodeComposite * > hardDependencies) |
| void | printRemainingSoftDependencies (QList< OOModel::Class * > remainingSoftDependencies, Export::CompositeFragment *fragment) |
| group forward declarations by namespace and prints them in fragment More... | |
| QSet< DependencyTarget > | reduceSoftDependencies (QSet< CodeComposite * > hardDependencies, QSet< DependencyTarget > softDependencies) |
| QString | relativePath (CodeComposite *other) |
| QSet< Model::Node * > | softDependenciesInHeaderParts () |
| all forward declarations in header parts of this composite's units. More... | |
| void | sortUnits (CodeUnitPart *(CodeUnit::*part)(), std::function< QSet< CodeUnitPart * >(CodeUnitPart *)> dependencies) |
| Export::SourceFragment * | sourceFragment () |
Static Private Member Functions | |
| static Export::SourceFragment * | addPragmaOnce (Export::SourceFragment *fragment) |
Private Attributes | |
| QList< CodeUnit * > | additionalUnitsThisDependsOn_ |
| const QString | name_ |
| QList< CodeUnit * > | units_ |
| CppExport::CodeComposite::CodeComposite | ( | const QString & | name | ) |
|
inline |
|
private |
|
staticprivate |
| void CppExport::CodeComposite::addUnit | ( | CodeUnit * | unit | ) |
|
private |
calculate all hard dependencies of this composite 'part'
| void CppExport::CodeComposite::fragments | ( | Export::SourceFragment *& | header, |
| Export::SourceFragment *& | source | ||
| ) |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
calculate code units in this composite which have non empty 'part'
|
private |
|
private |
|
private |
|
private |
group forward declarations by namespace and prints them in fragment
|
private |
|
private |
|
private |
all forward declarations in header parts of this composite's units.
|
private |
|
inlineprivate |
|
inline |
|
inline |
|
private |
|
private |
|
private |