7 #ifndef Fw_ParamValidEnumAc_HPP
8 #define Fw_ParamValidEnumAc_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.
Enum representing parameter validity.
ParamValid & operator=(const ParamValid &obj)
Copy assignment operator (object)
@ SERIALIZED_SIZE
The size of the serial representation.
@ NUM_CONSTANTS
The number of enumerated constants.
T t
For backwards compatibility.
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.
ParamValid()
Constructor (default value of UNINIT)
ParamValid(const T e1)
Constructor (user-provided value)
I32 SerialType
The serial representation type.
ParamValid(const ParamValid &obj)
Copy constructor.
bool isValid() const
Check raw enum value for validity.
bool operator!=(T e1) const
Inequality operator.
SerializeStatus
forward declaration for string