Class SpinnakerNET::GenApi::EnumValue¶
ClassList > SpinnakerNET > GenApi > EnumValue
Helper class to manage dual value enum entries (int/string).
#include <EnumValue.h>
Public Attributes¶
| Type | Name |
|---|---|
| property __int64 | Int = /* multi line expression */Gets or sets the integer representation of the enum entry. |
| property::System::String | String = /* multi line expression */Gets or sets the string representation of the enum entry. |
Public Functions¶
| Type | Name |
|---|---|
| EnumValue (::System::String ^ value) Creates a EnumValue solely from aSystem.System::String value. |
|
| EnumValue (__int64 value) Creates a EnumValue solely from aSystem.Int64 value. |
|
| EnumValue (::System::String ^ stringValue, __int64 intValue) Creates a EnumValue from bothSystem.System::String andSystem.Int64 value. |
|
| void __clrcall | set (::System::String ^ value) |
| void __clrcall | set (__int64 value) |
Public Static Functions¶
| Type | Name |
|---|---|
| static | operator EnumValue (::System::String ^ value) Converts the given System.System::String implicitly into anEnumValue . |
| static | operator EnumValue (__int64 value) Converts the given System.Int64 implicitly into anEnumValue . |
| static | operator __int64 (EnumValue value) Converts the EnumValue implicitly into aSystem.Int64 . |
| static | String ^ (EnumValue value) Converts the EnumValue implicitly into aSystem.System::String . |
Public Attributes Documentation¶
variable Int¶
Gets or sets the integer representation of the enum entry.
System.Int64 representation.
variable String¶
Gets or sets the string representation of the enum entry.
System.System::String representation.
Public Functions Documentation¶
function EnumValue [1/3]¶
Creates a EnumValue solely from aSystem.System::String value.
Parameters:
valueSystem::String representation of enum entry.
function EnumValue [2/3]¶
Creates a EnumValue solely from aSystem.Int64 value.
Parameters:
valueInteger representation of enum entry.
function EnumValue [3/3]¶
Creates a EnumValue from bothSystem.System::String andSystem.Int64 value.
Parameters:
stringValueSystem::String representation of enum entry.intValueInteger representation of enum entry.
function set [1/2]¶
function set [2/2]¶
Public Static Functions Documentation¶
function operator EnumValue [1/2]¶
Converts the given System.System::String implicitly into anEnumValue .
static inline static SpinnakerNET::GenApi::EnumValue::operator EnumValue (
::System::String ^ value
)
Parameters:
valueSystem::String to be converted.
Returns:
EnumEntry object.
function operator EnumValue [2/2]¶
Converts the given System.Int64 implicitly into anEnumValue .
Parameters:
valueInteger to be converted.
Returns:
EnumEntry object.
function operator __int64¶
Converts the EnumValue implicitly into aSystem.Int64 .
Parameters:
valueObject to be converted.
Returns:
System.Int64 representation.
function String ^¶
Converts the EnumValue implicitly into aSystem.System::String .
Parameters:
valueObject to be converted.
Returns:
System.System::String representation.
The documentation for this class was generated from the following file /workspace/src/SpinnakerNET/GenApiNet/EnumValue.h