PLCnext API Documentation  21.0.0.35466
Public Types | Public Member Functions | List of all members
Arp::Plc::Commons::Gds::IecString Class Reference

This class represents the data type 'IecString' and is the counterpart of 'StaticString'. Note: This class is intended for internal use by PLCnext. Please do not use this class in applications or in any other way! More...

#include <IecString.hpp>

Inheritance diagram for Arp::Plc::Commons::Gds::IecString:
Inheritance graph

Public Types

using String = Arp::BasicString< char8 >
 

Public Member Functions

 IecString (uint16 capacityArg=80)
 Constructs an IecString instance. More...
 
 IecString (const IecString &arg)=default
 Copy constructor. More...
 
IecStringoperator= (const IecString &arg)=default
 Assignment operator. More...
 
 ~IecString (void)=default
 Destructs this instance and frees all resources. More...
 
uint16 GetCapacity (void) const
 
uint16 GetLength (void) const
 
void CopyTo (const IecString &other) const
 
void CopyTo (String &other) const
 
String ToString (void) const
 
- Public Member Functions inherited from Arp::Plc::Commons::Gds::StaticStringBase
 StaticStringBase (uint16 capacityArg=80)
 Constructs an StaticStringBase instance. More...
 
 StaticStringBase (const StaticStringBase &arg)=default
 Copy constructor. More...
 
StaticStringBaseoperator= (const StaticStringBase &arg)=default
 Assignment operator. More...
 
 ~StaticStringBase (void)=default
 Destructs this instance and frees all resources. More...
 
uint16 GetCapacity (void) const
 
uint16 GetLength (void) const
 
char8GetData (void) const
 
size_t GetSize (void) const
 
void CopyTo (StaticStringBase &other) const
 

Additional Inherited Members

- Static Public Member Functions inherited from Arp::Plc::Commons::Gds::StaticStringBase
static size_t GetMetaDataSize (void)
 
- Protected Attributes inherited from Arp::Plc::Commons::Gds::StaticStringBase
uint16 capacity
 
uint16 length
 

Detailed Description

This class represents the data type 'IecString' and is the counterpart of 'StaticString'. Note: This class is intended for internal use by PLCnext. Please do not use this class in applications or in any other way!

Constructor & Destructor Documentation

◆ IecString() [1/2]

Arp::Plc::Commons::Gds::IecString::IecString ( uint16  capacityArg = 80)
inline

Constructs an IecString instance.

◆ IecString() [2/2]

Arp::Plc::Commons::Gds::IecString::IecString ( const IecString arg)
default

Copy constructor.

◆ ~IecString()

Arp::Plc::Commons::Gds::IecString::~IecString ( void  )
default

Destructs this instance and frees all resources.

Member Function Documentation

◆ operator=()

IecString& Arp::Plc::Commons::Gds::IecString::operator= ( const IecString arg)
default

Assignment operator.


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