File indexing completed on 2026-05-10 08:42:42
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef LLDB_API_SBFILESPECLIST_H
0011 #define LLDB_API_SBFILESPECLIST_H
0012
0013 #include "lldb/API/SBDefines.h"
0014
0015 namespace lldb {
0016
0017 class LLDB_API SBFileSpecList {
0018 public:
0019 SBFileSpecList();
0020
0021 SBFileSpecList(const lldb::SBFileSpecList &rhs);
0022
0023 ~SBFileSpecList();
0024
0025 const SBFileSpecList &operator=(const lldb::SBFileSpecList &rhs);
0026
0027 uint32_t GetSize() const;
0028
0029 bool GetDescription(SBStream &description) const;
0030
0031 void Append(const SBFileSpec &sb_file);
0032
0033 bool AppendIfUnique(const SBFileSpec &sb_file);
0034
0035 void Clear();
0036
0037 uint32_t FindFileIndex(uint32_t idx, const SBFileSpec &sb_file, bool full);
0038
0039 const SBFileSpec GetFileSpecAtIndex(uint32_t idx) const;
0040
0041 private:
0042 friend class SBTarget;
0043
0044 const lldb_private::FileSpecList *operator->() const;
0045
0046 const lldb_private::FileSpecList *get() const;
0047
0048 const lldb_private::FileSpecList &operator*() const;
0049
0050 const lldb_private::FileSpecList &ref() const;
0051
0052 std::unique_ptr<lldb_private::FileSpecList> m_opaque_up;
0053 };
0054
0055 }
0056
0057 #endif