Public Member Functions

ibrcommon::locked_ifstream Class Reference

#include <File.h>

List of all members.

Public Member Functions

 locked_ifstream (File &file, ios_base::openmode mode=ios_base::in)
 ~locked_ifstream ()
void open (File &file, ios_base::openmode mode=ios_base::in)
bool is_open ()
void close ()
std::istream & operator* ()

Detailed Description

Definition at line 165 of file File.h.


Constructor & Destructor Documentation

ibrcommon::locked_ifstream::locked_ifstream ( File file,
ios_base::openmode  mode = ios_base::in 
)

Definition at line 246 of file File.cpp.

ibrcommon::locked_ifstream::~locked_ifstream (  ) 

Definition at line 254 of file File.cpp.

References close().

Here is the call graph for this function:


Member Function Documentation

void ibrcommon::locked_ifstream::close (  ) 

Definition at line 283 of file File.cpp.

References is_open().

Referenced by dtn::core::SimpleBundleStorage::BundleContainer::Holder::getBundle(), and ~locked_ifstream().

Here is the call graph for this function:

bool ibrcommon::locked_ifstream::is_open (  ) 

Definition at line 274 of file File.cpp.

Referenced by close(), and operator*().

void ibrcommon::locked_ifstream::open ( File file,
ios_base::openmode  mode = ios_base::in 
)

Definition at line 259 of file File.cpp.

References ibrcommon::File::getPath().

Here is the call graph for this function:

std::istream & ibrcommon::locked_ifstream::operator* (  ) 

Definition at line 299 of file File.cpp.

References is_open().

Here is the call graph for this function:


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