NSVD Reader  0.0.1
nodamushi::svd::details Namespace Reference

Classes

struct  _hex_printer_attr
 
struct  _hex_printer_elem
 
struct  _hex_printer_selector
 
struct  irange
 
struct  irange< I, false >
 
struct  irange< I, true >
 
struct  print_with_svd_escape
 
struct  print_with_svd_escape< bool >
 
struct  print_with_svd_escape< const char * >
 
struct  print_with_svd_escape< std::string >
 
struct  print_with_svd_escape_helper
 
struct  print_with_svd_escape_helper< false, T >
 
struct  print_with_svd_escape_helper< true, T >
 
struct  value_type_builder
 

Typedefs

template<typename T >
using select_printer_attr = typename _hex_printer_selector< T >::type_a
 
template<typename T >
using select_printer_elem = typename _hex_printer_selector< T >::type_e
 
template<typename T >
using value_type_t = typename ::nodamushi::svd::vattr_unwrap< T >::type
 

Functions

template<typename SVD , typename STR >
bool createRegisterOrCluster (SVD &c, Registers< STR > &d)
 
template<char... name>
empty_value_access_error no_value_error ()
 
template<typename T >
void value_clear_T (T &t)
 
template<typename T >
void value_clear_T (std::vector< T > &t)
 
template<typename T >
void value_clear_T (::nodamushi::box< T > &t)
 
template<typename T , typename PTR >
void value_clear_T (::nodamushi::boxvec< T, PTR > &t)
 
template<typename I >
bool cast_integer (const char *const ptr, size_t length, I &dst)
 
template<typename I >
bool cast_integer (const std::string &src, I &dst)
 
template<typename DST >
auto value_setter_set (DST &dst, const std::string &src) -> typename std::enable_if< std::is_integral< DST >::value &&!enum_helper< DST >::HAS_HELPER &&!std::is_same< DST, bool >::value, bool >::type
 
template<typename DST >
bool value_setter_set (bool &dst, const std::string &src)
 

Typedef Documentation

◆ select_printer_attr

template<typename T >
using nodamushi::svd::details::select_printer_attr = typedef typename _hex_printer_selector<T>::type_a

Definition at line 101 of file imple.hpp.

◆ select_printer_elem

template<typename T >
using nodamushi::svd::details::select_printer_elem = typedef typename _hex_printer_selector<T>::type_e

Definition at line 104 of file imple.hpp.

◆ value_type_t

template<typename T >
using nodamushi::svd::details::value_type_t = typedef typename ::nodamushi::svd::vattr_unwrap<T>::type

Definition at line 60 of file imple.hpp.

Function Documentation

◆ cast_integer() [1/2]

template<typename I >
bool nodamushi::svd::details::cast_integer ( const char *const  ptr,
size_t  length,
I &  dst 
)

Definition at line 124 of file value_setter.hpp.

◆ cast_integer() [2/2]

template<typename I >
bool nodamushi::svd::details::cast_integer ( const std::string &  src,
I &  dst 
)

Definition at line 142 of file value_setter.hpp.

◆ createRegisterOrCluster()

template<typename SVD , typename STR >
bool nodamushi::svd::details::createRegisterOrCluster ( SVD &  c,
Registers< STR > &  d 
)

Definition at line 162 of file Cluster.hpp.

◆ no_value_error()

template<char... name>
empty_value_access_error nodamushi::svd::details::no_value_error ( )
inline

Definition at line 24 of file imple.hpp.

◆ value_clear_T() [1/4]

template<typename T >
void nodamushi::svd::details::value_clear_T ( T &  t)
inline

Definition at line 35 of file imple.hpp.

◆ value_clear_T() [2/4]

template<typename T >
void nodamushi::svd::details::value_clear_T ( std::vector< T > &  t)
inline

Definition at line 41 of file imple.hpp.

◆ value_clear_T() [3/4]

template<typename T >
void nodamushi::svd::details::value_clear_T ( ::nodamushi::box< T > &  t)
inline

Definition at line 47 of file imple.hpp.

◆ value_clear_T() [4/4]

template<typename T , typename PTR >
void nodamushi::svd::details::value_clear_T ( ::nodamushi::boxvec< T, PTR > &  t)
inline

Definition at line 53 of file imple.hpp.

◆ value_setter_set() [1/2]

template<typename DST >
auto nodamushi::svd::details::value_setter_set ( DST &  dst,
const std::string &  src 
) -> typename std::enable_if< std::is_integral<DST>::value&&!enum_helper<DST>::HAS_HELPER &&!std::is_same<DST,bool>::value ,bool>::type

Definition at line 157 of file value_setter.hpp.

◆ value_setter_set() [2/2]

template<typename DST >
bool nodamushi::svd::details::value_setter_set ( bool &  dst,
const std::string &  src 
)

Definition at line 188 of file value_setter.hpp.