GL Studio C++ Runtime API
DistiAttributeEnumDefList Class Reference

#include <disti_metadata.h>

Inheritance diagram for DistiAttributeEnumDefList:

Public Member Functions

 DistiAttributeEnumDefList (char *stringVal,...)
 
virtual int EnumToInt (const std::string &string)
 

Detailed Description

A list of enumeration definitions

Constructor & Destructor Documentation

◆ DistiAttributeEnumDefList()

DistiAttributeEnumDefList ( char *  stringVal,
  ... 
)

Create a new DistiAttributeEnumDefList object.

Parameters
stringValThe first string value of the list.

Member Function Documentation

◆ EnumToInt()

virtual int EnumToInt ( const std::string &  string)
virtual

Return the associated integer value with the enumeration string

Parameters
stringThe string whose enum value is to be returned.
Returns
The enumeration value, 0 if the string isn't present in the list.

The documentation for this class was generated from the following file: