|
IBR-DTNSuite 0.6
|
#include <File.h>
Public Member Functions | |
| locked_fstreambuf () | |
| locked_fstreambuf (File &file, char mode[]) | |
| ~locked_fstreambuf () | |
| void | open (File &file, char mode[]) |
| bool | is_open () |
| void | close () |
Protected Member Functions | |
| virtual int | sync () |
| virtual int | overflow (int=std::char_traits< char >::eof()) |
| virtual int | underflow () |
| virtual traits_type::pos_type | seekoff (traits_type::off_type sp, ios_base::seekdir sd, ios_base::openmode mode=ios_base::in|ios_base::out) |
| virtual traits_type::pos_type | seekpos (traits_type::pos_type sp, ios_base::openmode mode=ios_base::in|ios_base::out) |
| ibrcommon::locked_fstreambuf::locked_fstreambuf | ( | File & | file, |
| char | mode[] | ||
| ) |
| ibrcommon::locked_fstreambuf::~locked_fstreambuf | ( | ) |
| void ibrcommon::locked_fstreambuf::close | ( | ) |
Definition at line 326 of file File.cpp.
References is_open().
Referenced by ibrcommon::locked_ofstream::close(), ibrcommon::locked_ifstream::close(), and ~locked_fstreambuf().

| bool ibrcommon::locked_fstreambuf::is_open | ( | ) |
Definition at line 321 of file File.cpp.
Referenced by close(), ibrcommon::locked_ofstream::is_open(), and ibrcommon::locked_ifstream::is_open().
| void ibrcommon::locked_fstreambuf::open | ( | File & | file, |
| char | mode[] | ||
| ) |
Definition at line 304 of file File.cpp.
References ibrcommon::File::getPath().
Referenced by locked_fstreambuf(), ibrcommon::locked_ofstream::open(), and ibrcommon::locked_ifstream::open().

| int ibrcommon::locked_fstreambuf::overflow | ( | int | c = std::char_traits<char>::eof() | ) | [protected, virtual] |
| virtual traits_type::pos_type ibrcommon::locked_fstreambuf::seekoff | ( | traits_type::off_type | sp, |
| ios_base::seekdir | sd, | ||
| ios_base::openmode | mode = ios_base::in | ios_base::out |
||
| ) | [inline, protected, virtual] |
| virtual traits_type::pos_type ibrcommon::locked_fstreambuf::seekpos | ( | traits_type::pos_type | sp, |
| ios_base::openmode | mode = ios_base::in | ios_base::out |
||
| ) | [inline, protected, virtual] |
| int ibrcommon::locked_fstreambuf::sync | ( | ) | [protected, virtual] |
Definition at line 335 of file File.cpp.
References overflow().

| int ibrcommon::locked_fstreambuf::underflow | ( | ) | [protected, virtual] |