X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FExchangePlugin%2FExchangePlugin_Dump.h;h=1fa72d984f6d424617b7c59d817666aa334374a9;hb=745c72679f6346375d5e886b25cc3865f3c4daae;hp=a10d98610155a6f38ab478cf83afd18e31bcd3d0;hpb=87b6a30a3afb8fb32e7e43ade8d9c947d9eb1684;p=modules%2Fshaper.git diff --git a/src/ExchangePlugin/ExchangePlugin_Dump.h b/src/ExchangePlugin/ExchangePlugin_Dump.h index a10d98610..1fa72d984 100644 --- a/src/ExchangePlugin/ExchangePlugin_Dump.h +++ b/src/ExchangePlugin/ExchangePlugin_Dump.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// Copyright (C) 2014-2021 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 @@ -12,10 +12,9 @@ // // 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 +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or -// email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #ifndef EXCHANGEPLUGIN_DUMP_H_ @@ -52,6 +51,33 @@ 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; + } + + /// attribute name for boolean flag to export variable names correspondence to another module + inline static const std::string& EXPORT_VARIABLES_ID() + { + static const std::string MY_EXPORT_VARIABLES_ID("export_variables"); + return MY_EXPORT_VARIABLES_ID; + } + /// Default constructor EXCHANGEPLUGIN_EXPORT ExchangePlugin_Dump(); /// Default destructor