7 #ifndef Drv_I2cStatusEnumAc_HPP
8 #define Drv_I2cStatusEnumAc_HPP
114 return this->
e == e1;
120 return !(*
this == e1);
126 friend std::ostream& operator<<(
152 #if FW_SERIALIZABLE_TO_STRING
C++-compatible configuration header for fprime configuration.
@ I2C_OPEN_ERR
I2C driver failed to open device.
@ I2C_OTHER_ERR
Other errors that don't fit.
@ I2C_WRITE_ERR
I2C write failed.
@ I2C_OK
Transaction okay.
@ I2C_ADDRESS_ERR
I2C address invalid.
@ I2C_READ_ERR
I2C read failed.
I2cStatus(const T e1)
Constructor (user-provided value)
I32 SerialType
The serial representation type.
I2cStatus()
Constructor (default value of I2C_OK)
I2cStatus(const I2cStatus &obj)
Copy constructor.
bool operator!=(T e1) const
Inequality operator.
I2cStatus & operator=(const I2cStatus &obj)
Copy assignment operator (object)
bool operator==(T e1) const
Equality operator.
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
T t
For backwards compatibility.
bool isValid() const
Check raw enum value for validity.
@ NUM_CONSTANTS
The number of enumerated constants.
@ SERIALIZED_SIZE
The size of the serial representation.
SerializeStatus
forward declaration for string