X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_AttributeTables.h;h=d30a3c38a06e0293e9c4635e6cd40fb7e8d8b737;hb=97917d3698f5a2f7fc9596e7c755ff8f6751e373;hp=62ac72254dd5e04b16aed60b708a2f77b1332de1;hpb=185923a92c76805bc1b410b0f655e214394a8573;p=modules%2Fshaper.git diff --git a/src/Model/Model_AttributeTables.h b/src/Model/Model_AttributeTables.h index 62ac72254..d30a3c38a 100644 --- a/src/Model/Model_AttributeTables.h +++ b/src/Model/Model_AttributeTables.h @@ -1,8 +1,21 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D - -// File: Model_AttributeTables.h -// Created: 14 Nov 2016 -// Author: Mikhail Ponikarov +// Copyright (C) 2014-2019 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 +// #ifndef Model_AttributeTables_H_ #define Model_AttributeTables_H_ @@ -52,6 +65,10 @@ public: MODEL_EXPORT virtual Value value( const int theRow, const int theColumn, const int theTable = 0); + /// Returns the value in the format of string (usefull for the python connection) + MODEL_EXPORT virtual std::string valueStr( + const int theRow, const int theColumn, const int theTable = 0); + protected: /// Objects are created for features automatically MODEL_EXPORT Model_AttributeTables(TDF_Label& theLabel);