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