LLDB  mainline
Public Member Functions | Public Attributes | List of all members
lldb_private::Value::Vector Struct Reference

#include <Value.h>

Collaboration diagram for lldb_private::Value::Vector:
Collaboration graph
[legend]

Public Member Functions

 Vector ()
 
 Vector (const Vector &vector)
 
const Vectoroperator= (const Vector &vector)
 
void Clear ()
 
bool SetBytes (const void *bytes, size_t length, lldb::ByteOrder byte_order)
 
bool IsValid () const
 
Scalar GetAsScalar () const
 

Public Attributes

uint8_t bytes [kMaxByteSize]
 
size_t length
 
lldb::ByteOrder byte_order
 
llvm::APInt rhs
 

Detailed Description

Definition at line 77 of file Value.h.

Constructor & Destructor Documentation

◆ Vector() [1/2]

lldb_private::Value::Vector::Vector ( )
inline

Definition at line 84 of file Value.h.

◆ Vector() [2/2]

lldb_private::Value::Vector::Vector ( const Vector vector)
inline

Definition at line 86 of file Value.h.

Member Function Documentation

◆ Clear()

void lldb_private::Value::Vector::Clear ( )
inline

◆ GetAsScalar()

Scalar lldb_private::Value::Vector::GetAsScalar ( ) const
inline

◆ IsValid()

bool lldb_private::Value::Vector::IsValid ( ) const
inline

◆ operator=()

const Vector& lldb_private::Value::Vector::operator= ( const Vector vector)
inline

Definition at line 87 of file Value.h.

References byte_order, bytes, length, and SetBytes().

Referenced by GetAsScalar(), and lldb_private::ValueList::ValueList().

◆ SetBytes()

bool lldb_private::Value::Vector::SetBytes ( const void *  bytes,
size_t  length,
lldb::ByteOrder  byte_order 
)
inline

Definition at line 94 of file Value.h.

References byte_order, IsValid(), and length.

Referenced by GetAsScalar(), operator=(), and lldb_private::Value::SetVectorBytes().

Member Data Documentation

◆ byte_order

lldb::ByteOrder lldb_private::Value::Vector::byte_order

◆ bytes

uint8_t lldb_private::Value::Vector::bytes[kMaxByteSize]

◆ length

size_t lldb_private::Value::Vector::length

◆ rhs

llvm::APInt lldb_private::Value::Vector::rhs
Initial value:
((type128 *)bytes)->x)

Definition at line 112 of file Value.h.

Referenced by GetAsScalar().


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