IDA C++ SDK 9.2
Loading...
Searching...
No Matches
edm_t Struct Reference

This structure describes an enum value. More...

#include <typeinf.hpp>

Public Member Functions

 edm_t ()=default
 edm_t (const char *_name, uint64 _value, const char *_cmt=nullptr)
 Create an enumeration value with the specified name and value.
bool empty () const
bool operator== (const edm_t &r) const
bool operator!= (const edm_t &r) const
void swap (edm_t &r)
tid_t get_tid () const

Public Attributes

qstring name
qstring cmt
uint64 value

Detailed Description

This structure describes an enum value.

Constructor & Destructor Documentation

◆ edm_t() [1/2]

edm_t::edm_t ( )
default

◆ edm_t() [2/2]

edm_t::edm_t ( const char * _name,
uint64 _value,
const char * _cmt = nullptr )
inline

Create an enumeration value with the specified name and value.

Parameters
_nameEnumerator name. Must not be empty.
_valueEnumerator value
_cmtEnumerator repeatable comment. May be empty.

Member Function Documentation

◆ empty()

bool edm_t::empty ( ) const
inline

◆ operator==()

bool edm_t::operator== ( const edm_t & r) const
inline

◆ operator!=()

bool edm_t::operator!= ( const edm_t & r) const
inline

◆ swap()

void edm_t::swap ( edm_t & r)
inline

Member Data Documentation

◆ name

qstring edm_t::name

◆ cmt

qstring edm_t::cmt

◆ value

uint64 edm_t::value

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