Commit c676eacc authored by Mike Kremer's avatar Mike Kremer

Removed template stuff

git-svn-id: http://www.openvolumemesh.org/svnrepo/OpenVolumeMesh/trunk@34 66977474-1d4b-4f09-8fe9-267525286df2
parent 7ed834f8
......@@ -54,7 +54,6 @@ namespace IO {
* \brief Read/Write mesh data from/to files
*/
template <class MeshT>
class FileManager {
public:
......@@ -74,6 +73,7 @@ public:
* @param _filename The file that is to be read
* @param _mesh A reference to an OpenVolumeMesh instance
*/
template <class MeshT>
bool readFile(const std::string& _filename, MeshT& _mesh) const;
/**
......@@ -86,7 +86,13 @@ public:
* @param _filename The file that is to be stored
* @param _mesh A const reference to an OpenVolumeMesh instance
*/
template <class MeshT>
bool writeFile(const std::string& _filename, const MeshT& _mesh) const;
/**
* \brief Test whether mesh is a hexahedral mesh
*/
};
} // Namespace IO
......
......@@ -63,17 +63,21 @@ FileManager::~FileManager() {
//==================================================
template <class MeshT>
bool FileManager::readFile(const std::string& _filename, MeshT& _mesh) {
bool FileManager::readFile(const std::string& _filename, MeshT& _mesh) const {
return true;
}
//==================================================
template <class MeshT>
bool FileManager::writeFile(const std::string& _filename, const MeshT& _mesh) {
bool FileManager::writeFile(const std::string& _filename, const MeshT& _mesh) const {
return true;
}
//==================================================
} // Namespace IO
} // Namespace FileManager
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment