Go to the documentation of this file.
4 #include <boost/graph/adjacency_list.hpp>
9 typedef boost::adjacency_list<boost::setS, boost::vecS, boost::bidirectionalS, boost::property<boost::vertex_name_t, std::string> >
ObjectGraph_Type;
20 using RelGraph_Type = boost::adjacency_list<boost::listS, boost::setS, boost::bidirectionalS,NodeInfo,EdgeInfo >;
23 using RelGraph_Link = std::pair<Core::PropertyLinkBaseBase*,Core::DocObject*>;
55 std::unordered_map<size_t,RelGraph_Vertex> _object_to_vertex;
58 std::recursive_mutex m_mutex;
void removeRelationShip(PropertyLinkBaseBase *p, Core::DocObject *from, Core::DocObject *to)
Definition: CoreDocument.h:269
Core::PropertyLinkBaseBase * getProperty(Core::DocObject *docObj, size_t pos)
void breakLinks(Core::DocObject *from)
std::vector< Link > mProblems
Definition: RelGraph.h:49
Definition: PropertyLinkBaseBase.h:8
Core::Link getOutEdges(Core::DocObject *docObj)
ObjectGraph_Type::vertex_descriptor Object_Vertex
Definition: RelGraph.h:10
RelGraph_Type::vertex_descriptor RelGraph_Vertex
Definition: RelGraph.h:21
void removeObject(Core::DocObject *obj)
RelGraph(Core::CoreDocument *doc)
void removeRelationShips(PropertyLinkBaseBase *p, Core::DocObject *from, const std::list< Core::DocObject * > &linkList)
void addRelationShip(PropertyLinkBaseBase *p, Core::DocObject *from, Core::DocObject *to)
void addRelationShips(PropertyLinkBaseBase *p, Core::DocObject *from, const std::list< Core::DocObject * > &linkList)
Definition: DocObject.h:54
void addRelationShips(PropertyLinkBaseBase *p, Core::DocObject *from, const std::unordered_set< Core::DocObject * > &linkSet)
Definition: RelGraph.h:16
RelGraph_Type::edge_descriptor RelGraph_Edge
Definition: RelGraph.h:22
std::pair< Core::PropertyLinkBaseBase *, Core::DocObject * > RelGraph_Link
Definition: RelGraph.h:23
bool hasRelationShip(PropertyLinkBaseBase *p, Core::DocObject *from, Core::DocObject *to)
boost::adjacency_list< boost::setS, boost::vecS, boost::bidirectionalS, boost::property< boost::vertex_name_t, std::string > > ObjectGraph_Type
Definition: RelGraph.h:9
void removeRelationShips(PropertyLinkBaseBase *p, Core::DocObject *from, const std::unordered_set< Core::DocObject * > &linkSet)
size_t id
Definition: RelGraph.h:16
Definition: CoreDocument.h:55
size_t pos
Definition: RelGraph.h:17
Core::Link getInEdges(Core::DocObject *docObj)
Definition: RelGraph.h:26
Definition: RelGraph.h:17
boost::adjacency_list< boost::listS, boost::setS, boost::bidirectionalS, NodeInfo, EdgeInfo > RelGraph_Type
Definition: RelGraph.h:20