X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_AttributeTables.h;h=6015e5c99e72899ca17112f7233f6c0c4e3b6d8a;hb=f36409774efce7c530518a1553946c9c76526fb9;hp=62ac72254dd5e04b16aed60b708a2f77b1332de1;hpb=b6fa9176e339040f8af1c03579f829ca898e963a;p=modules%2Fshaper.git diff --git a/src/Model/Model_AttributeTables.h b/src/Model/Model_AttributeTables.h index 62ac72254..6015e5c99 100644 --- a/src/Model/Model_AttributeTables.h +++ b/src/Model/Model_AttributeTables.h @@ -1,8 +1,22 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D - -// File: Model_AttributeTables.h -// Created: 14 Nov 2016 -// Author: Mikhail Ponikarov +// Copyright (C) 2014-2017 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 +66,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);