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::ReadFileInfo Class Reference

Contains all input information to read a file More...

#include <ReadFileInfo.hpp>

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

Public Member Functions

 ReadFileInfo (void)
 Constructs an ReadFileInfo instance.
 
 ReadFileInfo (const RscString< 512 > &filePath, Traits fileTraits)
 Constructs an ReadFileInfo 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...
 
- 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< 512 > FilePath
 Path of the file to read
 
Traits FileTraits = static_cast<Traits>(0)
 Traits of the file which shall be retrieved
 

Detailed Description

Contains all input information to read a file

Member Function Documentation

◆ Deserialize()

void Arp::System::Commons::Services::Io::ReadFileInfo::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::System::Commons::Services::Io::ReadFileInfo::GetFieldCount ( void  )
static

Returns the count of fields

Returns
Count of fields.

The field count is used for serialization via Rsc

◆ Serialize()

void Arp::System::Commons::Services::Io::ReadFileInfo::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: