OpenLexocad
27.0
|
#include <GraphBuilder.h>
Public Member Functions | |
ObjectGraph () | |
ObjectGraph (const ObjectGraph &rhs) | |
ObjectGraph (std::vector< Core::DocObject * > objs, bool ignoreLinksToTemporaryObjects=false) | |
~ObjectGraph () | |
void | clear () |
bool | addObject (const Core::DocObject *o) |
bool | removeObject (const Core::DocObject *o) |
bool | updateObject (const Core::DocObject *o) |
bool | hasObject (const Core::DocObject *o) const |
bool | recreate (std::vector< const Core::DocObject * > toDelete) |
bool | allLinksConnected () |
bool | updateObject_BackLink (const Core::DocObject *o) |
std::vector< Core::DocObject * > | build_SubGraph (const std::vector< Core::DocObject * > &featureSet) |
std::vector< const Core::DocObject * > | getInner (const Core::DocObject *o, std::function< bool(const Core::DocObject *)> *allowToAddObject=0) |
std::vector< const Core::DocObject * > | getOuter (const Core::DocObject *o) |
std::vector< const Core::DocObject * > | getTopologicalSorted () |
std::vector< const Core::DocObject * > | getLinksToMe (const Core::DocObject *o) |
std::vector< const Core::DocObject * > | getLinksFromMe (const Core::DocObject *o) |
std::vector< const Core::DocObject * > | getBackLinksToMe (const Core::DocObject *o) |
std::vector< const Core::DocObject * > | getBackLinksFromMe (const Core::DocObject *o) |
bool | checkForCycle () |
std::string | dump () |
std::vector< std::string > | getErrors () |
Core::ObjectGraph::ObjectGraph | ( | ) |
Core::ObjectGraph::ObjectGraph | ( | const ObjectGraph & | rhs | ) |
Core::ObjectGraph::ObjectGraph | ( | std::vector< Core::DocObject * > | objs, |
bool | ignoreLinksToTemporaryObjects = false |
||
) |
Core::ObjectGraph::~ObjectGraph | ( | ) |
bool Core::ObjectGraph::addObject | ( | const Core::DocObject * | o | ) |
bool Core::ObjectGraph::allLinksConnected | ( | ) |
std::vector<Core::DocObject*> Core::ObjectGraph::build_SubGraph | ( | const std::vector< Core::DocObject * > & | featureSet | ) |
bool Core::ObjectGraph::checkForCycle | ( | ) |
void Core::ObjectGraph::clear | ( | ) |
std::string Core::ObjectGraph::dump | ( | ) |
std::vector<const Core::DocObject*> Core::ObjectGraph::getBackLinksFromMe | ( | const Core::DocObject * | o | ) |
std::vector<const Core::DocObject*> Core::ObjectGraph::getBackLinksToMe | ( | const Core::DocObject * | o | ) |
std::vector< std::string > Core::ObjectGraph::getErrors | ( | ) |
std::vector<const Core::DocObject*> Core::ObjectGraph::getInner | ( | const Core::DocObject * | o, |
std::function< bool(const Core::DocObject *)> * | allowToAddObject = 0 |
||
) |
std::vector<const Core::DocObject*> Core::ObjectGraph::getLinksFromMe | ( | const Core::DocObject * | o | ) |
std::vector<const Core::DocObject*> Core::ObjectGraph::getLinksToMe | ( | const Core::DocObject * | o | ) |
std::vector<const Core::DocObject*> Core::ObjectGraph::getOuter | ( | const Core::DocObject * | o | ) |
std::vector<const Core::DocObject*> Core::ObjectGraph::getTopologicalSorted | ( | ) |
bool Core::ObjectGraph::hasObject | ( | const Core::DocObject * | o | ) | const |
bool Core::ObjectGraph::recreate | ( | std::vector< const Core::DocObject * > | toDelete | ) |
bool Core::ObjectGraph::removeObject | ( | const Core::DocObject * | o | ) |
bool Core::ObjectGraph::updateObject | ( | const Core::DocObject * | o | ) |
bool Core::ObjectGraph::updateObject_BackLink | ( | const Core::DocObject * | o | ) |