Wildmeshing Toolkit
|
#include <CompoundAccessor.hpp>
Public Types | |
using | Type = std::tuple< AttributeType... > |
using | AccessorTuple = std::tuple< Accessor< AttributeType, MeshType >... > |
using | ValueType = std::tuple< MapResult< AttributeType >... > |
using | ConstValueType = std::tuple< ConstMapResult< AttributeType >... > |
Public Member Functions | |
CompoundAccessor (MeshType &m, const TypedAttributeHandle< AttributeType > &... handle) | |
CompoundAccessor (const MeshType &m, const TypedAttributeHandle< AttributeType > &... handle) | |
template<typename FirstAcc , int FirstDim, typename... AccTypes, int... Dims> | |
CompoundAccessor (const Accessor< FirstAcc, MeshType, FirstDim > &, const Accessor< AccTypes, MeshType, Dims > &...) | |
template<size_t... Ns> | |
ValueType | _value (const Tuple &t, std::integer_sequence< size_t, Ns... >) |
ValueType | value (const Tuple &t) |
template<size_t... Ns> | |
ConstValueType | _const_value (const Tuple &t, std::integer_sequence< size_t, Ns... >) const |
ConstValueType | const_value (const Tuple &t) const |
template<size_t Index> | |
const auto & | get () const |
template<size_t Index> | |
auto & | get () |
template<size_t Index> | |
PrimitiveType | primitive_type () const |
returns the primitive type of the Index'th type More... | |
template<typename FirstAccType , int FirstDim, typename... AccTypes, int... Dims> | |
CompoundAccessor (const Accessor< FirstAccType, MeshType, FirstDim > &acc, const Accessor< AccTypes, MeshType, Dims > &... accs) | |
Private Attributes | |
std::tuple< Accessor< AttributeType, MeshType >... > | m_base_accessors |
Definition at line 10 of file CompoundAccessor.hpp.
using wmtk::attribute::internal::CompoundAccessor< N, MeshType, AttributeType >::AccessorTuple = std::tuple<Accessor<AttributeType, MeshType>...> |
Definition at line 21 of file CompoundAccessor.hpp.
using wmtk::attribute::internal::CompoundAccessor< N, MeshType, AttributeType >::ConstValueType = std::tuple<ConstMapResult<AttributeType>...> |
Definition at line 23 of file CompoundAccessor.hpp.
using wmtk::attribute::internal::CompoundAccessor< N, MeshType, AttributeType >::Type = std::tuple<AttributeType...> |
Definition at line 13 of file CompoundAccessor.hpp.
using wmtk::attribute::internal::CompoundAccessor< N, MeshType, AttributeType >::ValueType = std::tuple<MapResult<AttributeType>...> |
Definition at line 22 of file CompoundAccessor.hpp.
wmtk::attribute::internal::CompoundAccessor< N, MeshType, AttributeType >::CompoundAccessor | ( | MeshType & | m, |
const TypedAttributeHandle< AttributeType > &... | handle | ||
) |
Definition at line 17 of file CompoundAccessor.hxx.
wmtk::attribute::internal::CompoundAccessor< N, MeshType, AttributeType >::CompoundAccessor | ( | const MeshType & | m, |
const TypedAttributeHandle< AttributeType > &... | handle | ||
) |
Definition at line 11 of file CompoundAccessor.hxx.
wmtk::attribute::internal::CompoundAccessor< N, MeshType, AttributeType >::CompoundAccessor | ( | const Accessor< FirstAcc, MeshType, FirstDim > & | , |
const Accessor< AccTypes, MeshType, Dims > & | ... | ||
) |
wmtk::attribute::internal::CompoundAccessor< N, MeshType, AttributeType >::CompoundAccessor | ( | const Accessor< FirstAccType, MeshType, FirstDim > & | acc, |
const Accessor< AccTypes, MeshType, Dims > &... | accs | ||
) |
Definition at line 24 of file CompoundAccessor.hxx.
|
inline |
Definition at line 34 of file CompoundAccessor.hpp.
References wmtk::attribute::internal::CompoundAccessor< N, MeshType, AttributeType >::m_base_accessors.
Referenced by wmtk::attribute::internal::CompoundAccessor< N, MeshType, AttributeType >::const_value().
|
inline |
Definition at line 27 of file CompoundAccessor.hpp.
References wmtk::attribute::internal::CompoundAccessor< N, MeshType, AttributeType >::m_base_accessors.
Referenced by wmtk::attribute::internal::CompoundAccessor< N, MeshType, AttributeType >::value().
|
inline |
Definition at line 38 of file CompoundAccessor.hpp.
References wmtk::attribute::internal::CompoundAccessor< N, MeshType, AttributeType >::_const_value().
|
inline |
Definition at line 49 of file CompoundAccessor.hpp.
References wmtk::attribute::internal::CompoundAccessor< N, MeshType, AttributeType >::m_base_accessors.
|
inline |
Definition at line 44 of file CompoundAccessor.hpp.
References wmtk::attribute::internal::CompoundAccessor< N, MeshType, AttributeType >::m_base_accessors.
PrimitiveType wmtk::attribute::internal::CompoundAccessor< N, MeshType, AttributeType >::primitive_type |
returns the primitive type of the Index'th type
Definition at line 33 of file CompoundAccessor.hxx.
|
inline |
Definition at line 31 of file CompoundAccessor.hpp.
References wmtk::attribute::internal::CompoundAccessor< N, MeshType, AttributeType >::_value().
|
private |
Definition at line 77 of file CompoundAccessor.hpp.
Referenced by wmtk::attribute::internal::CompoundAccessor< N, MeshType, AttributeType >::_const_value(), wmtk::attribute::internal::CompoundAccessor< N, MeshType, AttributeType >::_value(), and wmtk::attribute::internal::CompoundAccessor< N, MeshType, AttributeType >::get().