|
PLCnext API Documentation 23.0.2.9
|
This class represents the counterpart to the data type 'IecString', 'IecWString'. It's the C++ data type which can be used by Arp components or by user programs. More...
#include <StaticString.hxx>

Public Types | |
| using | String = Arp::BasicString< char8 > |
Public Member Functions | |
| StaticString (const TChar *str=nullptr) | |
| Constructs an StaticString instance. | |
| StaticString (const StaticString &arg) | |
| Copy constructor. | |
| StaticString & | operator= (const StaticString< Capacity, TChar > &arg) |
| Assignment operator. | |
| template<uint16 M> | |
| StaticString & | operator= (const StaticString< M, TChar > &arg) |
| StaticString & | operator= (const String &arg) |
| StaticString & | operator= (const TChar *arg) |
| ~StaticString (void)=default | |
| Destructs this instance and frees all resources. | |
| uint16 | GetLength (void) const |
| bool | IsEmpty (void) const |
| void | CopyTo (StaticString &other) const |
| String | ToString (void) const |
| void | Clear (void) |
| template<uint16 M> | |
| StaticString< N, TChar > & | operator= (const StaticString< M, TChar > &arg) |
Public Member Functions inherited from Arp::Plc::Commons::Gds::StaticStringBase | |
| StaticStringBase (uint16 capacityArg=80) | |
| Constructs an StaticStringBase instance. | |
| StaticStringBase (const StaticStringBase &arg)=default | |
| Copy constructor. | |
| StaticStringBase & | operator= (const StaticStringBase &arg)=default |
| Assignment operator. | |
| ~StaticStringBase (void)=default | |
| Destructs this instance and frees all resources. | |
| uint16 | GetCapacity (void) const |
| uint16 | GetLength (void) const |
| char8 * | GetData (void) const |
| char16 * | GetData16 (void) const |
| size_t | GetSize (void) const |
| size_t | GetSize (DataType dataType) const |
| size_t | GetSize (size_t charSize) 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) |
Static Protected Member Functions inherited from Arp::Plc::Commons::Gds::StaticStringBase | |
| static uint16 | AssignStaticString (char8 *pData, uint16 capacity, const String &arg) |
| Assigns an Arp::String to a StaticString(char8) object More... | |
| static uint16 | AssignStaticString (char16 *pData, uint16 capacity, const String &arg) |
| Assigns an Arp::String to a StaticString(char16) object More... | |
| static String | ConvertStaticString (const char8 *pData) |
| Converts a StaticString(char8) object into an Arp::String More... | |
| static String | ConvertStaticString (const char16 *pData) |
| Converts a StaticString(char16) object into an Arp::String More... | |
Protected Attributes inherited from Arp::Plc::Commons::Gds::StaticStringBase | |
| uint16 | capacity |
| uint16 | length |
This class represents the counterpart to the data type 'IecString', 'IecWString'. It's the C++ data type which can be used by Arp components or by user programs.