MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
Public Member Functions | Public Attributes | List of all members
mip::metadata::Attributes Struct Reference

#include <mip_structures.hpp>

Public Member Functions

constexpr Attributes ()=default
 
constexpr Attributes (bool w, bool r, bool s, bool l, bool d, bool e=false, bool x=false)
 
constexpr bool any () const
 
constexpr bool canWrite () const
 
constexpr bool canRead () const
 
constexpr bool canSave () const
 
constexpr bool canLoad () const
 
constexpr bool canReset () const
 
constexpr bool isNotSerialized () const
 
constexpr bool isEchoed () const
 
constexpr bool isSerialized () const
 
constexpr AttributessetCanWrite (bool w)
 
constexpr AttributessetCanRead (bool r)
 
constexpr AttributessetCanSave (bool s)
 
constexpr AttributessetCanLoad (bool l)
 
constexpr AttributessetCanReset (bool d)
 
constexpr AttributessetNotSerialized (bool x)
 
constexpr AttributessetIsEchoed (bool e)
 
constexpr bool has (mip::FunctionSelector function) const
 

Public Attributes

uint8_t bits = 0x00
 

Constructor & Destructor Documentation

◆ Attributes() [1/2]

constexpr mip::metadata::Attributes::Attributes ( )
constexprdefault

◆ Attributes() [2/2]

constexpr mip::metadata::Attributes::Attributes ( bool  w,
bool  r,
bool  s,
bool  l,
bool  d,
bool  e = false,
bool  x = false 
)
inlineconstexpr

Member Function Documentation

◆ any()

constexpr bool mip::metadata::Attributes::any ( ) const
inlineconstexpr

◆ canLoad()

constexpr bool mip::metadata::Attributes::canLoad ( ) const
inlineconstexpr

◆ canRead()

constexpr bool mip::metadata::Attributes::canRead ( ) const
inlineconstexpr

◆ canReset()

constexpr bool mip::metadata::Attributes::canReset ( ) const
inlineconstexpr

◆ canSave()

constexpr bool mip::metadata::Attributes::canSave ( ) const
inlineconstexpr

◆ canWrite()

constexpr bool mip::metadata::Attributes::canWrite ( ) const
inlineconstexpr

◆ has()

constexpr bool mip::metadata::Attributes::has ( mip::FunctionSelector  function) const
inlineconstexpr

◆ isEchoed()

constexpr bool mip::metadata::Attributes::isEchoed ( ) const
inlineconstexpr

◆ isNotSerialized()

constexpr bool mip::metadata::Attributes::isNotSerialized ( ) const
inlineconstexpr

◆ isSerialized()

constexpr bool mip::metadata::Attributes::isSerialized ( ) const
inlineconstexpr

◆ setCanLoad()

constexpr Attributes& mip::metadata::Attributes::setCanLoad ( bool  l)
inlineconstexpr

◆ setCanRead()

constexpr Attributes& mip::metadata::Attributes::setCanRead ( bool  r)
inlineconstexpr

◆ setCanReset()

constexpr Attributes& mip::metadata::Attributes::setCanReset ( bool  d)
inlineconstexpr

◆ setCanSave()

constexpr Attributes& mip::metadata::Attributes::setCanSave ( bool  s)
inlineconstexpr

◆ setCanWrite()

constexpr Attributes& mip::metadata::Attributes::setCanWrite ( bool  w)
inlineconstexpr

◆ setIsEchoed()

constexpr Attributes& mip::metadata::Attributes::setIsEchoed ( bool  e)
inlineconstexpr

◆ setNotSerialized()

constexpr Attributes& mip::metadata::Attributes::setNotSerialized ( bool  x)
inlineconstexpr

Member Data Documentation

◆ bits

uint8_t mip::metadata::Attributes::bits = 0x00

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