MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::File Class Reference

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

#include <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
 
MRMESH_API FILE * open (const std::filesystem::path &filename, const char *mode)
 
MRMESH_API 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: