X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_Tools.h;h=7877f702896389920cdd79aefa80764d1da16b16;hb=061a63480f6840b6d945f7744b3b972e2d4cb25d;hp=2f1e0eb9291432c8f08c2578f45a667fe122d230;hpb=6a737aadaa4b1f19c7791245a0ef74a398b719a4;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_Tools.h b/src/GeomAlgoAPI/GeomAlgoAPI_Tools.h index 2f1e0eb92..7877f7028 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_Tools.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_Tools.h @@ -1,9 +1,8 @@ -/* - * GeomAlgoAPI_Tools.h - * - * Created on: May 18, 2015 - * Author: spo - */ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + +// File: GeomAlgoAPI_Tools.h +// Created: May 18, 2015 +// Author: Sergey POKHODENKO #ifndef GEOMALGOAPI_TOOLS_H_ #define GEOMALGOAPI_TOOLS_H_ @@ -14,15 +13,35 @@ namespace GeomAlgoAPI_Tools { -class GEOMALGOAPI_EXPORT Localizer +/** \class Localizer + * \ingroup DataAlgo + * \brief Localizer tool. + */ +class Localizer { public: - Localizer(); - ~Localizer(); + GEOMALGOAPI_EXPORT Localizer(); + GEOMALGOAPI_EXPORT ~Localizer(); private: std::string myCurLocale; }; +/** \class File_Tools + * \ingroup DataAlgo + * \brief File tool. + */ +class File_Tools { +public: + /** + * Returns an extension of theFileName + */ + GEOMALGOAPI_EXPORT static std::string extension(const std::string& theFileName); + /** + * Returns a name of theFileName + */ + GEOMALGOAPI_EXPORT static std::string name(const std::string& theFileName); +}; + } // GeomAlgoAPI_Tools #endif /* GEOMALGOAPI_TOOLS_H_ */