#include "AbstractFace.h" AbstractFace::AbstractFace(unsigned id) : mId(id) { } void AbstractFace::addVectorAttribute(const std::string& tag, const std::vector& values) { mVectorAttributes[tag] = values; } std::vector AbstractFace::getVectorAttribute(const std::string& tag) const { auto iter = mVectorAttributes.find(tag); if (iter != mVectorAttributes.end()) { return iter->second; } return {}; }