7 #ifndef Fw_LogicEnumAc_HPP
8 #define Fw_LogicEnumAc_HPP
107 return this->
e == e1;
113 return !(*
this == e1);
119 friend std::ostream& operator<<(
145 #if FW_SERIALIZABLE_TO_STRING
C++-compatible configuration header for fprime configuration.
bool operator!=(T e1) const
Inequality operator.
Logic & operator=(const Logic &obj)
Copy assignment operator (object)
Logic(const Logic &obj)
Copy constructor.
Logic()
Constructor (default value of LOW)
bool operator==(T e1) const
Equality operator.
T t
For backwards compatibility.
bool isValid() const
Check raw enum value for validity.
@ SERIALIZED_SIZE
The size of the serial representation.
@ NUM_CONSTANTS
The number of enumerated constants.
Logic(const T e1)
Constructor (user-provided value)
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
I32 SerialType
The serial representation type.
SerializeStatus
forward declaration for string