PLCnext API Documentation 25.0.2.69
Public Types | Public Member Functions | List of all members
Arp::System::Commons::Configuration::IncludeElements Class Reference

This class reads and holds items ofIncludeElement. More...

#include <IncludeElements.hpp>

Public Types

using Items = std::vector< IncludeElement >
 

Public Member Functions

 IncludeElements (void)
 Constructs an IncludeElements instance.
 
 IncludeElements (const Items &items)
 Constructs an IncludeElements instance with given include items.
 
const Items & GetItems (void) const
 Returns all available include items
 
void AddItem (const String &path, const DocumentTraits &traits)
 Adds an include item More...
 
void AddItem (const IncludeElement &item)
 Adds an include item
 
void ReadItem (XmlReader &reader, XmlSerializationContext &context)
 Reads an include item and stores in item list. More...
 

Detailed Description

This class reads and holds items ofIncludeElement.

Member Function Documentation

◆ AddItem()

void Arp::System::Commons::Configuration::IncludeElements::AddItem ( const String path,
const DocumentTraits traits 
)

Adds an include item

Parameters
pathPath of the file to include.
traitsTraits of the file to include.

◆ ReadItem()

void Arp::System::Commons::Configuration::IncludeElements::ReadItem ( XmlReader reader,
XmlSerializationContext context 
)

Reads an include item and stores in item list.

Parameters
reader
context

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