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...

Inheritance diagram for osgDB::fstream:
Inheritance graph
[legend]

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 Wed Feb 13 2013 17:58:57 for the OpenSceneGraph by doxygen 1.8.3.1.