GammaRay API Documentation  2.11.3
Public Member Functions | List of all members
GammaRay::EnumValue Class Reference

A target-independent representation of an enum or flag value. More...

#include <enumvalue.h>

Public Member Functions

 EnumValue (EnumId id, int value)
 Create a new enum value for EnumDefinition with id and value value.
 
EnumId id () const
 The unique identifier of the definition of this enum. More...
 
bool isValid () const
 Returns true if this instance refers to a valid EnumDefinition.
 
void setValue (int value)
 Sets the numeric value of this enum value.
 
int value () const
 Returns the numeric value of this enum value.
 

Detailed Description

A target-independent representation of an enum or flag value.

Member Function Documentation

◆ id()

EnumId GammaRay::EnumValue::id ( ) const

The unique identifier of the definition of this enum.

See also
EnumDefinition

© 2010-2021 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
GammaRay Qt-application inspection and manipulation tool
https://www.kdab.com/development-resources/qt-tools/gammaray/
Generated on Tue Dec 7 2021 02:34:36 for GammaRay API Documentation by doxygen 1.8.17