30 for (U32 index = 0; index <
SIZE; index++) {
31 this->elements[index] = a[index];
39 this->elements[0] = e1;
46 for (U32 index = 0; index <
SIZE; index++) {
47 this->elements[index] = obj.elements[index];
58 FW_ASSERT(i <
SIZE, static_cast<FwAssertArgType>(i), static_cast<FwAssertArgType>(
SIZE));
59 return this->elements[i];
65 FW_ASSERT(i <
SIZE, static_cast<FwAssertArgType>(i), static_cast<FwAssertArgType>(
SIZE));
66 return this->elements[i];
76 for (U32 index = 0; index <
SIZE; index++) {
77 this->elements[index] = obj.elements[index];
85 for (U32 index = 0; index <
SIZE; index++) {
86 this->elements[index] = a[index];
94 for (U32 index = 0; index <
SIZE; index++) {
95 this->elements[index] = e;
103 for (U32 index = 0; index <
SIZE; index++) {
104 if (!((*
this)[index] == obj[index])) {
114 return !(*
this == obj);
119 std::ostream& operator<<(std::ostream& os,
const BuffQueueDepth& obj) {
136 for (U32 index = 0; index <
SIZE; index++) {
137 status = buffer.
serialize((*
this)[index]);
149 for (U32 index = 0; index <
SIZE; index++) {
158 #if FW_SERIALIZABLE_TO_STRING 160 void BuffQueueDepth ::
163 static const char *formatString =
"[ " Serialization/Deserialization operation was successful.
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
bool operator==(const BuffQueueDepth &obj) const
Equality operator.
U32 ElementType
The element type.
SerializeStatus
forward declaration for string
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialization.
Array of queue depths for Fw::Buffer types.
BuffQueueDepth & operator=(const BuffQueueDepth &obj)
Copy assignment operator (object)
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialization.
BuffQueueDepth()
Constructor (default value)
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
ElementType & operator[](const U32 i)
Subscript operator.
bool operator!=(const BuffQueueDepth &obj) const
Inequality operator.