diff options
Diffstat (limited to 'include/lldb/API/SBFileSpecList.h')
-rw-r--r-- | include/lldb/API/SBFileSpecList.h | 74 |
1 files changed, 30 insertions, 44 deletions
diff --git a/include/lldb/API/SBFileSpecList.h b/include/lldb/API/SBFileSpecList.h index ff429a1815be..97f843adbb5f 100644 --- a/include/lldb/API/SBFileSpecList.h +++ b/include/lldb/API/SBFileSpecList.h @@ -1,4 +1,5 @@ -//===-- SBFileSpecList.h --------------------------------------------*- C++ -*-===// +//===-- SBFileSpecList.h --------------------------------------------*- C++ +//-*-===// // // The LLVM Compiler Infrastructure // @@ -14,58 +15,43 @@ namespace lldb { -class LLDB_API SBFileSpecList -{ +class LLDB_API SBFileSpecList { public: - SBFileSpecList (); - - SBFileSpecList (const lldb::SBFileSpecList &rhs); - - ~SBFileSpecList (); - - const SBFileSpecList & - operator = (const lldb::SBFileSpecList &rhs); - - uint32_t - GetSize () const; - - bool - GetDescription (SBStream &description) const; - - void - Append (const SBFileSpec &sb_file); - - bool - AppendIfUnique (const SBFileSpec &sb_file); - - void - Clear(); - - uint32_t - FindFileIndex (uint32_t idx, const SBFileSpec &sb_file, bool full); - - const SBFileSpec - GetFileSpecAtIndex (uint32_t idx) const; + SBFileSpecList(); -private: + SBFileSpecList(const lldb::SBFileSpecList &rhs); -friend class SBTarget; + ~SBFileSpecList(); - const lldb_private::FileSpecList * - operator->() const; + const SBFileSpecList &operator=(const lldb::SBFileSpecList &rhs); - const lldb_private::FileSpecList * - get() const; + uint32_t GetSize() const; - const lldb_private::FileSpecList & - operator*() const; + bool GetDescription(SBStream &description) const; - const lldb_private::FileSpecList & - ref() const; + void Append(const SBFileSpec &sb_file); - std::unique_ptr<lldb_private::FileSpecList> m_opaque_ap; -}; + bool AppendIfUnique(const SBFileSpec &sb_file); + + void Clear(); + + uint32_t FindFileIndex(uint32_t idx, const SBFileSpec &sb_file, bool full); + + const SBFileSpec GetFileSpecAtIndex(uint32_t idx) const; + +private: + friend class SBTarget; + + const lldb_private::FileSpecList *operator->() const; + + const lldb_private::FileSpecList *get() const; + const lldb_private::FileSpecList &operator*() const; + + const lldb_private::FileSpecList &ref() const; + + std::unique_ptr<lldb_private::FileSpecList> m_opaque_ap; +}; } // namespace lldb |