7#ifndef Fw_ParamValidEnumAc_HPP
8#define Fw_ParamValidEnumAc_HPP
99 operator T()
const {
…}
113 return !(*
this ==
e);
119 friend std::ostream& operator<<(
145#if FW_SERIALIZABLE_TO_STRING || FW_ENABLE_TEXT_LOGGING || BUILD_UT
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.
bool operator==(T e) const
Equality operator.
ParamValid(const T e)
Constructor (user-provided value)
T t
For backwards compatibility.
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)
I32 SerialType
The serial representation type.
ParamValid(const ParamValid &obj)
Copy constructor.
bool isValid() const
Check raw enum value for validity.
bool operator!=(T e) const
Inequality operator.
SerializeStatus
forward declaration for string