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"
14 namespace Arp {
namespace Plc {
namespace Commons {
namespace Meta
47 uint32 GetCount(
void)
const;
51 int32 GetOffset(
void)
const;
55 static size_t GetCacheSize(
void);
60 static size_t GetFieldCount(
void);
87 inline size_t ArrayDimension::GetFieldCount(
void)
95 cacheSize +=
sizeof(count);
96 cacheSize +=
sizeof(offset);
106 inline bool operator!= (
const ArrayDimension& lhs,
const ArrayDimension& rhs)
108 return !(lhs == rhs);
111 inline bool operator< (
const ArrayDimension& lhs,
const ArrayDimension& rhs)
113 return (lhs.GetCount() < rhs.GetCount()) || ((lhs.GetCount() == rhs.GetCount()) && (lhs.GetOffset() < rhs.GetOffset()));
116 inline 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:19
Reads data from Rsc
Definition: RscReader.hpp:26
Writes data to Rsc.
Definition: RscWriter.hpp:31
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:35
std::int32_t int32
The Arp integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:37
Namespace for classes and interfaces for the Remote Service Call implementation
Definition: IRscReadEnumerator.hxx:10
Root namespace for the PLCnext API