NSVD Reader  0.0.1
nodamushi::svd::normalized::derived_from_helper< SVD, VALUE, MEMBER > Struct Template Reference

#include <derived_from_helper.hpp>

Public Types

using type = typename std::remove_const< typename VALUE::type >::type
 

Public Member Functions

template<typename O >
 derived_from_helper (const O &o)
 
 operator bool () const noexcept
 
auto operator * () const noexcept -> decltype(ptr->get())
 

Public Attributes

const VALUE * ptr
 

Detailed Description

template<typename SVD, typename VALUE, VALUE SVD::* MEMBER>
struct nodamushi::svd::normalized::derived_from_helper< SVD, VALUE, MEMBER >

Definition at line 83 of file derived_from_helper.hpp.

Member Typedef Documentation

◆ type

template<typename SVD , typename VALUE , VALUE SVD::* MEMBER>
using nodamushi::svd::normalized::derived_from_helper< SVD, VALUE, MEMBER >::type = typename std::remove_const<typename VALUE::type>::type

Definition at line 85 of file derived_from_helper.hpp.

Constructor & Destructor Documentation

◆ derived_from_helper()

template<typename SVD , typename VALUE , VALUE SVD::* MEMBER>
template<typename O >
nodamushi::svd::normalized::derived_from_helper< SVD, VALUE, MEMBER >::derived_from_helper ( const O &  o)
inline

Definition at line 90 of file derived_from_helper.hpp.

Member Function Documentation

◆ operator *()

template<typename SVD , typename VALUE , VALUE SVD::* MEMBER>
auto nodamushi::svd::normalized::derived_from_helper< SVD, VALUE, MEMBER >::operator * ( ) const -> decltype(ptr->get())
inlinenoexcept

Definition at line 110 of file derived_from_helper.hpp.

◆ operator bool()

template<typename SVD , typename VALUE , VALUE SVD::* MEMBER>
nodamushi::svd::normalized::derived_from_helper< SVD, VALUE, MEMBER >::operator bool ( ) const
inlinenoexcept

Definition at line 109 of file derived_from_helper.hpp.

Member Data Documentation

◆ ptr

template<typename SVD , typename VALUE , VALUE SVD::* MEMBER>
const VALUE* nodamushi::svd::normalized::derived_from_helper< SVD, VALUE, MEMBER >::ptr

Definition at line 87 of file derived_from_helper.hpp.


The documentation for this struct was generated from the following file: