1 //===-- MICmnMIValue.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 #include "MICmnMIValue.h"
12 #include "MICmnResources.h"
15 //------------------------------------------------------------------------------------
16 // Details: CMICmnMIValue constructor.
22 CMICmnMIValue::CMICmnMIValue()
23 : m_strValue(MIRSRC(IDS_WORD_INVALIDBRKTS)), m_bJustConstructed(true) {}
26 //------------------------------------------------------------------------------------
27 // Details: CMICmnMIValue destructor.
28 // Type: Overrideable.
33 CMICmnMIValue::~CMICmnMIValue() {}
36 //------------------------------------------------------------------------------------
37 // Details: Return the MI value as a string. The string is a direct result of
38 // work done on *this value so if not enough data is added then it is
39 // possible to return a malformed value. If nothing has been set or
40 // added to *this MI value object then text "<Invalid>" will be
44 // Return: CMIUtilString & - MI output text.
47 const CMIUtilString &CMICmnMIValue::GetString() const { return m_strValue; }