aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/API/SBThreadCollection.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lldb/API/SBThreadCollection.h')
-rw-r--r--include/lldb/API/SBThreadCollection.h81
1 files changed, 34 insertions, 47 deletions
diff --git a/include/lldb/API/SBThreadCollection.h b/include/lldb/API/SBThreadCollection.h
index 79f977454497..715b0826b962 100644
--- a/include/lldb/API/SBThreadCollection.h
+++ b/include/lldb/API/SBThreadCollection.h
@@ -13,57 +13,44 @@
#include "lldb/API/SBDefines.h"
namespace lldb {
-
-class LLDB_API SBThreadCollection
-{
+
+class LLDB_API SBThreadCollection {
public:
-
- SBThreadCollection ();
-
- SBThreadCollection (const SBThreadCollection &rhs);
-
- const SBThreadCollection &
- operator = (const SBThreadCollection &rhs);
-
- ~SBThreadCollection ();
-
- bool
- IsValid () const;
-
- size_t
- GetSize ();
-
- lldb::SBThread
- GetThreadAtIndex (size_t idx);
-
+ SBThreadCollection();
+
+ SBThreadCollection(const SBThreadCollection &rhs);
+
+ const SBThreadCollection &operator=(const SBThreadCollection &rhs);
+
+ ~SBThreadCollection();
+
+ bool IsValid() const;
+
+ size_t GetSize();
+
+ lldb::SBThread GetThreadAtIndex(size_t idx);
+
protected:
-
- // Mimic shared pointer...
- lldb_private::ThreadCollection *
- get() const;
-
- lldb_private::ThreadCollection *
- operator->() const;
-
- lldb::ThreadCollectionSP &
- operator*();
-
- const lldb::ThreadCollectionSP &
- operator*() const;
-
- SBThreadCollection (const lldb::ThreadCollectionSP &threads);
-
- void
- SetOpaque (const lldb::ThreadCollectionSP &threads);
-
+ // Mimic shared pointer...
+ lldb_private::ThreadCollection *get() const;
+
+ lldb_private::ThreadCollection *operator->() const;
+
+ lldb::ThreadCollectionSP &operator*();
+
+ const lldb::ThreadCollectionSP &operator*() const;
+
+ SBThreadCollection(const lldb::ThreadCollectionSP &threads);
+
+ void SetOpaque(const lldb::ThreadCollectionSP &threads);
+
private:
- friend class SBProcess;
- friend class SBThread;
-
- lldb::ThreadCollectionSP m_opaque_sp;
+ friend class SBProcess;
+ friend class SBThread;
+
+ lldb::ThreadCollectionSP m_opaque_sp;
};
-
-
+
} // namespace lldb
#endif // LLDB_SBThreadCollection_h_