#include <Iguana/Utilities/classlib/zip/TarMember.h>
Public Member Functions | |
void | device (int major, int minor) |
int | devmajor (void) const |
int | devminor (void) const |
void | gid (int value) |
int | gid (void) const |
void | gname (const std::string &name) |
std::string | gname (void) const |
void | linkname (Filename value) |
Filename | linkname (void) const |
void | mode (int value) |
int | mode (void) const |
void | mtime (unsigned value) |
unsigned | mtime (void) const |
void | name (Filename name) |
Filename | name (void) const |
TarMember & | operator= (const TarMember &x) |
void | size (IOOffset value) |
IOOffset | size (void) const |
TarMember (const TarMember &x) | |
TarMember (Filename name) | |
void | type (char value) |
void | type (Type value) |
Type | type (void) const |
void | uid (int value) |
int | uid (void) const |
void | uname (const std::string &name) |
std::string | uname (void) const |
~TarMember (void) | |
Private Attributes | |
int | m_devmajor |
int | m_devminor |
int | m_gid |
std::string | m_gname |
Filename | m_link |
int | m_mode |
unsigned | m_mtime |
Filename | m_name |
bool | m_ok |
IOOffset | m_size |
Type | m_type |
int | m_uid |
std::string | m_uname |
This class describes a single TAR archive member. The member cannot be read or written through this class, use or instead.
Note that when adding a member to , the file size must be known or the stream must be told to buffer the data to find out the size on its own. If the size is given, it must match the actual amount of data output (this is asserted).
Definition at line 27 of file TarMember.h.
lat::TarMember::TarMember | ( | Filename | name | ) |
lat::TarMember::TarMember | ( | const TarMember & | x | ) |
lat::TarMember::~TarMember | ( | void | ) |
void lat::TarMember::gname | ( | const std::string & | name | ) |
std::string lat::TarMember::gname | ( | void | ) | const |
void lat::TarMember::mtime | ( | unsigned | value | ) |
unsigned lat::TarMember::mtime | ( | void | ) | const |
void lat::TarMember::type | ( | char | value | ) |
void lat::TarMember::uname | ( | const std::string & | name | ) |
std::string lat::TarMember::uname | ( | void | ) | const |
int lat::TarMember::m_devmajor [private] |
Definition at line 74 of file TarMember.h.
int lat::TarMember::m_devminor [private] |
Definition at line 75 of file TarMember.h.
int lat::TarMember::m_gid [private] |
Definition at line 70 of file TarMember.h.
std::string lat::TarMember::m_gname [private] |
Definition at line 71 of file TarMember.h.
Filename lat::TarMember::m_link [private] |
Definition at line 73 of file TarMember.h.
int lat::TarMember::m_mode [private] |
Definition at line 67 of file TarMember.h.
unsigned lat::TarMember::m_mtime [private] |
Definition at line 63 of file TarMember.h.
Filename lat::TarMember::m_name [private] |
Definition at line 62 of file TarMember.h.
bool lat::TarMember::m_ok [private] |
Definition at line 76 of file TarMember.h.
IOOffset lat::TarMember::m_size [private] |
Definition at line 66 of file TarMember.h.
Type lat::TarMember::m_type [private] |
Definition at line 72 of file TarMember.h.
int lat::TarMember::m_uid [private] |
Definition at line 68 of file TarMember.h.
std::string lat::TarMember::m_uname [private] |
Definition at line 69 of file TarMember.h.