|
LLDB mainline
|
A single data member of a record type. More...
#include <Type.h>
Public Member Functions | |
| Field (Identifier name, TypeRef type, uint64_t byte_offset, uint32_t bitfield_bit_size=0, uint32_t bitfield_bit_offset=0) | |
bitfield_bit_size is the width of a bitfield member, or zero if this is not a bitfield (in which case bitfield_bit_offset must be zero too). | |
| Identifier | GetName () const |
| TypeRef | GetType () const |
| The type of this member. | |
| uint64_t | GetByteOffset () const |
| Offset of this member (or, for a bitfield, of its storage unit) from the start of the record, in bytes. | |
| bool | IsBitfield () const |
| uint32_t | GetBitfieldBitSize () const |
| The width of this bitfield in bits. | |
| uint32_t | GetBitfieldBitOffset () const |
| The offset of this bitfield's first bit within its storage unit. | |
Private Attributes | |
| Identifier | m_name |
| TypeRef | m_type |
| uint64_t | m_byte_offset |
| uint32_t | m_bitfield_bit_size |
| Zero means this is not a bitfield. | |
| uint32_t | m_bitfield_bit_offset |
A single data member of a record type.
Definition at line 77 of file source/Plugins/TypeSystem/Clike/Type.h.
|
inline |
bitfield_bit_size is the width of a bitfield member, or zero if this is not a bitfield (in which case bitfield_bit_offset must be zero too).
Definition at line 81 of file source/Plugins/TypeSystem/Clike/Type.h.
References IsBitfield(), m_bitfield_bit_offset, m_bitfield_bit_size, m_byte_offset, m_name, and m_type.
|
inline |
The offset of this bitfield's first bit within its storage unit.
Definition at line 108 of file source/Plugins/TypeSystem/Clike/Type.h.
References IsBitfield(), and m_bitfield_bit_offset.
|
inline |
The width of this bitfield in bits.
Definition at line 102 of file source/Plugins/TypeSystem/Clike/Type.h.
References IsBitfield(), and m_bitfield_bit_size.
|
inline |
Offset of this member (or, for a bitfield, of its storage unit) from the start of the record, in bytes.
Definition at line 97 of file source/Plugins/TypeSystem/Clike/Type.h.
References m_byte_offset.
|
inline |
Definition at line 90 of file source/Plugins/TypeSystem/Clike/Type.h.
References m_name.
|
inline |
The type of this member.
Definition at line 93 of file source/Plugins/TypeSystem/Clike/Type.h.
References m_type.
|
inline |
Definition at line 99 of file source/Plugins/TypeSystem/Clike/Type.h.
References m_bitfield_bit_size.
Referenced by Field(), GetBitfieldBitOffset(), and GetBitfieldBitSize().
|
private |
Definition at line 119 of file source/Plugins/TypeSystem/Clike/Type.h.
Referenced by Field(), and GetBitfieldBitOffset().
|
private |
Zero means this is not a bitfield.
Definition at line 118 of file source/Plugins/TypeSystem/Clike/Type.h.
Referenced by Field(), GetBitfieldBitSize(), and IsBitfield().
|
private |
Definition at line 116 of file source/Plugins/TypeSystem/Clike/Type.h.
Referenced by Field(), and GetByteOffset().
|
private |
Definition at line 114 of file source/Plugins/TypeSystem/Clike/Type.h.
|
private |
Definition at line 115 of file source/Plugins/TypeSystem/Clike/Type.h.