|
PLCnext API Documentation
22.6.0.43
|
This (meta programming) class provides the C++ typename of the as template argument passed type. More...
#include <TypeName.hxx>
Public Member Functions | |
| TypeName (void) | |
Constructs a CommonTypeName instance and determines the typename of the of T. More... | |
| TypeName (const TypeName &arg)=default | |
| The default copy constructor. More... | |
| TypeName (TypeName &&arg) noexcept=default | |
| The default move constructor. More... | |
| TypeName & | operator= (const TypeName &arg)=default |
| The default assignment operator. More... | |
| ~TypeName (void)=default | |
| The default destructor.. More... | |
| String | GetCommonName (void) const |
| Gets the common name of the as template parameter given type according to the CLS. More... | |
| String | GetSafeName (void) const |
| Gets a safe name of the as template parameter given type. More... | |
| String | GetNamespace (void) const |
| Gets the namespace of the as template parameter given type. More... | |
| String | GetClassName (void) const |
| Gets the classname of the as template parameter given type. More... | |
| operator const String & (void) const | |
| Converts this instance implicitely to string. More... | |
| operator const char * (void) const | |
Converts this instance implicitely to char*. More... | |
| bool | operator== (const TypeName &other) |
| Determines if this instance is equal to other . More... | |
| bool | operator!= (const TypeName &other) |
| Determines if this instance is not equal to other . More... | |
Public Attributes | |
| String | Value |
| The resulting typename. More... | |
Friends | |
| class | TypeName< void > |
This (meta programming) class provides the C++ typename of the as template argument passed type.
| T | The type to deduct the typename from. |
This class uses RTTI which must be enabled by the C++ build.
|
inline |
Constructs a CommonTypeName instance and determines the typename of the of T.
|
default |
The default copy constructor.
| arg | The argument to copy. |
|
defaultnoexcept |
The default move constructor.
| arg | The argument to move. |
|
default |
The default destructor..
|
inline |
Gets the classname of the as template parameter given type.
|
inline |
Gets the common name of the as template parameter given type according to the CLS.
|
inline |
Gets the namespace of the as template parameter given type.
|
inline |
Gets a safe name of the as template parameter given type.
The safe typename replaces dots and double colons by underscores.
|
inline |
Converts this instance implicitely to char*.
|
inline |
Converts this instance implicitely to string.
|
inline |
Determines if this instance is not equal to other .
| other | The instance to compare this instance to. |
true if this instance is not equal to other , otherwise false.
|
default |
The default assignment operator.
| arg | The argument to assign to this instance. |
|
inline |
Determines if this instance is equal to other .
| other | The instance to compare this instance to. |
true if this instance is equal to other , otherwise false.| String Arp::TypeName< T >::Value |
The resulting typename.