Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <DiskFile.hpp>

Public Member Functions | |
| DiskFile (const String &path=String()) | |
| ~DiskFile () | |
| virtual const char * | className () |
| Returns the name of the class. | |
| bool | open (const String &path, EOpenMode mode) |
| The specified path is relative to the parent directory. See setPhysicalPath(). | |
| virtual bool | open (EOpenMode mode) |
| virtual bool | isOpen () const |
| virtual void | close () |
| virtual long long | size () const |
| Returns the file size in bytes or -1 on error. | |
| virtual bool | exists () const |
| DiskFile & | operator= (const DiskFile &other) |
| virtual ref< VirtualFile > | clone () const |
Protected Member Functions | |
| DiskFile (const DiskFile &other) | |
| virtual long long | read_Implementation (void *buffer, long long byte_count) |
| virtual long long | write_Implementation (const void *buffer, long long byte_count) |
| virtual long long | position_Implementation () const |
| virtual bool | seekSet_Implementation (long long offset) |
| ref< DiskDirectory > | parentDir () const |
Protected Attributes | |
| FILE * | mHandle |
Friends | |
| class | DiskDirectory |
| vl::DiskFile::DiskFile | ( | const DiskFile & | other | ) | [inline, protected] |
| DiskFile::~DiskFile | ( | ) |
| virtual const char* vl::DiskFile::className | ( | ) | [inline, virtual] |
The specified path is relative to the parent directory. See setPhysicalPath().
| bool DiskFile::open | ( | EOpenMode | mode | ) | [virtual] |
Implements vl::VirtualFile.
| bool DiskFile::isOpen | ( | ) | const [virtual] |
Implements vl::VirtualFile.
| void DiskFile::close | ( | ) | [virtual] |
Implements vl::VirtualFile.
| long long DiskFile::size | ( | ) | const [virtual] |
| bool DiskFile::exists | ( | ) | const [virtual] |
Implements vl::VirtualFile.
| ref< VirtualFile > DiskFile::clone | ( | ) | const [virtual] |
Implements vl::VirtualFile.
| long long DiskFile::read_Implementation | ( | void * | buffer, | |
| long long | byte_count | |||
| ) | [protected, virtual] |
Implements vl::VirtualFile.
| long long DiskFile::write_Implementation | ( | const void * | buffer, | |
| long long | byte_count | |||
| ) | [protected, virtual] |
Implements vl::VirtualFile.
| long long DiskFile::position_Implementation | ( | ) | const [protected, virtual] |
Implements vl::VirtualFile.
| bool DiskFile::seekSet_Implementation | ( | long long | offset | ) | [protected, virtual] |
Implements vl::VirtualFile.
| ref<DiskDirectory> vl::DiskFile::parentDir | ( | ) | const [protected] |
friend class DiskDirectory [friend] |
FILE* vl::DiskFile::mHandle [protected] |