OpenSceneGraph  3.0.1
Public Member Functions | List of all members
osgDB::fstream Class Reference

Replacements for std::fstream, std::ifstream, and std::ofstream to automatically handle UTF-8 to UTF-16 filename conversion. More...

Public Member Functions

 fstream ()
 fstream (const char *filename, std::ios_base::openmode mode=std::ios_base::in|std::ios_base::out)
 ~fstream ()
void open (const char *filename, std::ios_base::openmode mode=std::ios_base::in|std::ios_base::out)

Detailed Description

Replacements for std::fstream, std::ifstream, and std::ofstream to automatically handle UTF-8 to UTF-16 filename conversion.

Always use one of these classes in any OpenSceneGraph code instead of the STL equivalent.

Constructor & Destructor Documentation

osgDB::fstream::fstream ( )
osgDB::fstream::fstream ( const char *  filename,
std::ios_base::openmode  mode = std::ios_base::in|std::ios_base::out 
)
explicit
osgDB::fstream::~fstream ( )

Member Function Documentation

void osgDB::fstream::open ( const char *  filename,
std::ios_base::openmode  mode = std::ios_base::in|std::ios_base::out 
)

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

osg logo
Generated at Tue Sep 4 2012 16:18:46 for the OpenSceneGraph by doxygen 1.8.1.2.