Public Member Functions | Public Attributes | List of all members
rokubimini::Statusword::Data Union Reference

Data associated with a Status Word. More...

#include <Statusword.hpp>

Public Member Functions

 Data ()=default
 Default constructor. More...
 
 Data (const uint32_t data)
 Explicit constructor. More...
 
bool operator!= (const Data &other)
 Checks if two Data are not equal. More...
 
bool operator== (const Data &other)
 Checks if two Data are equal. More...
 

Public Attributes

uint32_t all_ = 0
 All the bits in a "raw" uint32_t format. More...
 
DataBits bits_
 The bits of the data. More...
 

Detailed Description

Data associated with a Status Word.

Definition at line 51 of file Statusword.hpp.

Constructor & Destructor Documentation

rokubimini::Statusword::Data::Data ( )
default

Default constructor.

rokubimini::Statusword::Data::Data ( const uint32_t  data)
explicit

Explicit constructor.

Parameters
dataThe data saved in the all variable.

Definition at line 6 of file Statusword.cpp.

Member Function Documentation

bool rokubimini::Statusword::Data::operator!= ( const Data other)

Checks if two Data are not equal.

Parameters
otherThe second Data to compare with.
Returns
True if the two Data are not equal.

Definition at line 15 of file Statusword.cpp.

bool rokubimini::Statusword::Data::operator== ( const Data other)

Checks if two Data are equal.

Parameters
otherThe second Data to compare with.
Returns
True if the two Data are equal.

Definition at line 10 of file Statusword.cpp.

Member Data Documentation

uint32_t rokubimini::Statusword::Data::all_ = 0

All the bits in a "raw" uint32_t format.

Definition at line 67 of file Statusword.hpp.

DataBits rokubimini::Statusword::Data::bits_

The bits of the data.

Definition at line 59 of file Statusword.hpp.


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


rokubimini
Author(s):
autogenerated on Wed Mar 3 2021 03:09:12