/////////////////////////////////////////////////////////////////////////////
// Name: tarstrm.h
-// Purpose: documentation for wxTarInputStream class
+// Purpose: interface of wxTarInputStream
// Author: wxWidgets team
// RCS-ID: $Id$
// Licence: wxWindows license
@library{wxbase}
@category{streams}
- @seealso
- @ref overview_wxarcbyname "Looking up an archive entry by name"
+ @see @ref overview_wxarcbyname "Looking up an archive entry by name"
*/
class wxTarInputStream : public wxArchiveInputStream
{
};
+
/**
@class wxTarClassFactory
@wxheader{tarstrm.h}
@library{wxbase}
@category{FIXME}
- @seealso
- @ref overview_wxarc "Archive formats such as zip", @ref overview_wxarcgeneric
- "Generic archive programming", wxTarEntry, wxTarInputStream, wxTarOutputStream
+ @see @ref overview_wxarc "Archive formats such as zip", @ref
+ overview_wxarcgeneric "Generic archive programming", wxTarEntry, wxTarInputStream, wxTarOutputStream
*/
class wxTarClassFactory : public wxArchiveClassFactory
{
};
+
/**
@class wxTarOutputStream
@wxheader{tarstrm.h}
@library{wxbase}
@category{streams}
- @seealso
- @ref overview_wxarc "Archive formats such as zip", wxTarEntry, wxTarInputStream
+ @see @ref overview_wxarc "Archive formats such as zip", wxTarEntry,
+ wxTarInputStream
*/
class wxTarOutputStream : public wxArchiveOutputStream
{
specified in the POSIX standards.
*/
int GetBlockingFactor();
- void SetBlockingFactor(int factor);
+ const void SetBlockingFactor(int factor);
//@}
/**
};
+
/**
@class wxTarEntry
@wxheader{tarstrm.h}
@library{wxbase}
@category{FIXME}
- @seealso
- @ref overview_wxarc "Archive formats such as zip", wxTarInputStream,
+ @see @ref overview_wxarc "Archive formats such as zip", wxTarInputStream,
wxTarOutputStream
*/
class wxTarEntry : public wxArchiveEntry
wxArchiveEntry::Get/SetDateTime.
*/
wxDateTime GetAccessTime();
- void SetAccessTime(const wxDateTime& dt);
+ const void SetAccessTime(const wxDateTime& dt);
//@}
//@{
wxArchiveEntry::Get/SetDateTime.
*/
wxDateTime GetCreateTime();
- void SetCreateTime(const wxDateTime& dt);
+ const void SetCreateTime(const wxDateTime& dt);
//@}
//@{
or @e wxTAR_BLKTYPE.
*/
int GetDevMajor();
- int GetDevMinor();
- void SetDevMajor(int dev);
+ const int GetDevMinor();
+ const void SetDevMajor(int dev);
void SetDevMinor(int dev);
//@}
Get/SetUserName" can be used instead.
*/
int GetGroupId();
- int GetUserId();
- void SetGroupId(int id);
+ const int GetUserId();
+ const void SetGroupId(int id);
void SetUserId(int id);
//@}
over this entry. These are not present in very old tars.
*/
wxString GetGroupName();
- wxString GetUserName();
- void SetGroupName(const wxString& group);
+ const wxString GetUserName();
+ const void SetGroupName(const wxString& group);
void SetUserName(const wxString& user);
//@}
to @e wxTAR_LNKTYPE or @e wxTAR_SYMTYPE.
*/
wxString GetLinkName();
- void SetLinkName(const wxString& link);
+ const void SetLinkName(const wxString& link);
//@}
//@{
Symbols are defined for them in wx/file.h.
*/
int GetMode();
- void SetMode(int mode);
+ const void SetMode(int mode);
//@}
//@{
to seek back and fix the entry's header when the entry is closed, though it is
still more efficient if the size is given beforehand.
*/
- void SetSize(wxFileOffset size);
- wxFileOffset GetSize();
+ void SetSize(wxFileOffset size) const;
+ wxFileOffset GetSize() const;
//@}
//@{
any other values should be treated as @e wxTAR_REGTYPE.
*/
int GetTypeFlag();
- void SetTypeFlag(int type);
+ const void SetTypeFlag(int type);
//@}
//@{
(i.e. has a trailing path separator).
*/
wxString GetInternalName();
- wxString GetInternalName(const wxString& name,
- wxPathFormat format = wxPATH_NATIVE,
- bool* pIsDir = NULL);
+ const wxString GetInternalName(const wxString& name,
+ wxPathFormat format = wxPATH_NATIVE,
+ bool* pIsDir = NULL);
//@}
/**
*/
wxTarEntry& operator operator=(const wxTarEntry& entry);
};
+