From d463145d74cec32e6e25692e29c20178e14fd8ea Mon Sep 17 00:00:00 2001 From: Maarten Hilferink Date: Wed, 4 Oct 2023 17:52:32 +0200 Subject: [PATCH] #529, supplemental --- tic/dll/src/Explain.cpp | 41 ++++++++--------------------------------- 1 file changed, 8 insertions(+), 33 deletions(-) diff --git a/tic/dll/src/Explain.cpp b/tic/dll/src/Explain.cpp index d73bd4394..fc8186818 100644 --- a/tic/dll/src/Explain.cpp +++ b/tic/dll/src/Explain.cpp @@ -1,31 +1,7 @@ -//
-/* -Data & Model Server (DMS) is a server written in C++ for DSS applications. -Version: see srv/dms/rtc/dll/src/RtcVersion.h for version info. - -Copyright (C) 1998-2004 YUSE GSO Object Vision BV. - -Documentation on using the Data & Model Server software can be found at: -http://www.ObjectVision.nl/DMS/ - -See additional guidelines and notes in srv/dms/Readme-srv.txt - -This library is free software; you can use, redistribute, and/or -modify it under the terms of the GNU General Public License version 2 -(the License) as published by the Free Software Foundation, -provided that this entire header notice and readme-srv.txt is preserved. - -See LICENSE.TXT for terms of distribution or look at our web site: -http://www.objectvision.nl/DMS/License.txt -or alternatively at: http://www.gnu.org/copyleft/gpl.html - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. However, specific warranties might be -granted by an additional written contract for support, assistance and/or development -*/ -//
+// Copyright (C) 2023 Object Vision b.v. +// License: GNU GPL 3 +///////////////////////////////////////////////////////////////////////////// + #include "TicPCH.h" #pragma hdrstop @@ -153,13 +129,12 @@ namespace Explain { // local defs void GetDescrImpl(CalcExplImpl* self, OutStreamBase& stream, bool isFirst, bool showHidden) const override { - /*NewLine(stream); + NewLine(stream); { XML_hRef supplRef(stream, ItemUrl(m_DataItem.get_ptr()).c_str()); - stream << m_DataItem->GetFullName().c_str(); - }*/ - NewLine(stream); - stream << "Calculation rule: "; GetExprOrSourceDescr(stream, m_DataItem.get_ptr()); + stream << m_DataItem->GetName().c_str(); + } + stream << " := "; GetExprOrSourceDescr(stream, m_DataItem.get_ptr()); NewLine(stream); GetDescrBase(self, stream, isFirst, m_DataItem->GetAbstrDomainUnit(), m_DataItem->GetAbstrValuesUnit());