Wildmeshing Toolkit
AttributeScope.hxx
Go to the documentation of this file.
1
#include <
wmtk/utils/Rational.hpp
>
2
#include "
AttributeScope.hpp
"
3
namespace
wmtk::attribute
{
4
5
template
<
typename
T>
6
inline
AttributeScope<T>::AttributeScope
()
7
{}
8
template
<
typename
T>
9
inline
AttributeScope<T>::~AttributeScope
()
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
{
19
AttributeCache<T>::apply_to
(attr);
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
AttributeScope.hpp
Rational.hpp
wmtk::attribute::Attribute
This class stores data of type T in a vector.
Definition:
Attribute.hpp:32
wmtk::attribute::AttributeScope::~AttributeScope
~AttributeScope()
Definition:
AttributeScope.hxx:9
wmtk::attribute::AttributeScope::AttributeScope
AttributeScope()
Definition:
AttributeScope.hxx:6
wmtk::attribute::AttributeScope::apply
void apply(Attribute< T > &attr) const
Definition:
AttributeScope.hxx:17
wmtk::attribute::internal::AttributeFlatCache::apply_to
void apply_to(Attribute< T > &attribute) const
Definition:
AttributeFlatCache.hxx:59
wmtk::attribute
Definition:
Accessor.hpp:17
src
wmtk
attribute
AttributeScope.hxx
Generated by
1.9.1