Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dump Python in the High Level Parameterized Geometry API (issue #1648)
[modules/shaper.git]
/
src
/
GeomAlgoAPI
/
GeomAlgoAPI_Tools.h
diff --git
a/src/GeomAlgoAPI/GeomAlgoAPI_Tools.h
b/src/GeomAlgoAPI/GeomAlgoAPI_Tools.h
index 2f1e0eb9291432c8f08c2578f45a667fe122d230..7877f702896389920cdd79aefa80764d1da16b16 100644
(file)
--- 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_
#ifndef GEOMALGOAPI_TOOLS_H_
#define GEOMALGOAPI_TOOLS_H_
@@
-14,15
+13,35
@@
namespace GeomAlgoAPI_Tools {
namespace GeomAlgoAPI_Tools {
-class GEOMALGOAPI_EXPORT Localizer
+/** \class Localizer
+ * \ingroup DataAlgo
+ * \brief Localizer tool.
+ */
+class Localizer
{
public:
{
public:
- Localizer();
- ~Localizer();
+
GEOMALGOAPI_EXPORT
Localizer();
+
GEOMALGOAPI_EXPORT
~Localizer();
private:
std::string myCurLocale;
};
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_ */
} // GeomAlgoAPI_Tools
#endif /* GEOMALGOAPI_TOOLS_H_ */