blob: 6a767a55e00980233d4c1490545948ac049f95e3 [file] [log] [blame]
Enrico Granata7de855c2015-10-02 20:59:58 +00001//===-- NSString.h ---------------------------------------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef liblldb_NSString_h_
11#define liblldb_NSString_h_
12
13#include "lldb/Core/Stream.h"
14#include "lldb/Core/ValueObject.h"
15#include "lldb/DataFormatters/TypeSummary.h"
16#include "lldb/Target/ObjCLanguageRuntime.h"
17
18namespace lldb_private {
19 namespace formatters
20 {
21 bool
22 NSStringSummaryProvider (ValueObject& valobj, Stream& stream, const TypeSummaryOptions& options);
23
24 bool
Enrico Granata675f49b2015-10-07 18:36:53 +000025 NSTaggedString_SummaryProvider (ValueObject& valobj, ObjCLanguageRuntime::ClassDescriptorSP descriptor, Stream& stream, const TypeSummaryOptions& summary_options);
Enrico Granata7de855c2015-10-02 20:59:58 +000026
27 bool
28 NSAttributedStringSummaryProvider (ValueObject& valobj, Stream& stream, const TypeSummaryOptions& options);
29
30 bool
31 NSMutableAttributedStringSummaryProvider (ValueObject& valobj, Stream& stream, const TypeSummaryOptions& options);
32
33 class NSString_Additionals
34 {
35 public:
36 static std::map<ConstString, CXXFunctionSummaryFormat::Callback>&
37 GetAdditionalSummaries ();
38 };
39 } // namespace formatters
40} // namespace lldb_private
41
42#endif // liblldb_CF_h_