1//===-- SBStatisticsOptions.h -----------------------------------*- C++ -*-===//
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_API_SBSTATISTICSOPTIONS_H
10#define LLDB_API_SBSTATISTICSOPTIONS_H
11
12#include "lldb/API/SBDefines.h"
13
14namespace lldb {
15
16/// This class handles the verbosity when dumping statistics
17class LLDB_API SBStatisticsOptions {
18public:
19 SBStatisticsOptions();
20 SBStatisticsOptions(const lldb::SBStatisticsOptions &rhs);
21 ~SBStatisticsOptions();
22
23 const SBStatisticsOptions &operator=(const lldb::SBStatisticsOptions &rhs);
24
25 void SetSummaryOnly(bool b);
26 bool GetSummaryOnly();
27
28protected:
29 friend class SBTarget;
30 const lldb_private::StatisticsOptions &ref() const;
31
32private:
33 std::unique_ptr<lldb_private::StatisticsOptions> m_opaque_up;
34};
35} // namespace lldb
36#endif // LLDB_API_SBSTATISTICSOPTIONS_H
37

source code of lldb/include/lldb/API/SBStatisticsOptions.h