SBFunction.h revision 5f81547fd786584b10999c087528b323b5945896
1//===-- SBFunction.h --------------------------------------------*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// 9 10#ifndef LLDB_SBFunction_h_ 11#define LLDB_SBFunction_h_ 12 13#include "lldb/API/SBDefines.h" 14 15namespace lldb { 16 17class SBFunction 18{ 19public: 20 21 SBFunction (); 22 23 ~SBFunction (); 24 25 bool 26 IsValid () const; 27 28 const char * 29 GetName() const; 30 31 const char * 32 GetMangledName () const; 33 34#ifndef SWIG 35 bool 36 operator == (const lldb::SBFunction &rhs) const; 37 38 bool 39 operator != (const lldb::SBFunction &rhs) const; 40#endif 41 42private: 43 friend class SBFrame; 44 friend class SBSymbolContext; 45 46 SBFunction (lldb_private::Function *lldb_object_ptr); 47 48 49 lldb_private::Function *m_lldb_object_ptr; 50}; 51 52 53} // namespace lldb 54 55#endif // LLDB_SBFunction_h_ 56