umbrello/umbrello
classifiercodedocument.h
Go to the documentation of this file.
64 CodeClassFieldList getSpecificClassFields(CodeClassField::ClassFieldType cfType, Uml::Visibility::Enum visibility);
65 CodeClassFieldList getSpecificClassFields(CodeClassField::ClassFieldType cfType, bool isStatic, Uml::Visibility::Enum visibility);
bool removeCodeClassField(CodeClassField *remove_object)
Remove a CodeClassField object from m_classfieldVector List.
Definition: classifiercodedocument.cpp:220
void addAttributeClassField(UMLClassifierListItem *at, bool syncToParentIfAdded=true)
Synchronize this document to the attributes/associations of the parent classifier.
Definition: classifiercodedocument.cpp:195
CodeClassFieldList getSpecificClassFields(CodeClassField::ClassFieldType cfType)
Get a list of codeclassifier objects held by this classifiercodedocument that meet the passed criteri...
Definition: classifiercodedocument.cpp:54
virtual bool addCodeOperation(CodeOperation *opBlock)=0
Will add the code operation in the correct place in the document.
bool hasAttributeClassFields()
Tell if one or more codeclassfields are derived from attributes.
Definition: classifiercodedocument.cpp:166
TextBlock * findCodeClassFieldTextBlockByTag(const QString &tag)
Find a specific textblock held by any code class field in this document by its tag.
Definition: classifiercodedocument.cpp:766
This class defines the non-graphical information required for a UML Classifier (ie a class or interfa...
Definition: classifier.h:39
virtual void initCodeClassFields()
Add codeclassfields to this classifiercodedocument.
Definition: classifiercodedocument.cpp:535
virtual void updateContent()=0
Update the content of this code document.
Classifiers (classes, interfaces) have lists of operations, attributes, templates and others...
Definition: classifierlistitem.h:29
class ClassifierCodeDocument A CodeDocument which represents a UMLClassifier (e.g.
Definition: classifiercodedocument.h:33
void removeOperation(UMLClassifierListItem *obj)
Definition: classifiercodedocument.cpp:326
bool addCodeClassField(CodeClassField *add_object)
Add a CodeClassField object to the m_classfieldVector List We DON'T add methods of the code classfiel...
Definition: classifiercodedocument.cpp:178
CodeClassFieldList * getCodeClassFieldList()
Get the list of CodeClassField objects held by m_classfieldVector.
Definition: classifiercodedocument.cpp:262
virtual void saveToXMI(QDomDocument &doc, QDomElement &root)
Save the XMI representation of this object.
Definition: classifiercodedocument.cpp:708
virtual void setAttributesOnNode(QDomDocument &doc, QDomElement &blockElement)
Set attributes of the node that represents this class in the XMI document.
Definition: classifiercodedocument.cpp:744
void loadClassFieldsFromXMI(QDomElement &childElem)
Load CodeClassFields from XMI element node.
Definition: classifiercodedocument.cpp:674
void addOperation(UMLClassifierListItem *obj)
Definition: classifiercodedocument.cpp:298
UMLClassifier * getParentClassifier()
Get the value of m_parentclassifier.
Definition: classifiercodedocument.cpp:271
void syncClassFields()
Force synchronization of child classfields to their parent objects.
Definition: classifiercodedocument.cpp:488
virtual void setAttributesFromNode(QDomElement &element)
Set the class attributes of this object from the passed element node.
Definition: classifiercodedocument.cpp:615
void removeAttributeClassField(UMLClassifierListItem *at)
Definition: classifiercodedocument.cpp:236
This class contains the non-graphic representation of an association.
Definition: association.h:32
bool parentIsClass()
Return if the parent classifier is a class.
Definition: classifiercodedocument.cpp:405
Definition: codeoperation.h:23
bool parentIsInterface()
Return if the parent classifier is an interface.
Definition: classifiercodedocument.cpp:413
CodeClassField * findCodeClassFieldFromParentID(Uml::ID::Type id, int role_id=-1)
Definition: classifiercodedocument.cpp:644
This abstract class is for code generator objects which 'own' text blocks.
Definition: codegenobjectwithtextblocks.h:31
virtual void loadFromXMI(QDomElement &root)
Load params from the appropriate XMI element node.
Definition: classifiercodedocument.cpp:731
QList< CodeOperation * > getCodeOperations()
Get a list of codeoperation objects held by this classifiercodedocument.
Definition: classifiercodedocument.cpp:280
Definition: hierarchicalcodeblock.h:22
The fundemental unit of text within an output file containing code.
Definition: textblock.h:24
This class contains the non-graphic representation of an association role.
Definition: umlrole.h:24
void syncNamesToParent()
IF the classifier object is modified, this will get called.
Definition: classifiercodedocument.cpp:461
bool hasAssociationClassFields()
Tell if one or more codeclassfields are derived from associations.
Definition: classifiercodedocument.cpp:157
void removeAssociationClassField(UMLAssociation *assoc)
Definition: classifiercodedocument.cpp:243
void declareClassFields(CodeClassFieldList &list, CodeGenObjectWithTextBlocks *parent)
Add declaration blocks for the passed classfields.
Definition: classifiercodedocument.cpp:373
void addAssociationClassField(UMLAssociation *assoc, bool syncToParentIfAdded=true)
Definition: classifiercodedocument.cpp:570
bool hasObjectVectorClassFields()
Tell if any of the accessor classfields will be of lists of objects.
Definition: classifiercodedocument.cpp:124
bool hasClassFields()
Does this object have any classfields declared?
Definition: classifiercodedocument.cpp:147
void addCodeClassFieldMethods(CodeClassFieldList &list)
A utility method that allows user to easily add classfield methods to this document.
Definition: classifiercodedocument.cpp:348
virtual void synchronize()
Cause this classifier code document to synchronize to current policy.
Definition: classifiercodedocument.cpp:475
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.