Template Class Graph::AttributeStorage

Nested Relationships

This class is a nested type of Class Graph.

Inheritance Relationships

Base Type

  • public Base< NodeOrEdge >

Class Documentation

template<typename NodeOrEdge, template<typename> class Base, typename T>
class AttributeStorage : public Base<NodeOrEdge>

Public Functions

inline AttributeStorage(const Graph *theGraph, std::string name)
inline void resize(index i)
inline auto size() const noexcept
inline void set(index i, T &&v)
inline T get(index i) const
inline T get(index i, T defaultT) const noexcept

Public Members

friend Attribute< NodeOrEdge, T >