1 //===-- 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 
18 namespace lldb_private {
19     namespace formatters
20     {
21         bool
22         NSStringSummaryProvider (ValueObject& valobj, Stream& stream, const TypeSummaryOptions& options);
23 
24         bool
25         NSTaggedString_SummaryProvider (ValueObject& valobj, ObjCLanguageRuntime::ClassDescriptorSP descriptor, Stream& stream, const TypeSummaryOptions& summary_options);
26 
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_
43