Visualization Library 2.0.0
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Collects the information about a ZippedFile. More...
#include <ZippedFile.hpp>
Public Member Functions | |
ZippedFileInfo () | |
unsigned short | versionNeeded () const |
unsigned short | generalPurposeFlag () const |
unsigned short | compressionMethod () const |
unsigned int | crc32 () const |
unsigned int | compressedSize () const |
unsigned int | uncompressedSize () const |
unsigned short | fileNameLength () const |
unsigned short | extraFieldLength () const |
int | second () const |
int | minute () const |
int | hour () const |
int | day () const |
int | month () const |
int | year () const |
const String & | path () const |
unsigned int | zippedFileOffset () const |
const VirtualFile * | sourceZipFile () const |
VirtualFile * | sourceZipFile () |
void | setSourceZipFile (VirtualFile *file) |
Public Member Functions inherited from vl::Object | |
Object () | |
Constructor. More... | |
Object (const Object &other) | |
Copy constructor: copies the name, ref count mutex and user data. More... | |
Object & | operator= (const Object &other) |
Copy operator: copies the object's name, ref count mutex and user data. More... | |
const std::string & | objectName () const |
The name of the object, by default set to the object's class name. More... | |
void | setObjectName (const char *name) |
The name of the object, by default set to the object's class name in debug builds. More... | |
void | setObjectName (const std::string &name) |
The name of the object, by default set to the object's class name in debug builds. More... | |
void | setRefCountMutex (IMutex *mutex) |
The mutex used to protect the reference counting of an Object across multiple threads. More... | |
IMutex * | refCountMutex () |
The mutex used to protect the reference counting of an Object across multiple threads. More... | |
const IMutex * | refCountMutex () const |
The mutex used to protect the reference counting of an Object across multiple threads. More... | |
int | referenceCount () const |
Returns the number of references of an object. More... | |
void | incReference () const |
Increments the reference count of an object. More... | |
void | decReference () |
Decrements the reference count of an object and deletes it if both automaticDelete() is true the count reaches 0. More... | |
void | setAutomaticDelete (bool autodel_on) |
If set to true the Object is deleted when its reference count reaches 0. More... | |
bool | automaticDelete () const |
If set to true the Object is deleted when its reference count reaches 0. More... | |
template<class T > | |
T * | as () |
Casts an Object to the specified class. More... | |
template<class T > | |
const T * | as () const |
Casts an Object to the specified class. More... | |
Public Attributes | |
unsigned short | mVersionNeeded |
unsigned short | mGeneralPurposeFlag |
unsigned short | mCompressionMethod |
unsigned int | mCRC32 |
unsigned int | mCompressedSize |
unsigned int | mUncompressedSize |
unsigned short | mFileNameLength |
unsigned short | mExtraFieldLength |
int | mSecond |
int | mMinute |
int | mHour |
int | mDay |
int | mMonth |
int | mYear |
String | mFileName |
unsigned int | mZippedFileOffset |
ref< VirtualFile > | mSourceZipFile |
Friends | |
class | ZippedFile |
class | ZippedDirectory |
Additional Inherited Members | |
Protected Member Functions inherited from vl::Object | |
virtual | ~Object () |
Protected Attributes inherited from vl::Object | |
std::string | mObjectName |
IMutex * | mRefCountMutex |
int | mReferenceCount |
bool | mAutomaticDelete |
Collects the information about a ZippedFile.
Definition at line 46 of file ZippedFile.hpp.
|
inline |
Definition at line 54 of file ZippedFile.hpp.
References mCompressedSize, mCompressionMethod, mCRC32, mDay, mExtraFieldLength, mFileNameLength, mGeneralPurposeFlag, mHour, mMinute, mMonth, mSecond, mUncompressedSize, mVersionNeeded, mYear, and mZippedFileOffset.
Referenced by vl::ZippedFile::operator=().
|
inline |
Definition at line 78 of file ZippedFile.hpp.
References mCompressedSize.
Referenced by vl::ZippedFile::fillUncompressedBuffer().
|
inline |
Definition at line 76 of file ZippedFile.hpp.
References mCompressionMethod.
|
inline |
Definition at line 77 of file ZippedFile.hpp.
References mCRC32.
|
inline |
Definition at line 85 of file ZippedFile.hpp.
References mDay.
|
inline |
Definition at line 81 of file ZippedFile.hpp.
References mExtraFieldLength.
|
inline |
Definition at line 80 of file ZippedFile.hpp.
References mFileNameLength.
|
inline |
Definition at line 75 of file ZippedFile.hpp.
References mGeneralPurposeFlag.
Referenced by vl::ZippedFile::extract().
|
inline |
Definition at line 84 of file ZippedFile.hpp.
References mHour.
|
inline |
Definition at line 83 of file ZippedFile.hpp.
References mMinute.
|
inline |
Definition at line 86 of file ZippedFile.hpp.
References mMonth.
|
inline |
Definition at line 88 of file ZippedFile.hpp.
References mFileName.
|
inline |
Definition at line 82 of file ZippedFile.hpp.
References mSecond.
|
inline |
Definition at line 94 of file ZippedFile.hpp.
References mSourceZipFile.
Referenced by vl::ZippedDirectory::init().
|
inline |
Definition at line 92 of file ZippedFile.hpp.
References mSourceZipFile.
Referenced by vl::ZippedFile::close(), vl::ZippedFile::exists(), vl::ZippedFile::extract(), vl::ZippedFile::fillUncompressedBuffer(), vl::ZippedFile::open(), and vl::ZippedFile::read_Implementation().
|
inline |
Definition at line 93 of file ZippedFile.hpp.
References mSourceZipFile.
|
inline |
Definition at line 79 of file ZippedFile.hpp.
References mUncompressedSize.
Referenced by vl::ZippedFile::fillUncompressedBuffer(), and vl::ZippedFile::read_Implementation().
|
inline |
Definition at line 74 of file ZippedFile.hpp.
References mVersionNeeded.
Referenced by vl::ZippedFile::extract().
|
inline |
Definition at line 87 of file ZippedFile.hpp.
References mYear.
|
inline |
Definition at line 90 of file ZippedFile.hpp.
References mZippedFileOffset.
Referenced by vl::ZippedFile::exists(), vl::ZippedFile::extract(), and vl::ZippedFile::fillUncompressedBuffer().
|
friend |
Definition at line 49 of file ZippedFile.hpp.
|
friend |
Definition at line 48 of file ZippedFile.hpp.
unsigned int vl::ZippedFileInfo::mCompressedSize |
Definition at line 101 of file ZippedFile.hpp.
Referenced by compressedSize(), vl::ZippedFile::extract(), vl::ZippedDirectory::init(), and ZippedFileInfo().
unsigned short vl::ZippedFileInfo::mCompressionMethod |
Definition at line 99 of file ZippedFile.hpp.
Referenced by compressionMethod(), vl::ZippedFile::extract(), vl::ZippedDirectory::init(), and ZippedFileInfo().
unsigned int vl::ZippedFileInfo::mCRC32 |
Definition at line 100 of file ZippedFile.hpp.
Referenced by crc32(), vl::ZippedFile::extract(), vl::ZippedDirectory::init(), and ZippedFileInfo().
int vl::ZippedFileInfo::mDay |
Definition at line 108 of file ZippedFile.hpp.
Referenced by day(), vl::ZippedDirectory::init(), and ZippedFileInfo().
unsigned short vl::ZippedFileInfo::mExtraFieldLength |
Definition at line 104 of file ZippedFile.hpp.
Referenced by extraFieldLength(), vl::ZippedDirectory::init(), and ZippedFileInfo().
String vl::ZippedFileInfo::mFileName |
Definition at line 111 of file ZippedFile.hpp.
Referenced by vl::ZippedDirectory::init(), and path().
unsigned short vl::ZippedFileInfo::mFileNameLength |
Definition at line 103 of file ZippedFile.hpp.
Referenced by fileNameLength(), vl::ZippedDirectory::init(), and ZippedFileInfo().
unsigned short vl::ZippedFileInfo::mGeneralPurposeFlag |
Definition at line 98 of file ZippedFile.hpp.
Referenced by generalPurposeFlag(), vl::ZippedDirectory::init(), and ZippedFileInfo().
int vl::ZippedFileInfo::mHour |
Definition at line 107 of file ZippedFile.hpp.
Referenced by hour(), vl::ZippedDirectory::init(), and ZippedFileInfo().
int vl::ZippedFileInfo::mMinute |
Definition at line 106 of file ZippedFile.hpp.
Referenced by vl::ZippedDirectory::init(), minute(), and ZippedFileInfo().
int vl::ZippedFileInfo::mMonth |
Definition at line 109 of file ZippedFile.hpp.
Referenced by vl::ZippedDirectory::init(), month(), and ZippedFileInfo().
int vl::ZippedFileInfo::mSecond |
Definition at line 105 of file ZippedFile.hpp.
Referenced by vl::ZippedDirectory::init(), second(), and ZippedFileInfo().
ref<VirtualFile> vl::ZippedFileInfo::mSourceZipFile |
Definition at line 115 of file ZippedFile.hpp.
Referenced by setSourceZipFile(), and sourceZipFile().
unsigned int vl::ZippedFileInfo::mUncompressedSize |
Definition at line 102 of file ZippedFile.hpp.
Referenced by vl::ZippedFile::extract(), vl::ZippedDirectory::init(), uncompressedSize(), and ZippedFileInfo().
unsigned short vl::ZippedFileInfo::mVersionNeeded |
Definition at line 97 of file ZippedFile.hpp.
Referenced by vl::ZippedDirectory::init(), versionNeeded(), and ZippedFileInfo().
int vl::ZippedFileInfo::mYear |
Definition at line 110 of file ZippedFile.hpp.
Referenced by vl::ZippedDirectory::init(), year(), and ZippedFileInfo().
unsigned int vl::ZippedFileInfo::mZippedFileOffset |
Definition at line 113 of file ZippedFile.hpp.
Referenced by vl::ZippedDirectory::init(), ZippedFileInfo(), and zippedFileOffset().
Visualization Library 2.0.0 Reference Documentation
Updated on Wed Dec 23 2020 12:44:12.
© Copyright Michele Bosi. All rights reserved.