19 m_version_enum(
Svc::VersionCfg::VersionEnum::PROJECT_VERSION_00),
20 m_version_value(m___fprime_ac_version_value_buffer, sizeof m___fprime_ac_version_value_buffer,
Fw::String(
"")),
33 m_version_enum(version_enum),
34 m_version_value(m___fprime_ac_version_value_buffer, sizeof m___fprime_ac_version_value_buffer, version_value),
35 m_version_status(version_status)
43 m_version_enum(obj.m_version_enum),
44 m_version_value(m___fprime_ac_version_value_buffer, sizeof m___fprime_ac_version_value_buffer, obj.m_version_value),
45 m_version_status(obj.m_version_status)
78 return !(*
this == obj);
83 std::ostream& operator<<(std::ostream& os,
const CustomVersionDb& obj) {
138 #if FW_SERIALIZABLE_TO_STRING
140 void CustomVersionDb ::
143 static const char* formatString =
145 "version_enum = %s, "
146 "version_value = %s, "
147 "version_status = %s"
161 this->m_version_value.toChar(),
162 version_statusStr.
toChar()
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
Data Structure for custom version Tlm.
CustomVersionDb & operator=(const CustomVersionDb &obj)
Copy assignment operator.
void setversion_status(Svc::VersionStatus::T version_status)
Set member version_status.
CustomVersionDb()
Constructor (default value)
void set(Svc::VersionCfg::VersionEnum::T version_enum, const Fw::StringBase &version_value, Svc::VersionStatus::T version_status)
Set all members.
void setversion_value(const Fw::StringBase &version_value)
Set member version_value.
Svc::VersionStatus m_version_status
Svc::VersionCfg::VersionEnum m_version_enum
void setversion_enum(Svc::VersionCfg::VersionEnum::T version_enum)
Set member version_enum.
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialization.
bool operator==(const CustomVersionDb &obj) const
Equality operator.
bool operator!=(const CustomVersionDb &obj) const
Inequality operator.
Fw::ExternalString m_version_value
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialization.
An enumeration for version status.
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.