1 //===-- SBFileSpec.h --------------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLDB_SBFileSpec_h_
11 #define LLDB_SBFileSpec_h_
13 #include "lldb/API/SBDefines.h"
22 SBFileSpec (const lldb::SBFileSpec &rhs);
24 SBFileSpec (const char *path);// Deprected, use SBFileSpec (const char *path, bool resolve)
26 SBFileSpec (const char *path, bool resolve);
31 operator = (const lldb::SBFileSpec &rhs);
40 ResolveExecutableLocation ();
49 GetPath (char *dst_path, size_t dst_len) const;
52 ResolvePath (const char *src_path, char *dst_path, size_t dst_len);
55 GetDescription (lldb::SBStream &description) const;
58 friend class SBAttachInfo;
60 friend class SBCompileUnit;
61 friend class SBDeclaration;
62 friend class SBFileSpecList;
63 friend class SBHostOS;
64 friend class SBLaunchInfo;
65 friend class SBLineEntry;
66 friend class SBModule;
67 friend class SBModuleSpec;
68 friend class SBProcess;
69 friend class SBSourceManager;
70 friend class SBThread;
71 friend class SBTarget;
73 SBFileSpec (const lldb_private::FileSpec& fspec);
76 SetFileSpec (const lldb_private::FileSpec& fspec);
78 const lldb_private::FileSpec *
81 const lldb_private::FileSpec *
84 const lldb_private::FileSpec &
87 const lldb_private::FileSpec &
90 std::unique_ptr<lldb_private::FileSpec> m_opaque_ap;
96 #endif // LLDB_SBFileSpec_h_