8 #include "Arp/System/Rsc/Services/IRscSerializable.hpp" 9 #include "Arp/System/Rsc/Services/RscReader.hpp" 10 #include "Arp/System/Rsc/Services/RscString.hxx" 11 #include "Arp/System/Rsc/Services/RscWriter.hpp" 12 #include "Arp/Plc/Commons/Meta/DataTag.hpp" 13 #include "Arp/Plc/Commons/Meta/ArrayDimension.hpp" 14 #include "Arp/Plc/Commons/Meta/ArrayDimensions.hpp" 15 #include "Arp/Plc/Commons/Meta/ITypeNavigator.hpp" 20 namespace Arp {
namespace Plc {
namespace Meta {
namespace Internal
25 namespace Arp {
namespace Plc {
namespace Commons {
namespace Meta
33 friend class Arp::Plc::Meta::Internal::DataBrowser;
63 bool IsEmpty(
void)
const;
79 const DataTag& GetDataTag(
void)
const;
99 bool IsBackgroundDomain(
void)
const;
102 ARP_DEPRECATED(
"Use GetBaseDataTypeSize instead")
112 void Serialize(
RscWriter& writer)
const override;
113 void Deserialize(
RscReader& reader)
override;
114 static size_t GetFieldCount(
void);
117 void SetName(
const String& value);
129 inline bool DataInfo::IsEmpty()
const 131 return this->dataTag.IsEmpty();
136 return this->dataTag.GetDataType();
141 return this->dataTag.GetDataType();
146 return this->dataTag;
149 inline const DataTag& DataInfo::GetDataTag()
const 151 return this->dataTag;
156 return this->dataTag.GetTypeIdentifier();
161 return this->dataTag.GetTypeIdentifier();
166 return this->dimensions;
171 return this->dimensions;
174 inline bool DataInfo::IsBackgroundDomain()
const 176 return this->dataTag.IsBackgroundDomain();
179 inline void DataInfo::SetName(
const String& value)
181 this->dataTag.SetName(value);
184 inline size_t DataInfo::GetFieldCount(
void)
Reads data from Rsc
Definition: RscReader.hpp:23
Writes data to Rsc.
Definition: RscWriter.hpp:32
Definition: DataTypeEnum.hpp:15
Namespace for classes and interfaces for the Remote Service Call implementation
Marshalls structure or class data types. Serialize and Deserialize have to marshal fields in the same...
Definition: IRscSerializable.hpp:18
Root namespace for the PLCnext API