MeshLib C++ Docs
Loading...
Searching...
No Matches

the class to open C FILE handle and automatically close it in the destructor More...

#include <MRMesh/MRFile.h>

Public Member Functions

 File ()=default
 File (const File &)=delete
 File (File &&r)
 File (const std::filesystem::path &filename, const char *mode)
 ~File ()
Fileoperator= (const File &)=delete
Fileoperator= (File &&r)
 operator FILE * () const
FILE * open (const std::filesystem::path &filename, const char *mode)
void close ()
void detach ()
 the user takes control over the handle
void attach (FILE *h)
 gives control over the handle to this object

Detailed Description

the class to open C FILE handle and automatically close it in the destructor


The documentation for this class was generated from the following file: