etk::ArchiveContent Class Reference
#include <Archive.hpp>
Public Member Functions | |
void | increaseRef () |
void | decreaseRef () |
int32_t | getNumberOfRef () const |
int32_t | getTheoricSize () const |
ArchiveContent (int32_t _basicSize=0) | |
int32_t | size () const |
void * | data () const |
std::vector< char > & | getDataVector () |
Detailed Description
Element of the archive (with associated data)
Constructor & Destructor Documentation
§ ArchiveContent()
|
inline |
Basic constructor of an element.
- Parameters
-
[in] _basicSize Size of the zip element
Member Function Documentation
§ data()
|
inline |
Get the pointer on the data read from the zip file.
- Returns
- void pointer on the data.
§ decreaseRef()
|
inline |
Release reference on this data.
§ getDataVector()
|
inline |
Get the Data Vector on the file.
- Returns
- Vector on the data.
§ getNumberOfRef()
|
inline |
Get the number of user link with this reference.
- Returns
- Count of user connected
§ getTheoricSize()
|
inline |
Get the size of the element (size set by Zip file (not read))
- Returns
- the size in Byte of the file
§ increaseRef()
|
inline |
Increment the number of user of this resource (permit to keep data alive)
§ size()
|
inline |
Get the size of the Data loaded.
- Returns
- number of Byte loaded.
The documentation for this class was generated from the following file:
- framework/atria-soft/etk/etk/archive/Archive.hpp