|
PLCnext API Documentation
22.0.0.43
|
Classes | |
| class | Arp::Enum< T > |
| Adapter class for enums to make them loggable and parsable from e.g. XML files. More... | |
Functions | |
| template<class T > | |
| Enum< T > | Arp::make_enum (T value) |
| Global make function to adapt any enum class by class Enum. More... | |
| template<class T > | |
| std::ostream & | Arp::operator<< (std::ostream &os, Enum< T > value) |
| Makes the Enum class loggable and streamable. More... | |
| template<class T > | |
| bool | Arp::operator== (Enum< T > lhs, Enum< T > rhs) |
| Equality operator for class Enum. More... | |
| template<class T > | |
| bool | Arp::operator< (Enum< T > lhs, Enum< T > rhs) |
| Less operator for class Enum. More... | |
| template<class T > | |
| Enum< T > | Arp::operator & (Enum< T > lhs, Enum< T > rhs) |
| Bitwise And operator for class Enum. More... | |
| template<class T > | |
| Enum< T > | Arp::operator| (Enum< T > lhs, Enum< T > rhs) |
| Bitwise Or operator for class Enum. More... | |
| Arp::Enum< T >::Enum (Value value=Value(0)) | |
| Constructs an instace of Enum with the given value. More... | |
| Enum & | Arp::Enum< T >::operator= (Value rhs) |
| The assignment operator for a value of the adapted type. More... | |
| Arp::Enum< T >::operator T (void) const | |
| Converts this instance implicitely to the value of its adapted type More... | |
| Enum & | Arp::Enum< T >::operator|= (Enum rhs) |
| The assignment OR operator. More... | |
| T | Arp::Enum< T >::ToValue (void) const |
| Converts this instance to the value of its adapted type More... | |
| String | Arp::Enum< T >::ToString (void) const |
| Converts this instance to its string representation. More... | |
| static bool | Arp::Enum< T >::TryParse (const String &input, Enum &result) |
| Tries to parse the given input string. More... | |
| static Enum | Arp::Enum< T >::Parse (const String &input) |
| Parses the given input string. More... | |
| static bool | Arp::Enum< T >::TryParse (const char *input, Enum &result) |
| Tries to parse the given input string. More... | |
| static Enum | Arp::Enum< T >::Parse (const char *input) |
| Parses the given input string. More... | |
Constructs an instace of Enum with the given value.
| value | The enum value to initialize this instance with. |
| Enum<T> Arp::make_enum | ( | T | value | ) |
Bitwise And operator for class Enum.
| lhs | The left argument to combine bitwise. |
| rhs | The right argument to combine bitwise. |
|
inline |
Converts this instance implicitely to the value of its adapted type
Less operator for class Enum.
| lhs | The left argument to compare. |
| rhs | The right argument to compare. |
true if the left argument is less than the right argument, otherwise false.
|
inline |
Makes the Enum class loggable and streamable.
| os | The stream to write the typename to. |
| value | The enum value to write. |
The assignment operator for a value of the adapted type.
| rhs | The value to assign to this instance. |
Equality operator for class Enum.
| lhs | The left argument to compare. |
| rhs | The right argument to compare. |
true if the arguments are equal, otherwise false.Bitwise Or operator for class Enum.
| lhs | The left argument to combine bitwise. |
| rhs | The right argument to combine bitwise. |
The assignment OR operator.
| rhs | The value to OR to this instance. |
Converts this instance to its string representation.
|
inline |
Converts this instance to the value of its adapted type
|
inlinestatic |
Tries to parse the given input string.
| input | The input string to parse. |
| result | The resulting Enum. |
true on success, otherwise false.
1.8.13