CMS 3D CMS Logo

lat::TarMember Class Reference

A TAR archive member. More...

#include <Iguana/Utilities/classlib/zip/TarMember.h>

Inheritance diagram for lat::TarMember:

lat::TarConstants lat::ZipUtils

List of all members.

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
TarMemberoperator= (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


Detailed Description

A TAR archive member.

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.


Constructor & Destructor Documentation

lat::TarMember::TarMember ( Filename  name  ) 

lat::TarMember::TarMember ( const TarMember x  ) 

lat::TarMember::~TarMember ( void   ) 


Member Function Documentation

void lat::TarMember::device ( int  major,
int  minor 
)

int lat::TarMember::devmajor ( void   )  const

int lat::TarMember::devminor ( void   )  const

void lat::TarMember::gid ( int  value  ) 

int lat::TarMember::gid ( void   )  const

void lat::TarMember::gname ( const std::string &  name  ) 

std::string lat::TarMember::gname ( void   )  const

void lat::TarMember::linkname ( Filename  value  ) 

Filename lat::TarMember::linkname ( void   )  const

void lat::TarMember::mode ( int  value  ) 

int lat::TarMember::mode ( void   )  const

void lat::TarMember::mtime ( unsigned  value  ) 

unsigned lat::TarMember::mtime ( void   )  const

void lat::TarMember::name ( Filename  name  ) 

Filename lat::TarMember::name ( void   )  const

TarMember& lat::TarMember::operator= ( const TarMember x  ) 

void lat::TarMember::size ( IOOffset  value  ) 

IOOffset lat::TarMember::size ( void   )  const

void lat::TarMember::type ( char  value  ) 

void lat::TarMember::type ( Type  value  ) 

Type lat::TarMember::type ( void   )  const

void lat::TarMember::uid ( int  value  ) 

int lat::TarMember::uid ( void   )  const

void lat::TarMember::uname ( const std::string &  name  ) 

std::string lat::TarMember::uname ( void   )  const


Member Data Documentation

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.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:48:36 2009 for CMSSW by  doxygen 1.5.4