1 // 7zCompressionMode.h
\r
3 #ifndef __7Z_COMPRESSION_MODE_H
\r
4 #define __7Z_COMPRESSION_MODE_H
\r
6 #include "../../../Common/MyString.h"
\r
8 #include "../../../Windows/PropVariant.h"
\r
10 #include "../../Common/MethodProps.h"
\r
12 namespace NArchive {
\r
15 struct CMethodFull: public CMethod
\r
17 UInt32 NumInStreams;
\r
18 UInt32 NumOutStreams;
\r
19 bool IsSimpleCoder() const { return (NumInStreams == 1) && (NumOutStreams == 1); }
\r
30 struct CCompressionMethodMode
\r
32 CObjectVector<CMethodFull> Methods;
\r
33 CRecordVector<CBind> Binds;
\r
37 bool PasswordIsDefined;
\r
40 bool IsEmpty() const { return (Methods.IsEmpty() && !PasswordIsDefined); }
\r
41 CCompressionMethodMode(): PasswordIsDefined(false)
\r