NSVD Reader  0.0.1
nodamushi::svd::normalized::WriteConstraint Struct Reference

normalized <writeConstraint>.<range> element More...

#include <WriteConstraint.hpp>

Classes

struct  range_t
 <writeConstraint>.<range> element More...
 

Public Member Functions

 operator bool () const noexcept
 return valid More...
 
template<typename SVD , typename VALUE , VALUE SVD::* MEMBER>
 WriteConstraint (derived_from_helper< SVD, VALUE, MEMBER > &&d)
 
template<typename VALUE >
 WriteConstraint (const VALUE *ptr)
 

Public Attributes

bool valid
 Indicates whether this data is valid. More...
 
bool writeAsRead
 <writeAsRead>If true, only the last read value can be written. More...
 
bool useEnumeratedValues
 <useEnueratedValues>If true, only the values listed in the enumeratedValues list can be written. More...
 
range_t range
 <range> More...
 

Detailed Description

Constructor & Destructor Documentation

◆ WriteConstraint() [1/2]

template<typename SVD , typename VALUE , VALUE SVD::* MEMBER>
nodamushi::svd::normalized::WriteConstraint::WriteConstraint ( derived_from_helper< SVD, VALUE, MEMBER > &&  d)
inline

Definition at line 88 of file WriteConstraint.hpp.

◆ WriteConstraint() [2/2]

template<typename VALUE >
nodamushi::svd::normalized::WriteConstraint::WriteConstraint ( const VALUE *  ptr)
inline

Definition at line 92 of file WriteConstraint.hpp.

Member Function Documentation

◆ operator bool()

nodamushi::svd::normalized::WriteConstraint::operator bool ( ) const
inlinenoexcept

return valid

Definition at line 67 of file WriteConstraint.hpp.

Member Data Documentation

◆ range

range_t nodamushi::svd::normalized::WriteConstraint::range

<range>

See also
valid
range_t.valid

Definition at line 85 of file WriteConstraint.hpp.

◆ useEnumeratedValues

bool nodamushi::svd::normalized::WriteConstraint::useEnumeratedValues

<useEnueratedValues>If true, only the values listed in the enumeratedValues list can be written.

See also
valid

Definition at line 78 of file WriteConstraint.hpp.

◆ valid

bool nodamushi::svd::normalized::WriteConstraint::valid

Indicates whether this data is valid.

When valid is false, this instance has no value.

Definition at line 65 of file WriteConstraint.hpp.

◆ writeAsRead

bool nodamushi::svd::normalized::WriteConstraint::writeAsRead

<writeAsRead>If true, only the last read value can be written.

See also
valid

Definition at line 73 of file WriteConstraint.hpp.


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