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>
|
|
| 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...
|
| |
|
| RscSerializable (void)=default |
| | The default constructor.
|
| |
|
|
RscString< 64 > | Name |
| | The name of the option.
|
| |
|
std::vector< ItemSelectionRule > | MatchesAnyOf |
| | The scope of items to be referenced with this option.
|
| |
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.:
- Certificates: This will copy the trust stores and identity stores into the backup.
- Configuration Data: This will copy files from the well-defined configuration directories for applications into the backup.
- Engineer Project: This will copy the engineer project into the backup.
- Runtime Data: This will copy runtime data into the backup.
- Remaining Files: This will put any file which is not associated with a tag into the backup.
- ...
Example for restore options, e.g.:
- Certificates: This will restore the trust stores and identity stores from the backup.
- Configuration Network: Restores the files related to the network configuration.
- Engineer Project: Restores the files related to the engineer project.
- ...
◆ 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
-
| reader | Reference 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
-
| reader | Reference 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
-
| writer | Reference 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
-
| writer | Reference to RscWriter |
The documentation for this class was generated from the following files:
- Arp/Services/BackupAndRestore/Services/BackupAndRestoreOption.hpp
- Arp/Services/BackupAndRestore/Services/BackupAndRestoreOption.cpp