Go to the documentation of this file.
9 #ifndef LLDB_UTILITY_BATON_H
10 #define LLDB_UTILITY_BATON_H
15 #include "llvm/Support/raw_ostream.h"
38 virtual ~Baton() =
default;
40 virtual void *
data() = 0;
44 unsigned indentation)
const = 0;
57 unsigned indentation)
const override;
71 unsigned indentation)
const override {}
79 #endif // LLDB_UTILITY_BATON_H
const T * getItem() const
virtual void GetDescription(llvm::raw_ostream &s, lldb::DescriptionLevel level, unsigned indentation) const =0
TypedBaton(std::unique_ptr< T > Item)
void GetDescription(llvm::raw_ostream &s, lldb::DescriptionLevel level, unsigned indentation) const override
std::unique_ptr< T > Item
A class that represents a running process on the host machine.
void GetDescription(llvm::raw_ostream &s, lldb::DescriptionLevel level, unsigned indentation) const override
DescriptionLevel
Description levels for "void GetDescription(Stream *, DescriptionLevel)" calls.