Commit fcd018e8 authored by Isaak Lim's avatar Isaak Lim
Browse files

added documentation note (regarding std::ios_base::openmode flags) for read with istream

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@752 fdac6126-5c0c-442c-9429-916003d36597
parent 5a2c8483
...@@ -114,7 +114,9 @@ public: ...@@ -114,7 +114,9 @@ public:
/** Reads a mesh given by a std::stream. This method usually uses the same stream reading method /** Reads a mesh given by a std::stream. This method usually uses the same stream reading method
that read uses. Options can be passed via _opt. After execution _opt contains the Options that read uses. Options can be passed via _opt. After execution _opt contains the Options
that were available that were available.
Please make sure that if _is is std::ifstream, the correct std::ios_base::openmode flags are set.
*/ */
virtual bool read(std::istream& _is, virtual bool read(std::istream& _is,
BaseImporter& _bi, BaseImporter& _bi,
......
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