OpenSceneGraph 2.8.3

osgDB::fstream Class Reference

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

List of all members.

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 Mar 22 2011 13:20:25 for the OpenSceneGraph by doxygen 1.7.3.