Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove FW_ARRAY_TO_STRING #375 #447

Merged
merged 11 commits into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ case class ArrayCppWriter (
)
) ++
wrapClassMembersInIfDirective(
"\n#if FW_ARRAY_TO_STRING",
"\n#if FW_SERIALIZABLE_TO_STRING",
bocchino marked this conversation as resolved.
Show resolved Hide resolved
List(
functionClassMember(
Some("Convert array to string"),
Expand Down
2 changes: 1 addition & 1 deletion compiler/tools/fpp-to-cpp/test/array/AArrayAc.ref.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Fw::SerializeStatus A ::
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void A ::
toString(Fw::StringBase& sb) const
Expand Down
2 changes: 1 addition & 1 deletion compiler/tools/fpp-to-cpp/test/array/AArrayAc.ref.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class A :
Fw::SerializeBufferBase& buffer //!< The serial buffer
);

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

//! Convert array to string
void toString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Fw::SerializeStatus AbsType ::
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void AbsType ::
toString(Fw::StringBase& sb) const
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class AbsType :
Fw::SerializeBufferBase& buffer //!< The serial buffer
);

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

//! Convert array to string
void toString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Fw::SerializeStatus BuiltInType ::
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void BuiltInType ::
toString(Fw::StringBase& sb) const
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class BuiltInType :
Fw::SerializeBufferBase& buffer //!< The serial buffer
);

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

//! Convert array to string
void toString(
Expand Down
2 changes: 1 addition & 1 deletion compiler/tools/fpp-to-cpp/test/array/C_AArrayAc.ref.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Fw::SerializeStatus C_A ::
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void C_A ::
toString(Fw::StringBase& sb) const
Expand Down
2 changes: 1 addition & 1 deletion compiler/tools/fpp-to-cpp/test/array/C_AArrayAc.ref.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class C_A :
Fw::SerializeBufferBase& buffer //!< The serial buffer
);

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

//! Convert array to string
void toString(
Expand Down
2 changes: 1 addition & 1 deletion compiler/tools/fpp-to-cpp/test/array/Enum1ArrayAc.ref.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ Fw::SerializeStatus Enum1 ::
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void Enum1 ::
toString(Fw::StringBase& sb) const
Expand Down
2 changes: 1 addition & 1 deletion compiler/tools/fpp-to-cpp/test/array/Enum1ArrayAc.ref.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class Enum1 :
Fw::SerializeBufferBase& buffer //!< The serial buffer
);

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

//! Convert array to string
void toString(
Expand Down
2 changes: 1 addition & 1 deletion compiler/tools/fpp-to-cpp/test/array/Enum2ArrayAc.ref.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ Fw::SerializeStatus Enum2 ::
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void Enum2 ::
toString(Fw::StringBase& sb) const
Expand Down
2 changes: 1 addition & 1 deletion compiler/tools/fpp-to-cpp/test/array/Enum2ArrayAc.ref.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class Enum2 :
Fw::SerializeBufferBase& buffer //!< The serial buffer
);

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

//! Convert array to string
void toString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Fw::SerializeStatus HeaderPath ::
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void HeaderPath ::
toString(Fw::StringBase& sb) const
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class HeaderPath :
Fw::SerializeBufferBase& buffer //!< The serial buffer
);

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

//! Convert array to string
void toString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ Fw::SerializeStatus PrimitiveArray ::
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void PrimitiveArray ::
toString(Fw::StringBase& sb) const
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class PrimitiveArray :
Fw::SerializeBufferBase& buffer //!< The serial buffer
);

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

//! Convert array to string
void toString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ namespace M {
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void PrimitiveBool ::
toString(Fw::StringBase& sb) const
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ namespace M {
Fw::SerializeBufferBase& buffer //!< The serial buffer
);

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

//! Convert array to string
void toString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ namespace M {
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void PrimitiveF32e ::
toString(Fw::StringBase& sb) const
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ namespace M {
Fw::SerializeBufferBase& buffer //!< The serial buffer
);

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

//! Convert array to string
void toString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ namespace M {
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void PrimitiveF32f ::
toString(Fw::StringBase& sb) const
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ namespace M {
Fw::SerializeBufferBase& buffer //!< The serial buffer
);

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

//! Convert array to string
void toString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ namespace M {
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void PrimitiveF64 ::
toString(Fw::StringBase& sb) const
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ namespace M {
Fw::SerializeBufferBase& buffer //!< The serial buffer
);

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

//! Convert array to string
void toString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ namespace M {
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void PrimitiveI32 ::
toString(Fw::StringBase& sb) const
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ namespace M {
Fw::SerializeBufferBase& buffer //!< The serial buffer
);

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

//! Convert array to string
void toString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ namespace M {
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void PrimitiveI64 ::
toString(Fw::StringBase& sb) const
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ namespace M {
Fw::SerializeBufferBase& buffer //!< The serial buffer
);

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

//! Convert array to string
void toString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ namespace M {
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void PrimitiveU16 ::
toString(Fw::StringBase& sb) const
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ namespace M {
Fw::SerializeBufferBase& buffer //!< The serial buffer
);

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

//! Convert array to string
void toString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ namespace M {
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void PrimitiveU8 ::
toString(Fw::StringBase& sb) const
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ namespace M {
Fw::SerializeBufferBase& buffer //!< The serial buffer
);

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

//! Convert array to string
void toString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Fw::SerializeStatus SingleElement ::
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void SingleElement ::
toString(Fw::StringBase& sb) const
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class SingleElement :
Fw::SerializeBufferBase& buffer //!< The serial buffer
);

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

//! Convert array to string
void toString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ Fw::SerializeStatus String1 ::
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void String1 ::
toString(Fw::StringBase& sb) const
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class String1 :
Fw::SerializeBufferBase& buffer //!< The serial buffer
);

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

//! Convert array to string
void toString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Fw::SerializeStatus String2 ::
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void String2 ::
toString(Fw::StringBase& sb) const
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class String2 :
Fw::SerializeBufferBase& buffer //!< The serial buffer
);

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

//! Convert array to string
void toString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ Fw::SerializeStatus StringArray ::
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void StringArray ::
toString(Fw::StringBase& sb) const
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class StringArray :
Fw::SerializeBufferBase& buffer //!< The serial buffer
);

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

//! Convert array to string
void toString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ Fw::SerializeStatus Struct1 ::
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void Struct1 ::
toString(Fw::StringBase& sb) const
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class Struct1 :
Fw::SerializeBufferBase& buffer //!< The serial buffer
);

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

//! Convert array to string
void toString(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Fw::SerializeStatus Struct2 ::
return status;
}

#if FW_ARRAY_TO_STRING
#if FW_SERIALIZABLE_TO_STRING

void Struct2 ::
toString(Fw::StringBase& sb) const
Expand Down
Loading
Loading