Skip to content

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.

virtual property __int64 SpinnakerNET::GenApi::EnumValue::Int;

System.Int64 representation.


variable String

Gets or sets the string representation of the enum entry.

virtual property::System::String SpinnakerNET::GenApi::EnumValue::String;

System.System::String representation.


Public Functions Documentation

function EnumValue [1/3]

Creates a EnumValue solely from aSystem.System::String value.

SpinnakerNET::GenApi::EnumValue::EnumValue (
    ::System::String ^ value
) 

Parameters:

  • value System::String representation of enum entry.

function EnumValue [2/3]

Creates a EnumValue solely from aSystem.Int64 value.

SpinnakerNET::GenApi::EnumValue::EnumValue (
    __int64 value
) 

Parameters:

  • value Integer representation of enum entry.

function EnumValue [3/3]

Creates a EnumValue from bothSystem.System::String andSystem.Int64 value.

SpinnakerNET::GenApi::EnumValue::EnumValue (
    ::System::String ^ stringValue,
    __int64 intValue
) 

Parameters:

  • stringValue System::String representation of enum entry.
  • intValue Integer representation of enum entry.

function set [1/2]

void  __clrcall SpinnakerNET::GenApi::EnumValue::set (
    ::System::String ^ value
) 

function set [2/2]

void  __clrcall SpinnakerNET::GenApi::EnumValue::set (
    __int64 value
) 

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:

  • value System::String to be converted.

Returns:

EnumEntry object.


function operator EnumValue [2/2]

Converts the given System.Int64 implicitly into anEnumValue .

static inline static SpinnakerNET::GenApi::EnumValue::operator EnumValue (
    __int64 value
) 

Parameters:

Returns:

EnumEntry object.


function operator __int64

Converts the EnumValue implicitly into aSystem.Int64 .

static inline static SpinnakerNET::GenApi::EnumValue::operator __int64 (
    EnumValue value
) 

Parameters:

  • value Object to be converted.

Returns:

System.Int64 representation.


function String ^

Converts the EnumValue implicitly into aSystem.System::String .

static inline static SpinnakerNET::GenApi::EnumValue::String ^ (
    EnumValue value
) 

Parameters:

  • value Object 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