PLCnext API Documentation
21.0.0.35466
|
Container for individual attributes within the interface DataBrowser More...
#include <CustomAttribute.hpp>
Public Member Functions | |
CustomAttribute (void)=default | |
Constructs an CustomAttribute instance. More... | |
CustomAttribute (const String &name, RscVariant< 256 > value) | |
Constructs an CustomAttribute instance. More... | |
CustomAttribute (const CustomAttribute &arg)=default | |
Copy constructor. More... | |
CustomAttribute (CustomAttribute &&arg)=default | |
Move constructor. More... | |
CustomAttribute & | operator= (const CustomAttribute &arg)=default |
Copy assignment operator. More... | |
CustomAttribute & | operator= (CustomAttribute &&arg)=default |
Move assignment operator More... | |
~CustomAttribute (void)=default | |
Destructs this instance and frees all resources. More... | |
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 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
|
default |
Constructs an CustomAttribute instance.
Arp::Plc::Commons::Meta::CustomAttribute::CustomAttribute | ( | const String & | name, |
RscVariant< 256 > | value | ||
) |
Constructs an CustomAttribute instance.
|
default |
Copy constructor.
|
default |
Move constructor.
|
default |
Destructs this instance and frees all resources.
|
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.
|
default |
Copy assignment operator.
|
default |
Move assignment operator
|
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.