Belle II Software  release-08-01-10
File Class Reference
Inheritance diagram for File:
Collaboration diagram for File:

Public Member Functions

 File (int fd)
 
 File (const std::string &path, const std::string &mode="r")
 
void open (const std::string &path, const std::string &mode="r")
 
void unlink (const std::string &path)
 
virtual size_t write (const void *v, size_t count)
 
virtual size_t read (void *v, size_t count)
 
int get_fd () const
 
bool select (int sec=-1, int usec=-1)
 
bool select2 (int sec=-1, int usec=-1)
 
bool close ()
 

Static Public Member Functions

static bool exist (const std::string &filename)
 

Protected Attributes

int m_fd
 

Detailed Description

Definition at line 21 of file File.h.


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