kig
object_hierarchy.h
Go to the documentation of this file.
46 int storeObject( const ObjectCalcer*, const std::vector<ObjectCalcer*>& po, std::vector<int>& pl,
95 std::vector<ObjectCalcer*> buildObjects( const std::vector<ObjectCalcer*>& os, const KigDocument& ) const;
Instances of this class represent a certain ObjectImp type.
Definition: object_imp.h:95
const ObjectImpType * idOfLastResult() const
Definition: object_hierarchy.cc:634
friend bool operator==(const ObjectHierarchy &lhs, const ObjectHierarchy &rhs)
Definition: object_hierarchy.cc:659
Definition: object_hierarchy.h:30
static ObjectHierarchy * buildSafeObjectHierarchy(const QDomElement &parent, QString &error)
Deserialize the ObjectHierarchy data from the xml element parent .
Definition: object_hierarchy.cc:482
bool operator==(const ObjectHierarchy &lhs, const ObjectHierarchy &rhs)
Definition: object_hierarchy.cc:659
void serialize(QDomElement &parent, QDomDocument &doc) const
saves the ObjectHierarchy data in children xml tags of parent .
Definition: object_hierarchy.cc:414
std::vector< ObjectImp * > calc(const Args &a, const KigDocument &doc) const
Definition: object_hierarchy.cc:256
ObjectHierarchy withFixedArgs(const Args &a) const
this creates a new ObjectHierarchy, that takes a.size() less arguments, but uses copies of the Object...
Definition: object_hierarchy.cc:358
An ObjectCalcer is an object that represents an algorithm for calculating an ObjectImp from other Obj...
Definition: object_calcer.h:66
This class is meant to take care of checking the types of the parents to ObjectCalcer's, and to put them in the correct order.
Definition: argsparser.h:106
static bool visit(const ObjectCalcer *o, const std::vector< ObjectCalcer * > &from, std::vector< ObjectCalcer * > &ret)
Definition: calcpaths.cc:193
std::vector< ObjectCalcer * > buildObjects(const std::vector< ObjectCalcer * > &os, const KigDocument &) const
build a set of objects that interdepend according to this ObjectHierarchy.
Definition: object_hierarchy.cc:613
bool allGivenObjectsUsed() const
Definition: object_hierarchy.cc:777
KigDocument is the class holding the real data in a Kig document.
Definition: kig_document.h:36
bool resultDoesNotDependOnGiven() const
Definition: object_hierarchy.cc:677
ObjectHierarchy transformFinalObject(const Transformation &t) const
Definition: object_hierarchy.cc:645
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.