|
PLCnext API Documentation 26.0.1.58
|
Container for individual attributes within the interface DataBrowser More...
#include <CustomAttribute.hpp>

Public Member Functions | |
| CustomAttribute (void)=default | |
| Constructs an CustomAttribute instance. | |
| CustomAttribute (const String &name, RscVariant< 256 > value) | |
| Constructs an CustomAttribute instance. | |
| CustomAttribute (const CustomAttribute &arg)=default | |
| Copy constructor. | |
| CustomAttribute (CustomAttribute &&arg) noexcept=default | |
| Move constructor. | |
| CustomAttribute & | operator= (const CustomAttribute &arg)=default |
| Copy assignment operator. | |
| CustomAttribute & | operator= (CustomAttribute &&arg) noexcept=default |
| Move assignment operator | |
| ~CustomAttribute (void) noexcept=default | |
| Destructs this instance and frees all resources. | |
| const String & | GetName () const |
| Name of the respective attribute this instance object include. More... | |
| const RscVariant< 256 > & | GetValue () const |
| Attribute value. More... | |
| size_t | GetCacheSize (void) const |
| Get the cache size More... | |
| void | Serialize (RscWriter &writer) const |
| Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter. More... | |
| void | Deserialize (RscReader &reader) |
| Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader. More... | |
Public Member Functions inherited from Arp::Base::Rsc::Commons::RscSerializable | |
| RscSerializable (void)=default | |
| The default constructor. | |
Static Public Member Functions | |
| static size_t | GetFieldCount (void) |
| Returns the count of fields More... | |
Container for individual attributes within the interface DataBrowser
| void Arp::Plc::Meta::Services::CustomAttribute::Deserialize | ( | RscReader & | reader | ) |
Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader.
| reader | Reference to RscReader. |
| size_t Arp::Plc::Commons::Meta::CustomAttribute::GetCacheSize | ( | void | ) | const |
Get the cache size
|
static |
Returns the count of fields
The field count is used for serialization via Rsc
| const String & Arp::Plc::Commons::Meta::CustomAttribute::GetName | ( | void | ) | const |
Name of the respective attribute this instance object include.
| const RscVariant< 256 > & Arp::Plc::Commons::Meta::CustomAttribute::GetValue | ( | void | ) | const |
Attribute value.
The value type is RscVariant.
| void Arp::Plc::Meta::Services::CustomAttribute::Serialize | ( | RscWriter & | writer | ) | const |
Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter.
| writer | Reference to RscWriter |