ROSE 0.11.145.317
ThreadId.h
1#ifndef ROSE_BinaryAnalysis_Debugger_ThreadId_H
2#define ROSE_BinaryAnalysis_Debugger_ThreadId_H
3#include <featureTests.h>
4#ifdef ROSE_ENABLE_BINARY_ANALYSIS
5#include <RoseFirst.h>
6
7#include <ostream>
8
9namespace Rose {
10namespace BinaryAnalysis {
11namespace Debugger {
12
17class ThreadId {
18protected:
19 int id_ = -1;
20public:
25
27 void print(std::ostream&) const;
28
30 std::string toString() const;
31};
32
33std::ostream& operator<<(std::ostream&, ThreadId);
34
35} // namespace
36} // namespace
37} // namespace
38
39#endif
40#endif
void print(std::ostream &) const
Display the thread ID.
std::string toString() const
String representation of the thread ID.
static ThreadId unspecified()
Return the ID representing an unspecified thread.
The ROSE library.