kig
#include <object_hierarchy.h>
Public Member Functions | |
ObjectHierarchy (const ObjectCalcer *from, const ObjectCalcer *to) | |
ObjectHierarchy (const std::vector< ObjectCalcer * > &from, const ObjectCalcer *to) | |
ObjectHierarchy (const std::vector< ObjectCalcer * > &from, const std::vector< ObjectCalcer * > &to) | |
ObjectHierarchy (const ObjectHierarchy &h) | |
~ObjectHierarchy () | |
bool | allGivenObjectsUsed () const |
ArgsParser | argParser () const |
std::vector< ObjectCalcer * > | buildObjects (const std::vector< ObjectCalcer * > &os, const KigDocument &) const |
std::vector< ObjectImp * > | calc (const Args &a, const KigDocument &doc) const |
const ObjectImpType * | idOfLastResult () const |
uint | numberOfArgs () const |
uint | numberOfResults () const |
bool | resultDoesNotDependOnGiven () const |
void | serialize (QDomElement &parent, QDomDocument &doc) const |
ObjectHierarchy | transformFinalObject (const Transformation &t) const |
ObjectHierarchy | withFixedArgs (const Args &a) const |
Static Public Member Functions | |
static ObjectHierarchy * | buildSafeObjectHierarchy (const QDomElement &parent, QString &error) |
Friends | |
bool | operator== (const ObjectHierarchy &lhs, const ObjectHierarchy &rhs) |
Detailed Description
Definition at line 30 of file object_hierarchy.h.
Constructor & Destructor Documentation
ObjectHierarchy::ObjectHierarchy | ( | const ObjectCalcer * | from, |
const ObjectCalcer * | to | ||
) |
Definition at line 768 of file object_hierarchy.cc.
ObjectHierarchy::ObjectHierarchy | ( | const std::vector< ObjectCalcer * > & | from, |
const ObjectCalcer * | to | ||
) |
Definition at line 402 of file object_hierarchy.cc.
ObjectHierarchy::ObjectHierarchy | ( | const std::vector< ObjectCalcer * > & | from, |
const std::vector< ObjectCalcer * > & | to | ||
) |
Definition at line 409 of file object_hierarchy.cc.
ObjectHierarchy::ObjectHierarchy | ( | const ObjectHierarchy & | h | ) |
Definition at line 347 of file object_hierarchy.cc.
ObjectHierarchy::~ObjectHierarchy | ( | ) |
Definition at line 342 of file object_hierarchy.cc.
Member Function Documentation
bool ObjectHierarchy::allGivenObjectsUsed | ( | ) | const |
Definition at line 777 of file object_hierarchy.cc.
ArgsParser ObjectHierarchy::argParser | ( | ) | const |
Definition at line 598 of file object_hierarchy.cc.
std::vector< ObjectCalcer * > ObjectHierarchy::buildObjects | ( | const std::vector< ObjectCalcer * > & | os, |
const KigDocument & | doc | ||
) | const |
build a set of objects that interdepend according to this ObjectHierarchy.
. Only the result objects are returned. Helper objects that connect the given objects with the returned objects, can only be found by following the returned objects' parents() methods..
Definition at line 613 of file object_hierarchy.cc.
|
static |
Deserialize the ObjectHierarchy data from the xml element parent
.
Since this operation can fail for some reasons, we provide it as a static to return 0 in case of error.
Definition at line 482 of file object_hierarchy.cc.
std::vector< ObjectImp * > ObjectHierarchy::calc | ( | const Args & | a, |
const KigDocument & | doc | ||
) | const |
Definition at line 256 of file object_hierarchy.cc.
const ObjectImpType * ObjectHierarchy::idOfLastResult | ( | ) | const |
Definition at line 634 of file object_hierarchy.cc.
|
inline |
Definition at line 99 of file object_hierarchy.h.
|
inline |
Definition at line 100 of file object_hierarchy.h.
bool ObjectHierarchy::resultDoesNotDependOnGiven | ( | ) | const |
Definition at line 677 of file object_hierarchy.cc.
void ObjectHierarchy::serialize | ( | QDomElement & | parent, |
QDomDocument & | doc | ||
) | const |
saves the ObjectHierarchy data in children xml tags of parent
.
Definition at line 414 of file object_hierarchy.cc.
ObjectHierarchy ObjectHierarchy::transformFinalObject | ( | const Transformation & | t | ) | const |
Definition at line 645 of file object_hierarchy.cc.
ObjectHierarchy ObjectHierarchy::withFixedArgs | ( | const Args & | a | ) | const |
this creates a new ObjectHierarchy, that takes a.size() less arguments, but uses copies of the ObjectImp's in a
instead.
Definition at line 358 of file object_hierarchy.cc.
Friends And Related Function Documentation
|
friend |
Definition at line 659 of file object_hierarchy.cc.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.