SOFA API  7352f41a
Open source framework for multi-physics simuation
sofa::topology::Element< GeometryElement > Struct Template Reference

#include <Element.h>

Inheritance diagram for sofa::topology::Element< GeometryElement >:

Public Member Functions

constexpr Element () noexcept
 
template<typename... ArgsT, typename = std::enable_if_t < (std::is_convertible_v<ArgsT, sofa::Index> && ...)>>
constexpr Element (ArgsT &&... args) noexcept
 
- Public Member Functions inherited from sofa::type::fixed_array< sofa::Index, GeometryElement::NumberOfNodes >
constexpr fixed_array ()
 
constexpr fixed_array (value_type r1) noexcept
 Specific constructor for 1-element vectors. More...
 
constexpr fixed_array (ArgsT &&... r) noexcept
 
constexpr iterator begin () noexcept
 
constexpr const_iterator begin () const noexcept
 
constexpr const_iterator cbegin () const noexcept
 
constexpr iterator end () noexcept
 
constexpr const_iterator end () const noexcept
 
constexpr const_iterator cend () const noexcept
 
constexpr reference operator[] (size_type i)
 
constexpr const_reference operator[] (size_type i) const
 
constexpr sofa::Index & get () &noexcept
 
constexpr const sofa::Index & get () const &noexcept
 
constexpr sofa::Index && get () &&noexcept
 
constexpr const sofa::Index && get () const &&noexcept
 
constexpr reference at (size_type i)
 
constexpr const_reference at (size_type i) const
 
constexpr reference front ()
 
constexpr const_reference front () const
 
constexpr reference back ()
 
constexpr const_reference back () const
 
void swap (fixed_array< sofa::Index, N > &y)
 
constexpr const sofa::Index * data () const noexcept
 
constexpr const Arrayarray () const noexcept
 direct access to array More...
 
constexpr Arrayarray () noexcept
 direct access to array More...
 
constexpr fixed_array< sofa::Index, N > & operator= (const fixed_array< T2, N > &rhs) noexcept
 
constexpr void assign (const sofa::Index &value) noexcept
 

Additional Inherited Members

- Public Attributes inherited from sofa::type::fixed_array< sofa::Index, GeometryElement::NumberOfNodes >
sofa::Index elems [N]
 
- Static Public Member Functions inherited from sofa::type::fixed_array< sofa::Index, GeometryElement::NumberOfNodes >
static constexpr size_type size () noexcept
 
static bool empty () noexcept
 
static constexpr size_type max_size () noexcept
 

Constructor details

◆ Element() [1/2]

template<typename GeometryElement >
constexpr sofa::topology::Element< GeometryElement >::Element ( )
inlineconstexprnoexcept

◆ Element() [2/2]

template<typename GeometryElement >
template<typename... ArgsT, typename = std::enable_if_t < (std::is_convertible_v<ArgsT, sofa::Index> && ...)>>
constexpr sofa::topology::Element< GeometryElement >::Element ( ArgsT &&...  args)
inlineconstexprnoexcept