NSVD Reader  0.0.1
nodamushi::svd::normalized::Enumeration< STRREF > Struct Template Reference

normalized <enumeratedValues> element. iterable More...

#include <Enumeration.hpp>

Public Types

using Field = ::nodamushi::svd::normalized::Field< STRREF >
 
using EnumeratedValue = ::nodamushi::svd::normalized::EnumeratedValue< STRREF >
 
using iterator = typename std::vector< EnumeratedValue >::iterator
 
using const_iterator = typename std::vector< EnumeratedValue >::const_iterator
 

Public Member Functions

 Enumeration ()=default
 
 Enumeration (Enumeration &&)=default
 
 Enumeration (const Enumeration &)=default
 
template<typename T >
 Enumeration (const T &n)
 
bool empty () const noexcept
 <enumeratedValue> is empty More...
 
size_t size () const noexcept
 count of <enumeratedValue> More...
 
size_t length () const noexcept
 count of <enumeratedValue> More...
 
iterator begin () noexcept
 enumeratedValue iterator. More...
 
iterator end () noexcept
 enumeratedValue iterator. More...
 
const_iterator begin () const noexcept
 enumeratedValue iterator. More...
 
const_iterator end () const noexcept
 enumeratedValue iterator. More...
 

Public Attributes

std::string name
 <name> More...
 
STRREF headerEnumName
 <headerEnumName> More...
 
EnumUsage usage
 <usage> More...
 
std::vector< EnumeratedValueenumeratedValue
 <enumeratedValue> list More...
 

Detailed Description

template<typename STRREF>
struct nodamushi::svd::normalized::Enumeration< STRREF >

normalized <enumeratedValues> element. iterable

See also
http://www.keil.com/pack/doc/CMSIS/SVD/html/elem_registers.html#elem_enumeratedValues
nodamushi::svd::Enumeration

Definition at line 27 of file Enumeration.hpp.

Member Typedef Documentation

◆ const_iterator

template<typename STRREF >
using nodamushi::svd::normalized::Enumeration< STRREF >::const_iterator = typename std::vector<EnumeratedValue>::const_iterator

Definition at line 78 of file Enumeration.hpp.

◆ EnumeratedValue

Definition at line 30 of file Enumeration.hpp.

◆ Field

template<typename STRREF >
using nodamushi::svd::normalized::Enumeration< STRREF >::Field = ::nodamushi::svd::normalized::Field<STRREF>

Definition at line 29 of file Enumeration.hpp.

◆ iterator

template<typename STRREF >
using nodamushi::svd::normalized::Enumeration< STRREF >::iterator = typename std::vector<EnumeratedValue>::iterator

Definition at line 77 of file Enumeration.hpp.

Constructor & Destructor Documentation

◆ Enumeration() [1/4]

template<typename STRREF >
nodamushi::svd::normalized::Enumeration< STRREF >::Enumeration ( )
default

◆ Enumeration() [2/4]

template<typename STRREF >
nodamushi::svd::normalized::Enumeration< STRREF >::Enumeration ( Enumeration< STRREF > &&  )
default

◆ Enumeration() [3/4]

template<typename STRREF >
nodamushi::svd::normalized::Enumeration< STRREF >::Enumeration ( const Enumeration< STRREF > &  )
default

◆ Enumeration() [4/4]

template<typename STRREF >
template<typename T >
nodamushi::svd::normalized::Enumeration< STRREF >::Enumeration ( const T &  n)
inline

Definition at line 46 of file Enumeration.hpp.

Member Function Documentation

◆ begin() [1/2]

template<typename STRREF >
iterator nodamushi::svd::normalized::Enumeration< STRREF >::begin ( )
inlinenoexcept

enumeratedValue iterator.

Definition at line 80 of file Enumeration.hpp.

◆ begin() [2/2]

template<typename STRREF >
const_iterator nodamushi::svd::normalized::Enumeration< STRREF >::begin ( ) const
inlinenoexcept

enumeratedValue iterator.

Definition at line 84 of file Enumeration.hpp.

◆ empty()

template<typename STRREF >
bool nodamushi::svd::normalized::Enumeration< STRREF >::empty ( ) const
inlinenoexcept

<enumeratedValue> is empty

Returns
<enumeratedValue> is empty

Definition at line 66 of file Enumeration.hpp.

◆ end() [1/2]

template<typename STRREF >
iterator nodamushi::svd::normalized::Enumeration< STRREF >::end ( )
inlinenoexcept

enumeratedValue iterator.

Definition at line 82 of file Enumeration.hpp.

◆ end() [2/2]

template<typename STRREF >
const_iterator nodamushi::svd::normalized::Enumeration< STRREF >::end ( ) const
inlinenoexcept

enumeratedValue iterator.

Definition at line 86 of file Enumeration.hpp.

◆ length()

template<typename STRREF >
size_t nodamushi::svd::normalized::Enumeration< STRREF >::length ( ) const
inlinenoexcept

count of <enumeratedValue>

Returns
count of <enumeratedValue>

Definition at line 76 of file Enumeration.hpp.

◆ size()

template<typename STRREF >
size_t nodamushi::svd::normalized::Enumeration< STRREF >::size ( ) const
inlinenoexcept

count of <enumeratedValue>

Returns
count of <enumeratedValue>

Definition at line 71 of file Enumeration.hpp.

Member Data Documentation

◆ enumeratedValue

template<typename STRREF >
std::vector<EnumeratedValue> nodamushi::svd::normalized::Enumeration< STRREF >::enumeratedValue

<enumeratedValue> list

Definition at line 39 of file Enumeration.hpp.

◆ headerEnumName

template<typename STRREF >
STRREF nodamushi::svd::normalized::Enumeration< STRREF >::headerEnumName

<headerEnumName>

Definition at line 35 of file Enumeration.hpp.

◆ name

template<typename STRREF >
std::string nodamushi::svd::normalized::Enumeration< STRREF >::name

<name>

Definition at line 33 of file Enumeration.hpp.

◆ usage

template<typename STRREF >
EnumUsage nodamushi::svd::normalized::Enumeration< STRREF >::usage

<usage>

Definition at line 37 of file Enumeration.hpp.


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