XMLStorage::tofstream Struct Reference

output file stream with ANSI/UNICODE file names More...

#include <xmlstorage.h>

Inheritance diagram for XMLStorage::tofstream:

Inheritance graph
[legend]
Collaboration diagram for XMLStorage::tofstream:

Collaboration graph
[legend]

Public Types

typedef std::ostream super

Public Member Functions

 tofstream (LPCTSTR path)
 ~tofstream ()

Protected Attributes

STDIO_FILEBUF _buf

Detailed Description

output file stream with ANSI/UNICODE file names

Definition at line 465 of file xmlstorage.h.


Member Typedef Documentation

typedef std::ostream XMLStorage::tofstream::super

Definition at line 467 of file xmlstorage.h.


Constructor & Destructor Documentation

XMLStorage::tofstream::tofstream ( LPCTSTR  path  )  [inline]

Definition at line 469 of file xmlstorage.h.

00470      :  super(&_buf),
00471         FileHolder(path, TEXT("wb")),
00472 #ifdef __GNUC__
00473         _buf(_pfile, std::ios::out)
00474 #else
00475         _buf(_pfile)
00476 #endif
00477     {
00478     }

XMLStorage::tofstream::~tofstream (  )  [inline]

Definition at line 480 of file xmlstorage.h.

00481     {
00482         flush();
00483     }


Field Documentation

STDIO_FILEBUF XMLStorage::tofstream::_buf [protected]

Definition at line 486 of file xmlstorage.h.


The documentation for this struct was generated from the following file:
IBrowser Source Code Documentation
generated on 18.09.2008 by doxygen

Homepage