class BaseType
Defined at line 16 of file ../../src/developer/debug/zxdb/symbols/base_type.h
A DWARF "base type" is a compiler built-in primitive type like an integer. The file will include
a definition for something named "int" that is defined as being a signed integer of 4 bytes, etc.
Public Members
static const int kBaseTypeNone
static const int kBaseTypeAddress
static const int kBaseTypeBoolean
static const int kBaseTypeFloat
static const int kBaseTypeSigned
static const int kBaseTypeSignedChar
static const int kBaseTypeUnsigned
static const int kBaseTypeUnsignedChar
static const int kBaseTypeUTF
Public Methods
std::string BaseTypeToString (int base_type, bool include_number)
Converts the int to a base type, optionally including the numeric value.
Defined at line 35 of file ../../src/developer/debug/zxdb/symbols/base_type.cc
bool IsSigned ()
Defined at line 45 of file ../../src/developer/debug/zxdb/symbols/base_type.h
bool IsUnsigned ()
Defined at line 47 of file ../../src/developer/debug/zxdb/symbols/base_type.h
int base_type ()
Returns one of kBaseType* or possibly something else if the language is new or unusual. Don't
handle, but also don't crash on unexpected values.
Defined at line 54 of file ../../src/developer/debug/zxdb/symbols/base_type.h
void set_base_type (int type)
Defined at line 55 of file ../../src/developer/debug/zxdb/symbols/base_type.h
bool IsSigned (int base_type)
Returns whether the given base type is an (un)signed integer.
Defined at line 59 of file ../../src/developer/debug/zxdb/symbols/base_type.cc
bool IsUnsigned (int base_type)
static
Defined at line 64 of file ../../src/developer/debug/zxdb/symbols/base_type.cc
const std::string & GetAssignedName ()
Symbol override.
Defined at line 68 of file ../../src/developer/debug/zxdb/symbols/base_type.cc
Protected Methods
const BaseType * AsBaseType ()
Symbol protected override.
Defined at line 32 of file ../../src/developer/debug/zxdb/symbols/base_type.cc
Friends
class MakeRefCountedHelper
class RefCountedThreadSafe