LLDB mainline
Public Member Functions | Protected Attributes | List of all members
lldb_private::TypedBaton< T > Class Template Reference

#include <Baton.h>

Inheritance diagram for lldb_private::TypedBaton< T >:
Inheritance graph
[legend]

Public Member Functions

 TypedBaton (std::unique_ptr< T > Item)
 
T * getItem ()
 
const T * getItem () const
 
void * data () override
 
void GetDescription (llvm::raw_ostream &s, lldb::DescriptionLevel level, unsigned indentation) const override
 
- Public Member Functions inherited from lldb_private::Baton
 Baton ()=default
 
virtual ~Baton ()=default
 
virtual void * data ()=0
 
virtual void GetDescription (llvm::raw_ostream &s, lldb::DescriptionLevel level, unsigned indentation) const =0
 

Protected Attributes

std::unique_ptr< T > Item
 

Detailed Description

template<typename T>
class lldb_private::TypedBaton< T >

Definition at line 62 of file Baton.h.

Constructor & Destructor Documentation

◆ TypedBaton()

template<typename T >
lldb_private::TypedBaton< T >::TypedBaton ( std::unique_ptr< T >  Item)
inlineexplicit

Definition at line 64 of file Baton.h.

Member Function Documentation

◆ data()

template<typename T >
void * lldb_private::TypedBaton< T >::data ( )
inlineoverridevirtual

Implements lldb_private::Baton.

Definition at line 69 of file Baton.h.

References lldb_private::TypedBaton< T >::Item.

◆ GetDescription()

template<typename T >
void lldb_private::TypedBaton< T >::GetDescription ( llvm::raw_ostream &  s,
lldb::DescriptionLevel  level,
unsigned  indentation 
) const
inlineoverridevirtual

Implements lldb_private::Baton.

Definition at line 70 of file Baton.h.

◆ getItem() [1/2]

template<typename T >
T * lldb_private::TypedBaton< T >::getItem ( )
inline

Definition at line 66 of file Baton.h.

References lldb_private::TypedBaton< T >::Item.

◆ getItem() [2/2]

template<typename T >
const T * lldb_private::TypedBaton< T >::getItem ( ) const
inline

Definition at line 67 of file Baton.h.

References lldb_private::TypedBaton< T >::Item.

Member Data Documentation

◆ Item

template<typename T >
std::unique_ptr<T> lldb_private::TypedBaton< T >::Item
protected

The documentation for this class was generated from the following file: