MotionLib  1.0.0
SamBuCa motion library
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
smc::units::IOPort Struct Reference

Classes

struct  const_iterator
 
struct  const_reference
 
struct  iterator
 
struct  reference
 

Public Types

enum class  StrFmt { AUTO , BIN , HEX }
 IOPort format for string representation.
 
typedef size_t size_type
 
typedef uint64_t value_type
 
typedef std::bidirectional_iterator_tag iterator_category
 

Public Member Functions

 IOPort (const IOPort &)=default
 
 IOPort (IOPort &&)=default
 
IOPortoperator= (const IOPort &)=default
 
IOPortoperator= (IOPort &&)=default
 
 IOPort (bool value)
 
 IOPort (uint8_t value, size_type size=8)
 
 IOPort (uint16_t value, size_type size=16)
 
 IOPort (uint32_t value, size_type size=32)
 
 IOPort (uint64_t value, size_type size=64)
 
bool operator== (const IOPort &port) const
 
bool operator!= (const IOPort &port) const
 
bool operator[] (size_type pos) const
 
 operator bool () const
 
reference operator[] (size_type offset)
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator const_begin () const
 
const_iterator const_end () const
 
iterator begin ()
 
iterator end ()
 
std::string toString (StrFmt format=StrFmt::AUTO) const
 

Public Attributes

value_type value
 port value
 
size_type size
 size in bits
 

Detailed Description

Definition at line 137 of file Units.hpp.


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