Interface Documentation
Version: invalid
Classes | Functions
Utilities Interface

Classes

class  flecsi::util::bit_buffer< T, BITS_PER_INDEX >
 
struct  flecsi::util::tuple_walker< CRTP_TYPE >
 
struct  flecsi::util::typeify< T, M >
 

Functions

std::string flecsi::util::demangle (const char *const name)
 
template<class T >
std::string flecsi::util::type ()
 
std::string flecsi::util::type (const std::type_info &type_info)
 
template<typename TUPLE_TYPE >
void flecsi::util::tuple_walker< CRTP_TYPE >::walk (TUPLE_TYPE &t)
 
template<typename TUPLE_TYPE >
void flecsi::util::tuple_walker< CRTP_TYPE >::walk_types ()
 

Detailed Description

Define the utilities group.

Function Documentation

◆ demangle()

std::string flecsi::util::demangle ( const char *const  name)

Return the demangled name.

Parameters
nameThe string to demangle.

◆ type() [1/2]

template<class T >
std::string flecsi::util::type ( )
inline

Return the demangled name of the type T.

Template Parameters
TThe type.

◆ type() [2/2]

std::string flecsi::util::type ( const std::type_info &  type_info)
inline

Return the demangled name of the type identified by type_info.

Parameters
std::type_infoThe type.

◆ walk()

template<typename CRTP_TYPE>
template<typename TUPLE_TYPE >
void flecsi::util::tuple_walker< CRTP_TYPE >::walk ( TUPLE_TYPE &  t)
inline

Walk the given tuple, applying the visit method to each element.

Template Parameters
TUPLE_TYPEThe tuple type.
Parameters
tAn instance of the tuple.

◆ walk_types()

template<typename CRTP_TYPE>
template<typename TUPLE_TYPE >
void flecsi::util::tuple_walker< CRTP_TYPE >::walk_types ( )
inline

Walk the given tuple by type, applying the visit method to each element.

Template Parameters
TUPLE_TYPEThe tuple type.