Holds the meta-data for an entry in a tar.
Field availability
The tar format stores all the meta-data for an entry ahead of its data, therefore GetNextEntry() always returns a fully populated wxTarEntry object, both when reading from seekable and non-seekable streams.
- See also
- Archive Formats, wxTarInputStream, wxTarOutputStream
|
| | wxTarEntry (const wxString &name=wxEmptyString, const wxDateTime &dt=wxDateTime::Now(), wxFileOffset size=wxInvalidOffset) |
| | Constructor. More...
|
| |
| | wxTarEntry (const wxTarEntry &entry) |
| | Copy constructor. More...
|
| |
| wxDateTime | GetAccessTime () const |
| | Gets/sets the entry's access time stamp. More...
|
| |
| void | SetAccessTime (const wxDateTime &dt) |
| |
| wxDateTime | GetCreateTime () const |
| | The entry's creation time stamp. More...
|
| |
| void | SetCreateTime (const wxDateTime &dt) |
| |
| int | GetDevMajor () const |
| | OS specific IDs defining a device; these are only meaningful when wxTarEntry::GetTypeFlag() is wxTAR_CHRTYPE or wxTAR_BLKTYPE. More...
|
| |
| int | GetDevMinor () const |
| |
| void | SetDevMajor (int dev) |
| |
| void | SetDevMinor (int dev) |
| |
| int | GetGroupId () const |
| | The user ID and group ID that has permissions (see wxTarEntry::GetMode()) over this entry. More...
|
| |
| int | GetUserId () const |
| |
| void | SetGroupId (int id) |
| |
| void | SetUserId (int id) |
| |
| wxString | GetGroupName () const |
| | The names of the user and group that has permissions (see wxTarEntry::GetMode()) over this entry. More...
|
| |
| wxString | GetUserName () const |
| |
| void | SetGroupName (const wxString &group) |
| |
| void | SetUserName (const wxString &user) |
| |
| wxString | GetLinkName () const |
| | The filename of a previous entry in the tar that this entry is a link to. More...
|
| |
| void | SetLinkName (const wxString &link) |
| |
| int | GetMode () const |
| | UNIX permission bits for this entry. More...
|
| |
| void | SetMode (int mode) |
| |
| void | SetSize (wxFileOffset size) |
| | The size of the entry's data in bytes. More...
|
| |
| wxFileOffset | GetSize () const |
| | Returns the size of the entry's data in bytes. More...
|
| |
| int | GetTypeFlag () const |
| | Returns/Sets the type of the entry as a wxTarType value. More...
|
| |
| void | SetTypeFlag (int type) |
| |
| wxString | GetInternalName () const |
| | Returns the entry's filename in the internal format used within the archive. More...
|
| |
| wxTarEntry & | operator= (const wxTarEntry &entry) |
| | Assignment operator. More...
|
| |
| wxArchiveEntry * | Clone () const |
| | Returns a copy of this entry object. More...
|
| |
| virtual wxDateTime | GetDateTime () const =0 |
| | Gets the entry's timestamp. More...
|
| |
| virtual void | SetDateTime (const wxDateTime &dt)=0 |
| | Sets the entry's timestamp. More...
|
| |
| virtual wxString | GetName (wxPathFormat format=wxPATH_NATIVE) const =0 |
| | Returns the entry's name, by default in the native format. More...
|
| |
| virtual void | SetName (const wxString &name, wxPathFormat format=wxPATH_NATIVE)=0 |
| | Sets the entry's name. More...
|
| |
| virtual wxFileOffset | GetSize () const =0 |
| | Returns the size of the entry's data in bytes. More...
|
| |
| virtual void | SetSize (wxFileOffset size)=0 |
| | Sets the size of the entry's data in bytes. More...
|
| |
| virtual wxPathFormat | GetInternalFormat () const =0 |
| | Returns the path format used internally within the archive to store filenames. More...
|
| |
| virtual wxString | GetInternalName () const =0 |
| | Returns the entry's filename in the internal format used within the archive. More...
|
| |
| virtual wxFileOffset | GetOffset () const =0 |
| | Returns a numeric value unique to the entry within the archive. More...
|
| |
| virtual bool | IsDir () const =0 |
| | Returns true if this is a directory entry. More...
|
| |
| virtual void | SetIsDir (bool isDir=true)=0 |
| | Marks this entry as a directory if isDir is true. More...
|
| |
| virtual bool | IsReadOnly () const =0 |
| | Returns true if the entry is a read-only file. More...
|
| |
| virtual void | SetIsReadOnly (bool isReadOnly=true)=0 |
| | Sets this entry as a read-only file. More...
|
| |
| void | SetNotifier (wxArchiveNotifier ¬ifier) |
| | Sets the notifier (see wxArchiveNotifier) for this entry. More...
|
| |
| virtual void | UnsetNotifier () |
| | Unsets the notifier eventually attached to this entry. More...
|
| |
| | wxObject () |
| | Default ctor; initializes to NULL the internal reference data. More...
|
| |
| | wxObject (const wxObject &other) |
| | Copy ctor. More...
|
| |
| virtual | ~wxObject () |
| | Destructor. More...
|
| |
| virtual wxClassInfo * | GetClassInfo () const |
| | This virtual function is redefined for every class that requires run-time type information, when using the wxDECLARE_CLASS macro (or similar). More...
|
| |
| wxObjectRefData * | GetRefData () const |
| | Returns the wxObject::m_refData pointer, i.e. the data referenced by this object. More...
|
| |
| bool | IsKindOf (const wxClassInfo *info) const |
| | Determines whether this class is a subclass of (or the same class as) the given class. More...
|
| |
| bool | IsSameAs (const wxObject &obj) const |
| | Returns true if this object has the same data pointer as obj. More...
|
| |
| void | Ref (const wxObject &clone) |
| | Makes this object refer to the data in clone. More...
|
| |
| void | SetRefData (wxObjectRefData *data) |
| | Sets the wxObject::m_refData pointer. More...
|
| |
| void | UnRef () |
| | Decrements the reference count in the associated data, and if it is zero, deletes the data. More...
|
| |
| void | UnShare () |
| | This is the same of AllocExclusive() but this method is public. More...
|
| |
| void | operator delete (void *buf) |
| | The delete operator is defined for debugging versions of the library only, when the identifier __WXDEBUG__ is defined. More...
|
| |
| void * | operator new (size_t size, const wxString &filename=NULL, int lineNum=0) |
| | The new operator is defined for debugging versions of the library only, when the identifier __WXDEBUG__ is defined. More...
|
| |