Skip to content

Commit

Permalink
#529, supplemental
Browse files Browse the repository at this point in the history
  • Loading branch information
MaartenHilferink committed Oct 4, 2023
1 parent eecf265 commit d463145
Showing 1 changed file with 8 additions and 33 deletions.
41 changes: 8 additions & 33 deletions tic/dll/src/Explain.cpp
Original file line number Diff line number Diff line change
@@ -1,31 +1,7 @@
//<HEADER>
/*
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
*/
//</HEADER>
// Copyright (C) 2023 Object Vision b.v.
// License: GNU GPL 3
/////////////////////////////////////////////////////////////////////////////

#include "TicPCH.h"
#pragma hdrstop

Expand Down Expand Up @@ -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());
Expand Down

0 comments on commit d463145

Please sign in to comment.