PLCnext API Documentation 23.6.0.37
|
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)=default | |
Move constructor. | |
CustomAttribute & | operator= (const CustomAttribute &arg)=default |
Copy assignment operator. | |
CustomAttribute & | operator= (CustomAttribute &&arg)=default |
Move assignment operator | |
~CustomAttribute (void) override=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 override |
Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter. More... | |
void | Deserialize (RscReader &reader) override |
Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader. More... | |
![]() | |
virtual | ~IRscSerializable ()=default |
default destructor | |
virtual void | Serialize (RscWriter &writer) const =0 |
Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter. More... | |
virtual void | Deserialize (RscReader &reader)=0 |
Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader. More... | |
Static Public Member Functions | |
static size_t | GetFieldCount (void) |
![]() | |
static size_t | GetFieldCount (void) |
Returns the count of fields of the struct type More... | |
Container for individual attributes within the interface DataBrowser
|
overridevirtual |
Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader.
reader | Reference to RscReader. |
Implements Arp::System::Rsc::Services::IRscSerializable.
|
inline |
Get the cache size
|
inline |
Name of the respective attribute this instance object include.
|
inline |
Attribute value.
The value type is RscVariant.
|
overridevirtual |
Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter.
writer | Reference to RscWriter |
Implements Arp::System::Rsc::Services::IRscSerializable.