PLCnext API Documentation 26.6.0.38
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Arp::Services::BackupAndRestore::Services::BackupAndRestoreOption Class Reference

Defines a predefined set of tag combinations, which in turn describes a set of files to be copied into a backup or restored from a backup. More...

#include <BackupAndRestoreOption.hpp>

Inheritance diagram for Arp::Services::BackupAndRestore::Services::BackupAndRestoreOption:
Inheritance graph

Public Member Functions

 BackupAndRestoreOption (void)
 Constructs an BackupAndRestoreOption instance.
 
 BackupAndRestoreOption (const RscString< 64 > &name, const std::vector< ItemSelectionRule > &matchesAnyOf)
 Constructs an BackupAndRestoreOption instance.
 
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...
 
void Serialize (JRscWriter &writer) const
 Serializes the datatype. All fields of the datatype have to be serialized in use of JRscWriter. More...
 
void Deserialize (JRscReader &reader)
 Deserializes the datatype. All fields of the datatype have to be deserialized in use of JRscReader. 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...
 

Public Attributes

RscString< 64 > Name
 The name of the option.
 
std::vector< ItemSelectionRuleMatchesAnyOf
 The scope of items to be referenced with this option.
 

Detailed Description

Defines a predefined set of tag combinations, which in turn describes a set of files to be copied into a backup or restored from a backup.

Example for backup options, e.g.:

Example for restore options, e.g.:

Member Function Documentation

◆ Deserialize() [1/2]

void Arp::Services::BackupAndRestore::Services::BackupAndRestoreOption::Deserialize ( JRscReader &  reader)

Deserializes the datatype. All fields of the datatype have to be deserialized in use of JRscReader.

Parameters
readerReference to RscReader.

◆ Deserialize() [2/2]

void Arp::Services::BackupAndRestore::Services::BackupAndRestoreOption::Deserialize ( RscReader reader)

Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader.

Parameters
readerReference to RscReader.

◆ GetFieldCount()

size_t Arp::Services::BackupAndRestore::Services::BackupAndRestoreOption::GetFieldCount ( void  )
static

Returns the count of fields

Returns
Count of fields.

The field count is used for serialization via Rsc

◆ Serialize() [1/2]

void Arp::Services::BackupAndRestore::Services::BackupAndRestoreOption::Serialize ( JRscWriter &  writer) const

Serializes the datatype. All fields of the datatype have to be serialized in use of JRscWriter.

Parameters
writerReference to RscWriter

◆ Serialize() [2/2]

void Arp::Services::BackupAndRestore::Services::BackupAndRestoreOption::Serialize ( RscWriter writer) const

Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter.

Parameters
writerReference to RscWriter

The documentation for this class was generated from the following files: