1 //===-- Platform.cpp --------------------------------------------*- 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: MICmnMIValue.h
13 // Overview: CMICmnMIValue implementation.
15 // Environment: Compilers: Visual C++ 12.
16 // gcc (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1
17 // Libraries: See MIReadmetxt.
23 #include "MICmnMIValue.h"
24 #include "MICmnResources.h"
26 //++ ------------------------------------------------------------------------------------
27 // Details: CMICmnMIValue constructor.
33 CMICmnMIValue::CMICmnMIValue( void )
34 : m_strValue( MIRSRC( IDS_WORD_INVALIDBRKTS ) )
35 , m_bJustConstructed( true )
39 //++ ------------------------------------------------------------------------------------
40 // Details: CMICmnMIValue destructor.
41 // Type: Overrideable.
46 CMICmnMIValue::~CMICmnMIValue( void )
50 //++ ------------------------------------------------------------------------------------
51 // Details: Return the MI value as a string. The string is a direct result of
52 // work done on *this value so if not enough data is added then it is
53 // possible to return a malformed value. If nothing has been set or
54 // added to *this MI value object then text "<Invalid>" will be returned.
57 // Return: CMIUtilString & - MI output text.
60 const CMIUtilString & CMICmnMIValue::GetString( void ) const