DeSR Dependency Parser

IXE::io::FileHandle Class Reference

FileHandle abstract from OS. More...

#include <FileHandle.h>

List of all members.

Public Member Functions

 FileHandle (char const *path, std::ios::openmode mode=std::ios::in)
bool open (char const *path, std::ios::openmode mode=std::ios::in)
void close ()
off64_t size ()
bool truncate (off64_t size)
bool write (off64_t offset, void const *data, Size length)
 Write an entry in the file at.
bool write (void const *data, Size length)
 Write an entry in the file at current position.

Public Attributes

int fd_


Detailed Description

FileHandle abstract from OS.

Definition at line 54 of file FileHandle.h.


Member Function Documentation

bool IXE::io::FileHandle::write ( off64_t  offset,
void const *  data,
Size  length 
)

Write an entry in the file at.

Parameters:
offset. File is expanded and filled with 0 from end to offset.

Definition at line 134 of file FileHandle.cpp.

Referenced by IXE::io::mappedFile::write(), and write().


The documentation for this class was generated from the following files:
 
Copyright © 2005-2007 G. Attardi. Generated on 13 Aug 2009 by doxygen 1.5.7.1.