43 #ifndef FILEMANAGER_HH_
44 #define FILEMANAGER_HH_
49 namespace OpenVolumeMesh {
85 template <
class MeshT>
86 bool readFile(
const std::string& _filename, MeshT& _mesh,
87 bool _topologyCheck =
true,
88 bool _computeBottomUpIncidences =
true)
const;
100 template <
class MeshT>
101 bool writeFile(
const std::string& _filename,
const MeshT& _mesh)
const;
111 template <
class MeshT>
112 void readProperty(std::istream& _iff, MeshT& _mesh)
const;
114 template <
class PropT,
class MeshT>
115 void generateGenericProperty(
const std::string& _entity_t,
const std::string& _name,
116 std::istream& _iff, MeshT& _mesh)
const;
119 template<
class IteratorT>
120 void writeProps(std::ostream& _ostr,
const IteratorT& _begin,
const IteratorT& _end)
const;
123 void trimString(std::string& _string)
const;
126 void extractQuotedText(std::string& _string)
const;
129 bool getCleanLine(std::istream& ifs, std::string& _string,
bool _skipEmptyLines =
true)
const;
136 #if defined(INCLUDE_TEMPLATES) && !defined(FILEMANAGERT_CC)
137 #include "FileManagerT.cc"