Package lldb :: Class SBTypeMember

[hide private]
[frames] | no frames]

# Class SBTypeMember

source code

Represents a member of a type in lldb.

Instance Methods | [hide private]

__setattr__(self, name, value) x.__setattr__('name', value) <==> x.name = value | source code

__getattr__(self, name) | source code

__repr__(self) repr(x) | source code

__init__(self, *args) __init__(lldb::SBTypeMember self) -> SBTypeMember __init__(lldb::SBTypeMember self, SBTypeMember rhs) -> SBTypeMember | source code

__swig_destroy__(...) delete_SBTypeMember(SBTypeMember self) |

__del__(self) | source code

__nonzero__(self) | source code

IsValid(self) IsValid(SBTypeMember self) -> bool | source code

GetName(self) GetName(SBTypeMember self) -> str const * | source code

GetType(self) GetType(SBTypeMember self) -> SBType | source code

GetOffsetInBytes(self) GetOffsetInBytes(SBTypeMember self) -> uint64_t | source code

GetOffsetInBits(self) GetOffsetInBits(SBTypeMember self) -> uint64_t | source code

IsBitfield(self) IsBitfield(SBTypeMember self) -> bool | source code

GetBitfieldSizeInBits(self) GetBitfieldSizeInBits(SBTypeMember self) -> uint32_t | source code

__str__(self) __str__(SBTypeMember self) -> PyObject * | source code

Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__sizeof__`, `__subclasshook__`

Class Variables | [hide private]

| __swig_setmethods__ = ``{``}``
| __swig_getmethods__ = `{}`

Properties | [hide private]

| bit_offset A read only property that returns offset in bits for this member as an integer.
| bitfield_bit_size A read only property that returns the bitfield size in bits for this member as an integer, or zero if this member is not a bitfield.
| byte_offset A read only property that returns offset in bytes for this member as an integer.
| is_bitfield A read only property that returns true if this member is a bitfield.
| name A read only property that returns the name for this member as a string.
| type A read only property that returns an lldb object that represents the type (lldb.SBType) for this member.
Inherited from `object`: `__class__`

Method Details | [hide private]

### __setattr__(self, name, value)

source code

x.__setattr__('name', value) <==> x.name = value

Overrides: object.__setattr__
  (inherited documentation)

### __repr__(self)
(Representation operator)

source code

repr(x)

Overrides: object.__repr__
  (inherited documentation)

### __init__(self, *args)
(Constructor)

source code

__init__(lldb::SBTypeMember self) -> SBTypeMember __init__(lldb::SBTypeMember self, SBTypeMember rhs) -> SBTypeMember

Overrides: object.__init__

### __str__(self)
(Informal representation operator)

source code

__str__(SBTypeMember self) -> PyObject *

Overrides: object.__str__

Property Details | [hide private]

### bit_offset

A read only property that returns offset in bits for this member as an integer.

Get Method:
  GetOffsetInBits(self) - GetOffsetInBits(SBTypeMember self) -> uint64_t

### bitfield_bit_size

A read only property that returns the bitfield size in bits for this member as an integer, or zero if this member is not a bitfield.

Get Method:
  GetBitfieldSizeInBits(self) - GetBitfieldSizeInBits(SBTypeMember self) -> uint32_t

### byte_offset

A read only property that returns offset in bytes for this member as an integer.

Get Method:
  GetOffsetInBytes(self) - GetOffsetInBytes(SBTypeMember self) -> uint64_t

### is_bitfield

A read only property that returns true if this member is a bitfield.

Get Method:
  IsBitfield(self) - IsBitfield(SBTypeMember self) -> bool

### name

A read only property that returns the name for this member as a string.

Get Method:
  GetName(self) - GetName(SBTypeMember self) -> str const *

### type

A read only property that returns an lldb object that represents the type (lldb.SBType) for this member.

Get Method:
  GetType(self) - GetType(SBTypeMember self) -> SBType