GammaRay API Documentation  3.2.0
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

© 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 by doxygen 1.9.1