]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lldb/tools/lldb-mi/MICmnLLDBProxySBValue.h
Merge OpenSSL 1.0.1k.
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lldb / tools / lldb-mi / MICmnLLDBProxySBValue.h
1 //===-- MICmnLLDBProxySBValue.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 //++
11 // File:                MICmnLLDBProxySBValue.h
12 //
13 // Overview:    CMICmnLLDBProxySBValue interface.
14 //
15 // Environment: Compilers:      Visual C++ 12.
16 //                                                      gcc (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1
17 //                              Libraries:      See MIReadmetxt. 
18 //
19 // Copyright:   None.
20 //--
21
22 #pragma once
23
24 // Third Party Headers:
25 #include <lldb/API/SBValue.h>
26
27 // In-house headers:
28 #include "MIDataTypes.h"
29
30 // Declerations:
31 class CMIUtilString;
32
33 //++ ============================================================================
34 // Details:     MI proxy wrapper class to lldb::SBValue. The class provides functionality
35 //                      to assist in the use of SBValue's parculiar function usage.
36 // Gotchas:     None.
37 // Authors:     Illya Rudkin 03/04/2014.
38 // Changes:     None.
39 //--
40 class CMICmnLLDBProxySBValue
41 {
42 // Statics:
43 public:
44         static bool     GetValueAsSigned( const lldb::SBValue & vrValue, MIint64 & vwValue );
45         static bool     GetValueAsUnsigned( const lldb::SBValue & vrValue, MIuint64 & vwValue );
46         static bool GetCString( const lldb::SBValue & vrValue, CMIUtilString & vwCString );
47 };