X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FExchangePlugin%2FExchangePlugin_Dump.h;h=5ee0f004b89e02e75912d3688a8ca3569b1f00f1;hb=ea593bc59e7e9461f6c4e2afd3f24d621edb1011;hp=dc4096505f4c5be77356ec86d67e3143cd2715a0;hpb=d34842c50d5f335cca443c78910c16c54139c7d0;p=modules%2Fshaper.git diff --git a/src/ExchangePlugin/ExchangePlugin_Dump.h b/src/ExchangePlugin/ExchangePlugin_Dump.h index dc4096505..5ee0f004b 100644 --- a/src/ExchangePlugin/ExchangePlugin_Dump.h +++ b/src/ExchangePlugin/ExchangePlugin_Dump.h @@ -1,8 +1,21 @@ -// Copyright (C) 2016-20xx CEA/DEN, EDF R&D - -// File: ExchangePlugin_Dump.h -// Created: August 1, 2016 -// Author: Artem ZHIDKOV +// 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 EXCHANGEPLUGIN_DUMP_H_ #define EXCHANGEPLUGIN_DUMP_H_ @@ -38,6 +51,26 @@ public: return MY_FILE_FORMAT_ID; } + /// attribute name of dumping by topological naming + inline static const std::string& TOPOLOGICAL_NAMING_DUMP_ID() + { + static const std::string MY_TOOPNAMING_DUMP_ID("topological_naming"); + return MY_TOOPNAMING_DUMP_ID; + } + /// attribute name of dumping by geometric selection + inline static const std::string& GEOMETRIC_DUMP_ID() + { + static const std::string MY_GEOM_DUMP_ID("geometric_selection"); + return MY_GEOM_DUMP_ID; + } + + /// attribute name of dumping by using weak naming identifiers of selection + inline static const std::string& WEAK_NAMING_DUMP_ID() + { + static const std::string MY_WEAK_NAMING_DUMP_ID("weak_naming"); + return MY_WEAK_NAMING_DUMP_ID; + } + /// Default constructor EXCHANGEPLUGIN_EXPORT ExchangePlugin_Dump(); /// Default destructor