|
PLCnext API Documentation
22.9.0.33
|
Payload class for a message regarding the migration of the storage file format More...
#include <StorageFileFormatMigrationPayload.hpp>

Public Types | |
| using | ArgumentsType = std::tuple< const char *, const char *, StorageFileFormatMigrationResult, int, int, const char * > |
| ArgumentsType to be used with NonBlockingNotificationRegistration3 More... | |
Public Types inherited from Arp::System::Nm::SpecializedPayload< StorageFileFormatMigrationPayload > | |
| using | ValueType = RawPayloadType::value_type |
| using | FieldType = Arp::System::Rsc::Services::RscType |
Public Member Functions | |
| StorageFileFormatMigrationPayload (const ArgumentsType &args) | |
| Creates a payload object More... | |
| StorageFileFormatMigrationPayload (const String &archiveName, const String &filePath, StorageFileFormatMigrationResult result, int sourceVersion, int destinationVersion, const String &backupFilePath) | |
| Creates a payload object More... | |
| String | GetArchiveName () const |
| Returns the archive name More... | |
| String | GetFilePath () const |
| Returns the name of the migrated file More... | |
| StorageFileFormatMigrationResult | GetResult () const |
| Returns the result of the migration More... | |
| int | GetSourceVersion () const |
| Returns the file version before the migration More... | |
| int | GetDestinationVersion () const |
| Returns the file version after the migration More... | |
| String | GetBackupFilePath () const |
| Returns the path of the backup file if it was created More... | |
Public Member Functions inherited from Arp::System::Nm::SpecializedPayload< StorageFileFormatMigrationPayload > | |
| SpecializedPayload (const Notification ¬ification) | |
| Creates a view on a Notification object More... | |
| SpecializedPayload (const GenericPayload &payloadArg) | |
| Creates a view on a GenericPayload object More... | |
| PayloadTypeIdType | GetId () const final |
| Returns the PayloadTypeId More... | |
| const String | GetName () const final |
| Returns the PayloadTypeName More... | |
| const RawPayloadType & | GetAsRawPayloadType () const final |
| Returns a reference to the raw payload object More... | |
| const String | ToString () const override |
| Get a human readable string representation More... | |
| RawPayloadType && | MoveOutRawPayload () |
| bool | IsReadOnly () const |
| Returns true if this object is a view on a Payload More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Arp::System::Nm::SpecializedPayload< StorageFileFormatMigrationPayload > | |
| static PayloadTypeIdType | GetPayloadTypeId () |
| Returns the PayloadTypeId More... | |
| static const String | GetPayloadTypeName () |
| Returns the PayloadType name More... | |
Protected Member Functions inherited from Arp::System::Nm::SpecializedPayload< StorageFileFormatMigrationPayload > | |
| SpecializedPayload (const String &formatString) | |
| Creates a SpecializedPayload with an format string More... | |
| void | SetFormatString (const String &formatString) |
| size_t | AddField () |
| Adds a payload field More... | |
| size_t | AddField () |
| Adds a payload field More... | |
| void | SetFieldValue (size_t fieldIndex, const T &value) |
| Sets the value of a payload field More... | |
| void | SetFieldValue (size_t fieldIndex, T value) |
| Sets the value of a payload field More... | |
| const T | GetFieldValueAs (size_t fieldIndex) const |
| Gets a field value with the specified type More... | |
| const T | GetFieldValueAs (size_t fieldIndex) const |
| Gets a field value with the specified type More... | |
| size_t | GetFieldCount () const |
| Gets the number of fields in the payload More... | |
Static Protected Member Functions inherited from Arp::System::Nm::SpecializedPayload< StorageFileFormatMigrationPayload > | |
| static size_t | FieldIndexToFormatStringIndex (size_t fieldIndex) |
Payload class for a message regarding the migration of the storage file format
This payload class is used by the NotificationLogger.
| using Arp::System::NmPayload::NotificationLogger::StorageFileFormatMigrationPayload::ArgumentsType = std::tuple<const char*, const char*, StorageFileFormatMigrationResult, int, int, const char*> |
ArgumentsType to be used with NonBlockingNotificationRegistration3
|
explicit |
Creates a payload object
| Arp::System::NmPayload::NotificationLogger::StorageFileFormatMigrationPayload::StorageFileFormatMigrationPayload | ( | const String & | archiveName, |
| const String & | filePath, | ||
| StorageFileFormatMigrationResult | result, | ||
| int | sourceVersion, | ||
| int | destinationVersion, | ||
| const String & | backupFilePath | ||
| ) |
Creates a payload object
| archiveName | archive name |
| String Arp::System::NmPayload::NotificationLogger::StorageFileFormatMigrationPayload::GetArchiveName | ( | ) | const |
Returns the archive name
| String Arp::System::NmPayload::NotificationLogger::StorageFileFormatMigrationPayload::GetBackupFilePath | ( | ) | const |
Returns the path of the backup file if it was created
| int Arp::System::NmPayload::NotificationLogger::StorageFileFormatMigrationPayload::GetDestinationVersion | ( | ) | const |
Returns the file version after the migration
| String Arp::System::NmPayload::NotificationLogger::StorageFileFormatMigrationPayload::GetFilePath | ( | ) | const |
Returns the name of the migrated file
| StorageFileFormatMigrationResult Arp::System::NmPayload::NotificationLogger::StorageFileFormatMigrationPayload::GetResult | ( | ) | const |
Returns the result of the migration
| int Arp::System::NmPayload::NotificationLogger::StorageFileFormatMigrationPayload::GetSourceVersion | ( | ) | const |
Returns the file version before the migration