Wildmeshing Toolkit
AttributeScope.hxx
Go to the documentation of this file.
2 #include "AttributeScope.hpp"
3 namespace wmtk::attribute {
4 
5 template <typename T>
7 {}
8 template <typename T>
10 {}
11 template <typename T>
12 inline AttributeScope<T>::AttributeScope(std::unique_ptr<AttributeScope>&& next)
13 {}
14 
15 
16 template <typename T>
17 inline void AttributeScope<T>::apply(Attribute<T>& attr) const
18 {
20 }
21 template <typename T>
22 inline void AttributeScope<T>::apply(const Attribute<T>& attr, std::vector<T>& data)
23 {
24  AttributeCache<T>::apply_to(attr, data);
25 }
26 
27 
28 // template class AttributeScope<int64_t>;
29 // template class AttributeScope<double>;
30 // template class AttributeScope<char>;
31 // template class AttributeScope<Rational>;
32 } // namespace wmtk::attribute
This class stores data of type T in a vector.
Definition: Attribute.hpp:32
void apply(Attribute< T > &attr) const
void apply_to(Attribute< T > &attribute) const