33 const QString& name() {
return _name; }
43 template <IndexT, ValueT>
49 typedef std::pari<IndexT, ValueT> AttribPair;
58 std::unordered_map<
IndexT, ValueT>& data() {
return _data; };
59 const std::unordered_map<IndexT, ValueT>& data() {
return _data; };
62 std::unordered_map<IndexT, ValueT> _data;
68 AttribBase *
get(
const QString &s);
69 AttribBase *exists(
const QString &s);
70 AttribBase *add(
const QString &s);
74 std::vector<AttribBase> _attribs;
IndexT
Type of the pair used in the attribute map.
AttribBase(const QString &name) const QString & name()
Default constructor of named attribute.
Definition: Attributes.hpp:54
Attrib(const QString &name, ValueT &defVal)
Constructor.
Definition: Attributes.hpp:55
Base class for attributes system.
Definition: Attributes.hpp:18
Derived template class for attributes system.
Definition: Attributes.hpp:18
This files contains the definition of a mesh for the Process API.