1 //===-- MICmnLLDBProxySBValue.h ---------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
11 // File: MICmnLLDBProxySBValue.h
13 // Overview: CMICmnLLDBProxySBValue interface.
15 // Environment: Compilers: Visual C++ 12.
16 // gcc (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1
17 // Libraries: See MIReadmetxt.
24 // Third Party Headers:
25 #include <lldb/API/SBValue.h>
28 #include "MIDataTypes.h"
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.
37 // Authors: Illya Rudkin 03/04/2014.
40 class CMICmnLLDBProxySBValue
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 );