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

Public Member Functions

 CodeUnit (QString name, Model::Node *node)
 
void calculateDependencies (QList< CodeUnit * > &allUnits)
 
void calculateSourceFragments ()
 
CodeCompositecomposite () const
 
CodeUnitPartheaderPart ()
 
bool isTemplateImplementationSeparateFile ()
 
const QString & name () const
 
OOModel::ModulenameSpace ()
 
Model::Nodenode () const
 
void setComposite (CodeComposite *composite)
 
CodeUnitPartsourcePart ()
 

Private Member Functions

bool printInCppOnly (OOModel::Declaration *declaration) const
 

Private Attributes

CodeCompositecomposite_ {}
 
CodeUnitPart headerPart_ {this}
 
QString name_
 
Model::Nodenode_ {}
 
CodeUnitPart sourcePart_ {this}
 

Constructor & Destructor Documentation

◆ CodeUnit()

CppExport::CodeUnit::CodeUnit ( QString  name,
Model::Node node 
)

Member Function Documentation

◆ calculateDependencies()

void CppExport::CodeUnit::calculateDependencies ( QList< CodeUnit * > &  allUnits)

◆ calculateSourceFragments()

void CppExport::CodeUnit::calculateSourceFragments ( )

◆ composite()

CodeComposite * CppExport::CodeUnit::composite ( ) const
inline

◆ headerPart()

CodeUnitPart * CppExport::CodeUnit::headerPart ( )
inline

◆ isTemplateImplementationSeparateFile()

bool CppExport::CodeUnit::isTemplateImplementationSeparateFile ( )
inline

◆ name()

const QString & CppExport::CodeUnit::name ( ) const
inline

◆ nameSpace()

OOModel::Module * CppExport::CodeUnit::nameSpace ( )
inline

◆ node()

Model::Node * CppExport::CodeUnit::node ( ) const
inline

◆ printInCppOnly()

bool CppExport::CodeUnit::printInCppOnly ( OOModel::Declaration declaration) const
private

◆ setComposite()

void CppExport::CodeUnit::setComposite ( CodeComposite composite)
inline

◆ sourcePart()

CodeUnitPart * CppExport::CodeUnit::sourcePart ( )
inline

Member Data Documentation

◆ composite_

CodeComposite* CppExport::CodeUnit::composite_ {}
private

◆ headerPart_

CodeUnitPart CppExport::CodeUnit::headerPart_ {this}
private

◆ name_

QString CppExport::CodeUnit::name_
private

◆ node_

Model::Node* CppExport::CodeUnit::node_ {}
private

◆ sourcePart_

CodeUnitPart CppExport::CodeUnit::sourcePart_ {this}
private