|
PLCnext API Documentation 24.0.0.71
|
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 > | |
| std::istream & | Arp::operator>> (std::istream &is, Enum< T > &value) |
| Makes the Enum class parsable. More... | |
| template<class T > | |
| Enum< T > | Arp::operator| (Enum< T > lhs, Enum< T > rhs) |
| Bitwise Or 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 > | |
| bool | Arp::operator== (Enum< T > lhs, Enum< T > rhs) |
| Equality operator of class Enum. More... | |
| template<class T > | |
| bool | Arp::operator< (Enum< T > lhs, Enum< T > rhs) |
| Less operator for class Enum. More... | |
| template<class T > | |
| bool | Arp::operator> (Enum< T > lhs, Enum< T > rhs) |
| Greater operator for class Enum. More... | |
| template<class T > | |
| bool | Arp::operator<= (Enum< T > lhs, Enum< T > rhs) |
| Less or equal operator for class Enum. More... | |
| template<class T > | |
| bool | Arp::operator>= (Enum< T > lhs, Enum< T > rhs) |
| Greater or equal operator for class Enum. More... | |
| template<class T > | |
| bool | Arp::operator== (Enum< T > lhs, T rhs) |
| Equality operator of class Enum. More... | |
| template<class T > | |
| bool | Arp::operator< (Enum< T > lhs, T rhs) |
| Less operator for class Enum. More... | |
| template<class T > | |
| bool | Arp::operator> (Enum< T > lhs, T rhs) |
| Greater operator for class Enum. More... | |
| template<class T > | |
| bool | Arp::operator<= (Enum< T > lhs, T rhs) |
| Less or equal operator for class Enum. More... | |
| template<class T > | |
| bool | Arp::operator>= (Enum< T > lhs, T rhs) |
| Greater or equal operator for class Enum. More... | |
| template<class T > | |
| bool | Arp::operator== (T lhs, Enum< T > rhs) |
| Equality operator of class Enum. More... | |
| template<class T > | |
| bool | Arp::operator< (T lhs, Enum< T > rhs) |
| Less operator for class Enum. More... | |
| template<class T > | |
| bool | Arp::operator> (T lhs, Enum< T > rhs) |
| Greater operator for class Enum. More... | |
| template<class T > | |
| bool | Arp::operator<= (T lhs, Enum< T > rhs) |
| Less or equal operator for class Enum. More... | |
| template<class T > | |
| bool | Arp::operator>= (T lhs, Enum< T > rhs) |
| Greater or equal operator for class Enum. More... | |
| Arp::Enum< T >::Enum (Value val=Zero) | |
| 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 | |
| Enum & | Arp::Enum< T >::operator&= (Enum rhs) |
| The assignment AND operator. More... | |
| Enum & | Arp::Enum< T >::operator|= (Enum rhs) |
| The assignment OR operator. More... | |
| T | Arp::Enum< T >::GetValue (void) const |
| U | Arp::Enum< T >::ToUnderlyingType (void) const |
| Converts this instance to the underlying type of its adapted enum type More... | |
| String | Arp::Enum< T >::ToString (bool throwIfInvalid=true) const |
| Converts this instance to its string representation. More... | |
| static bool | Arp::Enum< T >::TryParse (const String &input, T &result) |
| Tries to parse the given input string. More... | |
| static bool | Arp::Enum< T >::TryParse (const String &input, Enum &result) |
| Tries to parse the given input string. More... | |
| static bool | Arp::Enum< T >::TryParse (const char *input, T &result) |
| Tries to parse 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 String &input) |
| Parses 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. |
The assignment AND operator.
| rhs | The value to AND to this instance. |
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 |
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 |
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. |
Less or equal operator for class Enum.
| lhs | The left argument to compare. |
| rhs | The right argument to compare. |
true if the left argument is less or equal than the right argument, otherwise false.
|
inline |
Less or equal operator for class Enum.
| lhs | The left argument to compare. |
| rhs | The right argument to compare. |
true if the left argument is less or equal than the right argument, otherwise false.
|
inline |
Less or equal operator for class Enum.
| lhs | The left argument to compare. |
| rhs | The right argument to compare. |
true if the left argument is less or equal than the right argument, otherwise false.The assignment operator for a value of the adapted type.
| rhs | The value to assign to this instance. |
Equality operator of class Enum.
| lhs | The left argument to compare. |
| rhs | The right argument to compare. |
true if the arguments are equal, otherwise false.
|
inline |
Equality operator of class Enum.
| lhs | The left argument to compare. |
| rhs | The right argument to compare. |
true if the arguments are equal, otherwise false.
|
inline |
Equality operator of class Enum.
| lhs | The left argument to compare. |
| rhs | The right argument to compare. |
true if the arguments are equal, otherwise false.Greater operator for class Enum.
| lhs | The left argument to compare. |
| rhs | The right argument to compare. |
true if the left argument is greater than the right argument, otherwise false.
|
inline |
Greater operator for class Enum.
| lhs | The left argument to compare. |
| rhs | The right argument to compare. |
true if the left argument is greater than the right argument, otherwise false.
|
inline |
Greater operator for class Enum.
| lhs | The left argument to compare. |
| rhs | The right argument to compare. |
true if the left argument is greater than the right argument, otherwise false.Greater or equal operator for class Enum.
| lhs | The left argument to compare. |
| rhs | The right argument to compare. |
true if the left argument is greater or equal than the right argument, otherwise false.
|
inline |
Greater or equal operator for class Enum.
| lhs | The left argument to compare. |
| rhs | The right argument to compare. |
true if the left argument is greater or equal than the right argument, otherwise false.
|
inline |
Greater or equal operator for class Enum.
| lhs | The left argument to compare. |
| rhs | The right argument to compare. |
true if the left argument is greater or equal than the right argument, otherwise false.
|
inline |
Makes the Enum class parsable.
| os | The stream to read the value from. |
| value | The resulting enum value. |
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.
| throwIfInvalid | If true an exception is thrown if the enum value is invalid, otherwise the number is converted to string. |
Converts this instance to the underlying type of its adapted enum type
|
inlinestatic |
Tries to parse the given input string.
| input | The input string to parse. |
| result | The resulting Enum. |
true on success, otherwise false.
|
inlinestatic |
Tries to parse the given input string.
| input | The input string to parse. |
| result | The resulting enum value. |
true on success, otherwise false.
|
inlinestatic |
Tries to parse the given input string.
| input | The input string to parse. |
| result | The resulting Enum. |
true on success, otherwise false.