GammaRay API Documentation  2.10.0
Public Member Functions | Friends | List of all members
GammaRay::EnumDefinitionElement Class Reference

A single element of an EnumDefinition. More...

#include <enumdefinition.h>

Public Member Functions

 EnumDefinitionElement (int value, const char *name)
 Create a new enum definition element with name name and value value. More...
 
QByteArray name () const
 The name of this enum definition element. More...
 
int value () const
 The numeric value represented of this enum definition element. More...
 

Friends

QDataStreamoperator<< (QDataStream &out, const EnumDefinitionElement &elem)
 
QDataStreamoperator>> (QDataStream &in, EnumDefinitionElement &elem)
 

Detailed Description

A single element of an EnumDefinition.

Constructor & Destructor Documentation

GammaRay::EnumDefinitionElement::EnumDefinitionElement ( int  value,
const char *  name 
)

Create a new enum definition element with name name and value value.

Member Function Documentation

QByteArray GammaRay::EnumDefinitionElement::name ( ) const

The name of this enum definition element.

int GammaRay::EnumDefinitionElement::value ( ) const

The numeric value represented of this enum definition element.


Klarälvdalens Datakonsult AB (KDAB)
"The Qt Experts"
https://www.kdab.com/
GammaRay
Qt-application inspection and manipulation tool
https://www.kdab.com/gammaray/