10 template <
typename T,
int Dim>
15 , m_cache_stack(attribute().get_local_scope_stack())
17 template <
typename T,
int Dim>
20 , m_cache_stack(attribute().get_local_scope_stack())
23 template <
typename T,
int Dim>
26 template <
typename T,
int Dim>
29 return !m_cache_stack.empty();
32 template <
typename T,
int Dim>
35 return m_cache_stack.writing_enabled();
38 template <
typename T,
int Dim>
41 return m_cache_stack.size();
44 template <
typename T,
int Dim>
48 return m_cache_stack.template vector_attribute<D>(*
this, index);
53 template <
typename T,
int Dim>
56 return m_cache_stack.scalar_attribute(*
this, index);
59 template <
typename T,
int Dim>
64 return m_cache_stack.template const_vector_attribute<D>(*
this, index);
68 template <
typename T,
int Dim>
71 return m_cache_stack.const_scalar_attribute(*
this, index);
74 template <
typename T,
int Dim>
77 return const_vector_attribute(index);
79 template <
typename T,
int Dim>
82 return const_scalar_attribute(index);
85 template <
typename T,
int Dim>
88 return m_cache_stack.scalar_attribute(*
this, index, offset);
92 template <
typename T,
int Dim>
96 return m_cache_stack.const_scalar_attribute(*
this, index, offset);
internal::ConstMapResult< T, D > ConstMapResult
typename BaseType::template MapResult< D > MapResult
typename BaseType::template ConstMapResult< D > ConstMapResult
T const_scalar_attribute(const int64_t index) const
int64_t stack_depth() const
MapResult< D > vector_attribute(const int64_t index)
T & scalar_attribute(const int64_t index)
CachingAccessor(Mesh &m, const TypedAttributeHandle< T > &handle)
ConstMapResult< D > const_vector_attribute(const int64_t index) const
bool writing_enabled() const
Handle that represents attributes for some mesh.