LLDB  mainline
Public Member Functions | Static Public Member Functions | List of all members
lldb_private::formatters::InferiorSizedWord Struct Reference

#include <FormattersHelpers.h>

Collaboration diagram for lldb_private::formatters::InferiorSizedWord:
Collaboration graph
[legend]

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)
 

Detailed Description

Definition at line 61 of file FormattersHelpers.h.

Constructor & Destructor Documentation

◆ InferiorSizedWord() [1/2]

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

Definition at line 63 of file FormattersHelpers.h.

References sixty_four, and thirty_two.

Referenced by GetAsData(), GetMaximum(), operator &(), operator<<(), operator>>(), and SignExtend().

◆ InferiorSizedWord() [2/2]

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

Definition at line 79 of file FormattersHelpers.h.

References sixty_four, and thirty_two.

Member Function Documentation

◆ CopyToBuffer()

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

Definition at line 152 of file FormattersHelpers.h.

References sixty_four, and thirty_two.

◆ GetAsData()

DataExtractor lldb_private::formatters::InferiorSizedWord::GetAsData ( lldb::ByteOrder  byte_order = lldb::eByteOrderInvalid) const
inline

◆ GetBitSize()

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

Definition at line 136 of file FormattersHelpers.h.

◆ GetByteSize()

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

Definition at line 138 of file FormattersHelpers.h.

◆ GetMaximum()

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

◆ GetValue()

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

Definition at line 140 of file FormattersHelpers.h.

References sixty_four, and thirty_two.

◆ IsNegative()

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

Definition at line 89 of file FormattersHelpers.h.

References sixty_four, and thirty_two.

◆ IsZero()

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

Definition at line 96 of file FormattersHelpers.h.

References sixty_four, and thirty_two.

◆ operator &() [1/2]

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

Definition at line 122 of file FormattersHelpers.h.

References InferiorSizedWord(), sixty_four, and thirty_two.

◆ operator &() [2/2]

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

Definition at line 130 of file FormattersHelpers.h.

References InferiorSizedWord(), sixty_four, and thirty_two.

◆ operator<<()

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

Definition at line 116 of file FormattersHelpers.h.

References InferiorSizedWord(), sixty_four, and thirty_two.

◆ operator=()

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

Definition at line 70 of file FormattersHelpers.h.

References sixty_four, and thirty_two.

◆ operator>>()

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

Definition at line 110 of file FormattersHelpers.h.

References InferiorSizedWord(), sixty_four, and thirty_two.

◆ SignExtend()

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

Definition at line 146 of file FormattersHelpers.h.

References InferiorSizedWord(), sixty_four, and thirty_two.

Member Data Documentation

◆ 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: