Lhaz
読み取り中…
検索中…
一致する文字列を見つけられません
公開メンバ関数 | 静的公開メンバ関数 | 静的公開変数類 | 非公開メンバ関数 | 非公開変数類 | 静的非公開変数類 | 全メンバ一覧
ARCLZH クラス

LZH書庫 [詳解]

#include <lhazlzh.h>

ARCLZH の継承関係図
ARCHIVE

公開メンバ関数

 ARCLZH (HWND hwnd, const WSTR &name, TYPE type)
 
 ARCLZH (HWND hwnd, const WSTR &name, TYPE type, const WSTR &filter, gui::LHAZTREEVIEW *treeview)
 
 ‾ARCLZH (void)
 
bool Extract (bool verify, const WSTR &temp, const WSTR &password)
 
bool Extract (const WSTR &temp)
 
bool Compress (int method, int header, const WSTR &pass, const PATH &temp, const vector< LHAZPROCFILE > &v)
 
bool Delete (const vector< LHAZFILE * > &v)
 
bool Convert (void)
 
bool SkipSfxCode (MYFILE &fp)
 
- 基底クラス ARCHIVE に属する継承公開メンバ関数
 ARCHIVE (HWND hwnd, const WSTR &name, TYPE type, gui::LHAZTREEVIEW *treeview)
 
virtual ‾ARCHIVE ()
 
virtual bool Compress (int method, int header, const WSTR &pass, const PATH &temp, const std::vector< LHAZPROCFILE > &v)=0
 
virtual bool Delete (const std::vector< LHAZFILE * > &v)=0
 
bool CanAppend (UINT &mes_id)
 
void ClearExtFile ()
 
bool DoMakeDir () const
 
void Filt (const WSTR &filter)
 
void Filt (const WSTR &filter, const LHAZFILETREE *node)
 
const WSTR & GetAllName (int idx) const
 
std::size_t GetCount () const
 
const WSTR & GetCsizeText (int idx) const
 
const WSTR & GetCsizeTextKB (int idx) const
 
const WSTR & GetDir (int idx) const
 
::size_t GetDspCount () const
 
bool GetEncrypt () const
 
std::vector< LHAZFILE * > & GetExtFile ()
 
LONGLONG GetExtMemberTotal () const
 
LHAZFILEGetFile (int idx) const
 
const WSTR & GetFname (int idx) const
 
int GetImage (int idx) const
 
const std::vector< LHAZFILE * > & GetList () const
 
const WSTR & GetMethodText (int idx) const
 
const WSTR & GetName () const
 
const WSTR & GetName (int idx) const
 
const WSTR & GetOneDir () const
 
const WSTR & GetRatioText (int idx) const
 
LONGLONG GetSize (int idx) const
 
const WSTR & GetSizeText (int idx) const
 
const WSTR & GetSizeTextKB (int idx) const
 
const WSTR & GetTimeText (int idx) const
 
LONGLONG GetTotal () const
 
LHAZFILETREEGetTree () const
 
LHAZFILETREEGetTree (int idx) const
 
TYPE GetType () const
 
const WSTR & GetType (int idx) const
 
bool IsDir (int idx) const
 
bool IsVirtual (int idx) const
 
void ListAllMember ()
 
void ListExtMember (const std::vector< int > &indxs, bool add=false)
 
void ListExtMemberDescendant (const WSTR &dir, const WSTR &filter)
 
void SetName (const WSTR &name)
 
void Sort (int kind, int rev)
 

静的公開メンバ関数

static bool IsArchiveLzh (unsigned int size, char *buf)
 
- 基底クラス ARCHIVE に属する継承静的公開メンバ関数
static TYPE GetArchiveType (const WSTR &name, bool &pass_correct)
 
static TYPE GetArchiveTypeByName (const WSTR &name)
 
static bool IsSingleFileCompressed (TYPE type)
 IsSingleFileCompressed
 
static bool IsUnicodeSupport (TYPE type)
 
static ARCHIVECreate (HWND hwnd, const WSTR &name, TYPE type)
 
static ARCHIVECreate (HWND hwnd, const WSTR &name, TYPE type, TCHAR *filter, gui::LHAZTREEVIEW *treeview)
 

静的公開変数類

static const char HEADER [3] = { '-', 'l', 'h' }
 
static const char SFXHEADER [9] = { 'L', 'H', 'A', '¥'', 's', ' ', 'S', 'F', 'X' }
 

非公開メンバ関数

bool AddNew (const MYSTR &name, MYFILE &nafp)
 
bool AppendIt (vector< ADDFILE > &list, MYFILE &oafp, MYFILE &nafp)
 
void AppendList (const MYSTR &name, vector< ADDFILE > &list)
 
MYSTR BuildStandardArchiveName (const MYSTR &orginal)
 
void BuildTempName (void)
 
bool IsArchiveMsdosSfx1 (const MYSTR &name)
 
bool IsNeedFile (const vector< LHAZFILE * > &v, const MYSTR &name)
 
bool PatMatch (const MYSTR &p, const MYSTR &s, int f)
 
void SendName (const MYSTR &name)
 
bool SkipMsdosSfx1Code (MYFILE &fp)
 

非公開変数類

int CompCnt
 
unsigned char Level
 
int Method
 
MYSTR NewArchiveName
 
PATH TempName
 

静的非公開変数類

static const unsigned char SfxCode []
 

その他の継承メンバ

- 基底クラス ARCHIVE に属する継承公開型
enum  TYPE {
  NON , LZH , ZIP , ENCZIP ,
  CAB , TGZ , TAR , GZIP ,
  TBZ , BZ2 , SZIP , SFXLZH ,
  SFXCAB , SFXZIP , RAR , ISCAB ,
  XZ , TXZ , LZ4 , LZMA ,
  ZSTD , GOOGLE_DOC , ONEDRIVE , DROPBOX ,
  MAX
}
 
enum  COMPLETE { ARC_NO_ERROR , ARC_CANCELED , ARC_STOPPED , ARC_ERROR }
 
- 基底クラス ARCHIVE に属する継承限定公開メンバ関数
bool IsSameDir (WSTR &dirbuf, const WSTR &curdir)
 
void AppendList (const WSTR &name, std::vector< WSTR > &list)
 
void AppendListWithDir (const WSTR &name, std::vector< WSTR > &list, bool &unicode_file_exist)
 
int ShareError (const WSTR &name)
 
- 基底クラス ARCHIVE に属する継承限定公開変数類
HWND Hwnd
 
WSTR Name
 
TYPE Type
 
LONGLONG Total
 
bool MakeDir
 
WSTR OneDir
 
bool Encrypt
 
std::vector< LHAZFILE * > List
 
std::vector< LHAZFILE * > SortTable
 
std::vector< LHAZFILE * > ExtFile
 
LHAZFILETREETree
 
- 基底クラス ARCHIVE に属する継承静的限定公開変数類
static const size_t SFXSIZE = 0xA0000
 

詳解

LZH書庫

構築子と解体子

◆ ARCLZH() [1/2]

ARCLZH::ARCLZH ( HWND  hwnd,
const WSTR &  name,
TYPE  type 
)

◆ ARCLZH() [2/2]

ARCLZH::ARCLZH ( HWND  hwnd,
const WSTR &  name,
TYPE  type,
const WSTR &  filter,
gui::LHAZTREEVIEW treeview 
)

関数詳解

◆ ‾ARCLZH()

ARCLZH::‾ARCLZH ( void  )

◆ AddNew()

bool ARCLZH::AddNew ( const MYSTR &  name,
MYFILE &  nafp 
)
private

◆ AppendIt()

bool ARCLZH::AppendIt ( vector< ADDFILE > &  list,
MYFILE &  oafp,
MYFILE &  nafp 
)
private

◆ AppendList()

void ARCLZH::AppendList ( const MYSTR &  name,
vector< ADDFILE > &  list 
)
private

◆ BuildStandardArchiveName()

MYSTR ARCLZH::BuildStandardArchiveName ( const MYSTR &  orginal)
private

◆ BuildTempName()

void ARCLZH::BuildTempName ( void  )
private

◆ Compress()

bool ARCLZH::Compress ( int  method,
int  header,
const WSTR &  pass,
const PATH &  temp,
const vector< LHAZPROCFILE > &  v 
)

◆ Convert()

bool ARCLZH::Convert ( void  )

◆ Delete()

bool ARCLZH::Delete ( const vector< LHAZFILE * > &  v)

◆ Extract() [1/2]

bool ARCLZH::Extract ( bool  verify,
const WSTR &  temp,
const WSTR &  password 
)
virtual

ARCHIVEを実装しています。

◆ Extract() [2/2]

bool ARCLZH::Extract ( const WSTR &  temp)
virtual

ARCHIVEを実装しています。

◆ IsArchiveLzh()

bool ARCLZH::IsArchiveLzh ( unsigned int  size,
char *  buf 
)
static

◆ IsArchiveMsdosSfx1()

bool ARCLZH::IsArchiveMsdosSfx1 ( const MYSTR &  name)
private

◆ IsNeedFile()

bool ARCLZH::IsNeedFile ( const vector< LHAZFILE * > &  v,
const MYSTR &  name 
)
private

◆ PatMatch()

bool ARCLZH::PatMatch ( const MYSTR &  p,
const MYSTR &  s,
int  f 
)
private

◆ SendName()

void ARCLZH::SendName ( const MYSTR &  name)
private

◆ SkipMsdosSfx1Code()

bool ARCLZH::SkipMsdosSfx1Code ( MYFILE &  fp)
private

◆ SkipSfxCode()

bool ARCLZH::SkipSfxCode ( MYFILE &  fp)

メンバ詳解

◆ CompCnt

int ARCLZH::CompCnt
private

◆ HEADER

const char ARCLZH::HEADER = { '-', 'l', 'h' }
static

◆ Level

unsigned char ARCLZH::Level
private

◆ Method

int ARCLZH::Method
private

◆ NewArchiveName

MYSTR ARCLZH::NewArchiveName
private

◆ SfxCode

const unsigned char ARCLZH::SfxCode
staticprivate
初期値:
= {
}

◆ SFXHEADER

const char ARCLZH::SFXHEADER = { 'L', 'H', 'A', '¥'', 's', ' ', 'S', 'F', 'X' }
static

◆ TempName

PATH ARCLZH::TempName
private

このクラス詳解は次のファイルから抽出されました: