LLDB
mainline
llvm-project
lldb
source
API
SBCommandReturnObjectImpl.h
Go to the documentation of this file.
1
//===----------------------------------------------------------------------===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef LLDB_SOURCE_API_SBCOMMANDRETURNOBJECTIMPL_H
10
#define LLDB_SOURCE_API_SBCOMMANDRETURNOBJECTIMPL_H
11
12
namespace
lldb_private
{
13
class
CommandReturnObject
;
14
15
class
SBCommandReturnObjectImpl
{
16
public
:
17
SBCommandReturnObjectImpl
();
18
SBCommandReturnObjectImpl
(
CommandReturnObject
&ref);
19
SBCommandReturnObjectImpl
(
const
SBCommandReturnObjectImpl
&rhs);
20
SBCommandReturnObjectImpl
&
operator=
(
const
SBCommandReturnObjectImpl
&rhs);
21
~SBCommandReturnObjectImpl
();
22
23
CommandReturnObject
*
get
()
const
{
return
m_ptr
; }
24
25
private
:
26
CommandReturnObject
*
m_ptr
;
27
bool
m_owned
=
true
;
28
};
29
}
// namespace lldb_private
30
31
#endif
// LLDB_SOURCE_API_SBCOMMANDRETURNOBJECTIMPL_H
lldb_private::CommandReturnObject
Definition
CommandReturnObject.h:29
lldb_private::SBCommandReturnObjectImpl::m_ptr
CommandReturnObject * m_ptr
Definition
SBCommandReturnObjectImpl.h:26
lldb_private::SBCommandReturnObjectImpl::operator=
SBCommandReturnObjectImpl & operator=(const SBCommandReturnObjectImpl &rhs)
Definition
SBCommandReturnObject.cpp:40
lldb_private::SBCommandReturnObjectImpl::~SBCommandReturnObjectImpl
~SBCommandReturnObjectImpl()
Definition
SBCommandReturnObject.cpp:46
lldb_private::SBCommandReturnObjectImpl::get
CommandReturnObject * get() const
Definition
SBCommandReturnObjectImpl.h:23
lldb_private::SBCommandReturnObjectImpl::SBCommandReturnObjectImpl
SBCommandReturnObjectImpl()
Definition
SBCommandReturnObject.cpp:29
lldb_private::SBCommandReturnObjectImpl::m_owned
bool m_owned
Definition
SBCommandReturnObjectImpl.h:27
lldb_private
A class that represents a running process on the host machine.
Definition
SBAddressRange.h:14
Generated on
for LLDB by
1.14.0