LLDB mainline
lldb_private::clike::Enumerator Class Reference

A single constant of an enumeration. More...

#include <Type.h>

Public Member Functions

 Enumerator (Identifier name, llvm::APInt value)
Identifier GetName () const
const llvm::APInt & GetValue () const

Private Attributes

Identifier m_name
llvm::APInt m_value

Detailed Description

A single constant of an enumeration.

Definition at line 161 of file source/Plugins/TypeSystem/Clike/Type.h.

Constructor & Destructor Documentation

◆ Enumerator()

lldb_private::clike::Enumerator::Enumerator ( Identifier name,
llvm::APInt value )
inline

Definition at line 163 of file source/Plugins/TypeSystem/Clike/Type.h.

References m_name, and m_value.

Member Function Documentation

◆ GetName()

Identifier lldb_private::clike::Enumerator::GetName ( ) const
inline

Definition at line 166 of file source/Plugins/TypeSystem/Clike/Type.h.

References m_name.

◆ GetValue()

const llvm::APInt & lldb_private::clike::Enumerator::GetValue ( ) const
inline

Definition at line 168 of file source/Plugins/TypeSystem/Clike/Type.h.

References m_value.

Member Data Documentation

◆ m_name

Identifier lldb_private::clike::Enumerator::m_name
private

Definition at line 171 of file source/Plugins/TypeSystem/Clike/Type.h.

Referenced by Enumerator(), and GetName().

◆ m_value

llvm::APInt lldb_private::clike::Enumerator::m_value
private

Definition at line 172 of file source/Plugins/TypeSystem/Clike/Type.h.

Referenced by Enumerator(), and GetValue().


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