15 namespace VersionCfg {
37 std::ostream& operator<<(std::ostream& os,
const VersionEnum& obj) {
71 this->
e =
static_cast<T>(es);
79 #if FW_SERIALIZABLE_TO_STRING
87 s =
"PROJECT_VERSION_00";
90 s =
"PROJECT_VERSION_01";
93 s =
"PROJECT_VERSION_02";
96 s =
"PROJECT_VERSION_03";
99 s =
"PROJECT_VERSION_04";
102 s =
"PROJECT_VERSION_05";
105 s =
"PROJECT_VERSION_06";
108 s =
"PROJECT_VERSION_07";
111 s =
"PROJECT_VERSION_08";
114 s =
"PROJECT_VERSION_09";
123 #elif FW_ENABLE_TEXT_LOGGING
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
void format(const CHAR *formatString,...)
write formatted string to buffer
const char * toChar() const
@ PROJECT_VERSION_08
Entry 8.
@ PROJECT_VERSION_09
Entry 9.
@ PROJECT_VERSION_07
Entry 7.
@ PROJECT_VERSION_03
Entry 3.
@ PROJECT_VERSION_04
Entry 4.
@ PROJECT_VERSION_00
Entry 0.
@ PROJECT_VERSION_05
Entry 5.
@ PROJECT_VERSION_02
Entry 2.
@ PROJECT_VERSION_06
Entry 6.
@ PROJECT_VERSION_01
Entry 1.
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
U32 SerialType
The serial representation type.
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
bool isValid() const
Check raw enum value for validity.
VersionEnum & operator=(const VersionEnum &obj)
Copy assignment operator (object)
SerializeStatus
forward declaration for string
@ FW_DESERIALIZE_FORMAT_ERROR
Deserialization data had incorrect values (unexpected data types)
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.