Skip to content

Class muda::DenseViewerT

template <bool IsConst, typename T>

ClassList > muda > DenseViewerT

Inherits the following classes: muda::ViewerBase

Public Types

Type Name
typedef DenseViewerT< true, T > ConstViewer
typedef DenseViewerT< false, T > NonConstViewer
typedef DenseViewerT< IsConst, T > ThisViewer
typedef T value_type

Public Static Attributes inherited from muda::ViewerBase

See muda::ViewerBase

Type Name
constexpr bool IsConst = = IsConst_
constexpr bool IsNonConst = = !IsConst_

Public Functions

Type Name
MUDA_GENERIC DenseViewerT ()
MUDA_GENERIC DenseViewerT (auto_const_t< T > * p)
MUDA_GENERIC DenseViewerT (const ThisViewer &)
MUDA_GENERIC DenseViewerT (const DenseViewerT< OtherIsConst, T > & other)
MUDA_GENERIC auto as_const () const
MUDA_GENERIC auto_const_t< T > * data () const
MUDA_GENERIC operator auto_const_t< T > & () const
MUDA_GENERIC auto_const_t< T > & operator* () const
MUDA_GENERIC auto_const_t< T > * operator-> () const
MUDA_GENERIC ThisViewer & operator= (const T & v)

Public Functions inherited from muda::ViewerBase

See muda::ViewerBase

Type Name
MUDA_GENERIC ViewerBase ()
ViewerBase (const ViewerBase &) = default
ViewerBase (ViewerBase &&) = default
MUDA_INLINE MUDA_GENERIC void copy_label (const ViewerBase & other)
MUDA_GENERIC const char * kernel_file () const
MUDA_GENERIC int kernel_line () const
MUDA_GENERIC const char * kernel_name () const
MUDA_GENERIC const char * name () const
ViewerBase & operator= (const ViewerBase &) = default
ViewerBase & operator= (ViewerBase &&) = default

Protected Types

Type Name
typedef typename Base::template auto_const_t< U > auto_const_t

Protected Types inherited from muda::ViewerBase

See muda::ViewerBase

Type Name
typedef std::conditional_t< IsConst, const T, T > auto_const_t
typedef std::enable_if_t< IsNonConst, T > non_const_enable_t

Protected Attributes

Type Name
auto_const_t< T > * m_data = = nullptr

Protected Functions

Type Name
MUDA_INLINE MUDA_GENERIC void check () const

Protected Functions inherited from muda::ViewerBase

See muda::ViewerBase

Type Name
MUDA_INLINE MUDA_HOST void name (const char * n)
MUDA_INLINE MUDA_GENERIC void name (details::StringPointer pointer)

Public Types Documentation

typedef ConstViewer

using muda::DenseViewerT< IsConst, T >::ConstViewer =  DenseViewerT<true, T>;

typedef NonConstViewer

using muda::DenseViewerT< IsConst, T >::NonConstViewer =  DenseViewerT<false, T>;

typedef ThisViewer

using muda::DenseViewerT< IsConst, T >::ThisViewer =  DenseViewerT<IsConst, T>;

typedef value_type

using muda::DenseViewerT< IsConst, T >::value_type =  T;

Public Functions Documentation

function DenseViewerT [2/5]

MUDA_GENERIC muda::DenseViewerT::DenseViewerT () 

function DenseViewerT [3/5]

inline explicit MUDA_GENERIC muda::DenseViewerT::DenseViewerT (
    auto_const_t< T > * p
) 

function DenseViewerT [4/5]

MUDA_GENERIC muda::DenseViewerT::DenseViewerT (
    const ThisViewer &
) 

function DenseViewerT [5/5]

template<bool OtherIsConst>
inline MUDA_GENERIC muda::DenseViewerT::DenseViewerT (
    const DenseViewerT < OtherIsConst, T > & other
) 

function as_const

inline MUDA_GENERIC auto muda::DenseViewerT::as_const () const

function data

inline MUDA_GENERIC auto_const_t< T > * muda::DenseViewerT::data () const

function operator auto_const_t< T > &

inline MUDA_GENERIC muda::DenseViewerT::operator auto_const_t< T > & () const

function operator*

inline MUDA_GENERIC auto_const_t< T > & muda::DenseViewerT::operator* () const

function operator->

inline MUDA_GENERIC auto_const_t< T > * muda::DenseViewerT::operator-> () const

function operator=

inline MUDA_GENERIC ThisViewer & muda::DenseViewerT::operator= (
    const T & v
) 

Protected Types Documentation

typedef auto_const_t

using muda::DenseViewerT< IsConst, T >::auto_const_t =  typename Base::template auto_const_t<U>;

Protected Attributes Documentation

variable m_data

auto_const_t<T>* muda::DenseViewerT< IsConst, T >::m_data;

Protected Functions Documentation

function check

inline MUDA_INLINE MUDA_GENERIC void muda::DenseViewerT::check () const


The documentation for this class was generated from the following file src/muda/viewer/dense/dense_0d.h