blob: 3bc4c988798b37e4401190b217b35bc170a64649 [file] [log] [blame]
//===-- SWIG Interface for SBType -------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
namespace lldb {
class SBType
{
public:
SBType (const SBType &rhs);
~SBType ();
bool
IsValid() const;
size_t
GetByteSize() const;
bool
IsPointerType() const;
bool
IsReferenceType() const;
SBType
GetPointerType() const;
SBType
GetPointeeType() const;
SBType
GetReferenceType() const;
SBType
GetDereferencedType() const;
SBType
GetBasicType(lldb::BasicType type) const;
const char*
GetName();
};
class SBTypeList
{
public:
SBTypeList();
void
Append(const SBType& type);
SBType
GetTypeAtIndex(int index);
int
GetSize();
~SBTypeList();
private:
std::auto_ptr<SBTypeListImpl> m_content;
};
} // namespace lldb