9#include "Arp/System/Rsc/Services/IRscSerializable.hpp"
10#include "Arp/System/Rsc/Services/RscReader.hpp"
11#include "Arp/System/Rsc/Services/RscString.hxx"
12#include "Arp/System/Rsc/Services/RscWriter.hpp"
14namespace Arp {
namespace Plc {
namespace Commons {
namespace Meta
60 static size_t GetFieldCount(
void);
87inline size_t ArrayDimension::GetFieldCount(
void)
95 cacheSize +=
sizeof(count);
96 cacheSize +=
sizeof(offset);
106inline bool operator!= (
const ArrayDimension& lhs,
const ArrayDimension& rhs)
108 return !(lhs == rhs);
111inline bool operator< (
const ArrayDimension& lhs,
const ArrayDimension& rhs)
113 return (lhs.GetCount() < rhs.GetCount()) || ((lhs.GetCount() == rhs.GetCount()) && (lhs.GetOffset() < rhs.GetOffset()));
116inline std::ostream& operator<<(std::ostream& os,
const ArrayDimension& rhs)
119 if (rhs.GetOffset() != 0)
121 os << rhs.GetOffset() <<
"," ;
123 os << rhs.GetCount() <<
"]";
Marshalls structure or class data types. Serialize and Deserialize have to marshal fields in the same...
Definition: IRscSerializable.hpp:20
Reads data from Rsc
Definition: RscReader.hpp:27
Writes data to Rsc.
Definition: RscWriter.hpp:32
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:36
std::int32_t int32
The Arp integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:38
Namespace for classes and interfaces for the Remote Service Call implementation
Root namespace for the PLCnext API