Lhaz
lhazfile_arc.h
[詳解]
1 /*==========================================================================*/
2 /* Lhaz Archive file chitora48@gmail.com */
3 /*==========================================================================*/
4 #pragma once
5 
6 #include "lhazfile.h"
7 #include "lhazarc.h"
8 
9 class LHAZFILETREE;
10 
11 class LHAZFILE_ARC : public LHAZFILE {
12 public:
14  //
15  void SetEncrypt(bool f) { Encrypt = f; }
16  fpos_t GetFpos(void) const { return Fpos; }
17  void SetFpos(fpos_t fpos) { Fpos = fpos; }
18  void SetTime(FILETIME);
19  bool IsVirtual(void) const { return Virtual; }
20  void SetVirtual(bool b) { Virtual = b; }
21 
22 private:
23  ARCHIVE::TYPE ArcType; /* 書庫種別 */
24  bool Encrypt; /* 暗号化フラグ */
25  fpos_t Fpos; /* ファイル位置 */
26  bool Virtual; /* 仮想的なメンバ */
27 
28 };
Definition: lhazfile.h:14
Definition: lhazarc.h:29
Archive.
TYPE
Definition: lhazarc.h:28
fpos_t GetFpos(void) const
Definition: lhazfile_arc.h:16
void SetFpos(fpos_t fpos)
Definition: lhazfile_arc.h:17
Definition: lhazfiletree.h:27
bool Encrypt
Definition: lhazfile_arc.h:24
fpos_t Fpos
Definition: lhazfile_arc.h:25
Definition: lhazfile_arc.h:11
bool IsVirtual(void) const
Definition: lhazfile_arc.h:19
bool Virtual
Definition: lhazfile_arc.h:26
void SetEncrypt(bool f)
Definition: lhazfile_arc.h:15
ARCHIVE::TYPE ArcType
Definition: lhazfile_arc.h:23
void SetVirtual(bool b)
Definition: lhazfile_arc.h:20
LHAZFILE_ARC(ARCHIVE::TYPE t=ARCHIVE::NON)
Definition: lhazfile_arc.cpp:11
void SetTime(FILETIME)
Definition: lhazfile_arc.cpp:22