Salome HOME
Documentation fixes.
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_Tools.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // File:    GeomAlgoAPI_Tools.h
4 // Created: May 18, 2015
5 // Author:  Sergey POKHODENKO
6
7 #ifndef GEOMALGOAPI_TOOLS_H_
8 #define GEOMALGOAPI_TOOLS_H_
9
10 #include <GeomAlgoAPI.h>
11
12 #include <string>
13
14 namespace GeomAlgoAPI_Tools {
15
16 /** \class Localizer
17  *  \ingroup DataAlgo
18  *  \brief Localizer tool.
19  */
20 class Localizer
21 {
22 public:
23   GEOMALGOAPI_EXPORT Localizer();
24   GEOMALGOAPI_EXPORT ~Localizer();
25 private:
26   std::string myCurLocale;
27 };
28
29 /** \class File_Tools
30  *  \ingroup DataAlgo
31  *  \brief File tool.
32  */
33 class File_Tools {
34 public:
35   /**
36    * Returns an extension of theFileName
37    */
38   GEOMALGOAPI_EXPORT static std::string extension(const std::string& theFileName);
39   /**
40    * Returns a name of theFileName
41    */
42   GEOMALGOAPI_EXPORT static std::string name(const std::string& theFileName);
43 };
44
45 } // GeomAlgoAPI_Tools
46
47 #endif /* GEOMALGOAPI_TOOLS_H_ */