LLDB mainline
lldb_private::formatters::InferiorSizedWord Struct Reference

#include <FormattersHelpers.h>

Public Member Functions

 InferiorSizedWord (const InferiorSizedWord &word)
InferiorSizedWord operator= (const InferiorSizedWord &word)
 InferiorSizedWord (uint64_t val, Process &process)
bool IsNegative () const
bool IsZero () const
InferiorSizedWord operator>> (int rhs) const
InferiorSizedWord operator<< (int rhs) const
InferiorSizedWord operator& (const InferiorSizedWord &word) const
InferiorSizedWord operator& (int x) const
size_t GetBitSize () const
size_t GetByteSize () const
uint64_t GetValue () const
InferiorSizedWord SignExtend () const
uint8_t * CopyToBuffer (uint8_t *buffer) const
DataExtractor GetAsData (lldb::ByteOrder byte_order=lldb::eByteOrderInvalid) const

Static Public Member Functions

static InferiorSizedWord GetMaximum (Process &process)

Private Member Functions

 InferiorSizedWord (uint64_t val, size_t psz)

Private Attributes

size_t ptr_size
union { 
   uint32_t   thirty_two 
   uint64_t   sixty_four 
}; 

Detailed Description

Definition at line 70 of file FormattersHelpers.h.

Constructor & Destructor Documentation

◆ InferiorSizedWord() [1/3]

lldb_private::formatters::InferiorSizedWord::InferiorSizedWord ( const InferiorSizedWord & word)
inline

◆ InferiorSizedWord() [2/3]

lldb_private::formatters::InferiorSizedWord::InferiorSizedWord ( uint64_t val,
Process & process )
inline

Definition at line 88 of file FormattersHelpers.h.

References ptr_size, sixty_four, and thirty_two.

◆ InferiorSizedWord() [3/3]

lldb_private::formatters::InferiorSizedWord::InferiorSizedWord ( uint64_t val,
size_t psz )
inlineprivate

Definition at line 180 of file FormattersHelpers.h.

References ptr_size, sixty_four, and thirty_two.

Member Function Documentation

◆ CopyToBuffer()

uint8_t * lldb_private::formatters::InferiorSizedWord::CopyToBuffer ( uint8_t * buffer) const
inline

Definition at line 161 of file FormattersHelpers.h.

References ptr_size, sixty_four, and thirty_two.

◆ GetAsData()

◆ GetBitSize()

size_t lldb_private::formatters::InferiorSizedWord::GetBitSize ( ) const
inline

Definition at line 145 of file FormattersHelpers.h.

References ptr_size.

◆ GetByteSize()

size_t lldb_private::formatters::InferiorSizedWord::GetByteSize ( ) const
inline

Definition at line 147 of file FormattersHelpers.h.

References ptr_size.

◆ GetMaximum()

InferiorSizedWord lldb_private::formatters::InferiorSizedWord::GetMaximum ( Process & process)
inlinestatic

◆ GetValue()

uint64_t lldb_private::formatters::InferiorSizedWord::GetValue ( ) const
inline

Definition at line 149 of file FormattersHelpers.h.

References ptr_size, sixty_four, and thirty_two.

◆ IsNegative()

bool lldb_private::formatters::InferiorSizedWord::IsNegative ( ) const
inline

Definition at line 98 of file FormattersHelpers.h.

References ptr_size, sixty_four, and thirty_two.

◆ IsZero()

bool lldb_private::formatters::InferiorSizedWord::IsZero ( ) const
inline

Definition at line 105 of file FormattersHelpers.h.

References ptr_size, sixty_four, and thirty_two.

◆ operator&() [1/2]

InferiorSizedWord lldb_private::formatters::InferiorSizedWord::operator& ( const InferiorSizedWord & word) const
inline

Definition at line 131 of file FormattersHelpers.h.

References InferiorSizedWord(), ptr_size, sixty_four, and thirty_two.

◆ operator&() [2/2]

InferiorSizedWord lldb_private::formatters::InferiorSizedWord::operator& ( int x) const
inline

Definition at line 139 of file FormattersHelpers.h.

References InferiorSizedWord(), ptr_size, sixty_four, and thirty_two.

◆ operator<<()

InferiorSizedWord lldb_private::formatters::InferiorSizedWord::operator<< ( int rhs) const
inline

Definition at line 125 of file FormattersHelpers.h.

References InferiorSizedWord(), ptr_size, sixty_four, and thirty_two.

◆ operator=()

InferiorSizedWord lldb_private::formatters::InferiorSizedWord::operator= ( const InferiorSizedWord & word)
inline

Definition at line 79 of file FormattersHelpers.h.

References InferiorSizedWord(), ptr_size, sixty_four, and thirty_two.

◆ operator>>()

InferiorSizedWord lldb_private::formatters::InferiorSizedWord::operator>> ( int rhs) const
inline

Definition at line 119 of file FormattersHelpers.h.

References InferiorSizedWord(), ptr_size, sixty_four, and thirty_two.

◆ SignExtend()

InferiorSizedWord lldb_private::formatters::InferiorSizedWord::SignExtend ( ) const
inline

Definition at line 155 of file FormattersHelpers.h.

References InferiorSizedWord(), ptr_size, sixty_four, and thirty_two.

Member Data Documentation

◆ [union]

◆ ptr_size

◆ sixty_four

uint64_t lldb_private::formatters::InferiorSizedWord::sixty_four

◆ thirty_two

uint32_t lldb_private::formatters::InferiorSizedWord::thirty_two

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