X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_ResultParameter.cpp;h=e777642763e6061ac4e35dcf3a74b51455d4ffbe;hb=3803f064ab0c38ba6ae084921fd555a50310bcdb;hp=641155b1ef365f6d90014f48387593726847323e;hpb=0a261c1d5c56df650e2339b7281ede02bb4f57c0;p=modules%2Fshaper.git diff --git a/src/Model/Model_ResultParameter.cpp b/src/Model/Model_ResultParameter.cpp index 641155b1e..e77764276 100644 --- a/src/Model/Model_ResultParameter.cpp +++ b/src/Model/Model_ResultParameter.cpp @@ -1,32 +1,37 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D - -// File: Model_ResultParameter.h -// Created: 02 Apr 2015 -// Author: Sergey BELASH - -#ifndef MODEL_RESULTPARAMETER_H_ -#define MODEL_RESULTPARAMETER_H_ - -#include "Model.h" -#include - -#include -#include - -/**\class Model_ResultParameter - * \ingroup DataModel - * \brief - */ -class Model_ResultParameter : public ModelAPI_ResultParameter +// Copyright (C) 2014-2020 CEA/DEN, EDF R&D +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// 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 +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// + +#include "Model_ResultParameter.h" +#include +#include + +Model_ResultParameter::~Model_ResultParameter() { - public: - MODEL_EXPORT virtual ~Model_ResultParameter(); - MODEL_EXPORT virtual void initAttributes(); - protected: - Model_ResultParameter(); +} - friend class Model_Document; -}; +void Model_ResultParameter::initAttributes() +{ + data()->addAttribute(ModelAPI_ResultParameter::VALUE(), + ModelAPI_AttributeDouble::typeId()); +} -#endif +Model_ResultParameter::Model_ResultParameter() +{ +}