PLCnext API Documentation 25.0.2.69
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Arp::System::Commons::Services::Io::WriteFileData Class Reference

Contains all input information and data of a file to write More...

#include <WriteFileData.hpp>

Inheritance diagram for Arp::System::Commons::Services::Io::WriteFileData:
Inheritance graph

Public Member Functions

void Serialize (RscWriter &writer) const
 
void Deserialize (RscReader &reader)
 
- 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)
 

Public Attributes

RscString< 512 > FilePath
 The path of the file to write
 
boolean Overwrite = false
 Indicates whether a file shall be overwritten. If it is set true, an existing file will be overwritten. More...
 
std::vector< TraitItemTraitItems
 Contains the traits of the file to set after the file is written
 
RscStream Data
 Contains the data of the file to write
 
FileSystemError DeserializeResult = FileSystemError::None
 

Detailed Description

Contains all input information and data of a file to write

Member Data Documentation

◆ Overwrite

boolean Arp::System::Commons::Services::Io::WriteFileData::Overwrite = false

Indicates whether a file shall be overwritten. If it is set true, an existing file will be overwritten.

If it is set to<c>true but the file doesn't exist, the method will return an error.


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