std::map< vertex::Type, Vertex::Ptr > TypeMap
Definition: VertexTypeManager.hpp:32
std::vector< Attribute > getAttributes(const vertex::Type &classname, bool includeLegacySupport=false) const
Definition: VertexTypeManager.cpp:150
VertexTypeManager()
constructor
Definition: VertexTypeManager.cpp:8
void setDefaultType(const std::string &type)
Definition: VertexTypeManager.cpp:87
void registerType(bool throwOnAlreadyRegistered=false)
Definition: VertexTypeManager.hpp:70
std::vector< std::string > getTypeHierarchy(const vertex::Type &type) const
Definition: VertexTypeManager.cpp:121
Factory for Vertex subclasses.
Definition: VertexTypeManager.hpp:29
const std::string & getDefaultType() const
Definition: VertexTypeManager.hpp:67
std::vector< std::pair< Attribute::Id, std::string > > getAttributeValues(const Vertex::Ptr &vertex) const
Definition: VertexTypeManager.cpp:209
std::vector< Attribute > getKnownAttributes(const std::set< std::string > &classnames=std::set< std::string >()) const
Definition: VertexTypeManager.cpp:190
std::set< std::string > getSupportedTypes() const
Definition: VertexTypeManager.cpp:116
Vertex::Ptr createVertex(const vertex::Type &type, const std::string &label=std::string(), bool throwOnMissing=false)
clones a new vertex of a specified type
Definition: VertexTypeManager.cpp:97