37 class CLongEntry |
37 class CLongEntry |
38 { |
38 { |
39 public: |
39 public: |
40 char GetDirOrder() const; |
40 char GetDirOrder() const; |
41 void SetDirOrder(char aDirOrder); |
41 void SetDirOrder(char aDirOrder); |
42 String& GetSubName1(); |
42 string& GetSubName1(); |
43 void SetSubName1(String aSubName1); |
43 void SetSubName1(string aSubName1); |
44 String& GetSubName2(); |
44 string& GetSubName2(); |
45 void SetSubName2(String aSubName2); |
45 void SetSubName2(string aSubName2); |
46 String& GetSubName3(); |
46 string& GetSubName3(); |
47 void SetSubName3(String aSubName3); |
47 void SetSubName3(string aSubName3); |
48 char GetAttribute() const; |
48 char GetAttribute() const; |
49 char GetCheckSum() const; |
49 char GetCheckSum() const; |
50 char GetDirType() const; |
50 char GetDirType() const; |
51 unsigned short int GetClusterNumberLow() const; |
51 unsigned short int GetClusterNumberLow() const; |
52 |
52 |
53 private: |
53 private: |
54 char iDirOrder; //Order of this entry in the sequence of long directory entries |
54 char iDirOrder; //Order of this entry in the sequence of long directory entries |
55 String iSubName1; //character 1-5 of long name sub component |
55 string iSubName1; //character 1-5 of long name sub component |
56 char iAttribute; //LONG_FILE_NAME attribute |
56 char iAttribute; //LONG_FILE_NAME attribute |
57 char iDirType; //zero to mention subcomponent of directory entry |
57 char iDirType; //zero to mention subcomponent of directory entry |
58 char iCheckSum; //Check sum of Short directory entry name |
58 char iCheckSum; //Check sum of Short directory entry name |
59 String iSubName2; //character 6-11 of long name sub component |
59 string iSubName2; //character 6-11 of long name sub component |
60 /* Low of cluster number, must be zero for existing disk utility compatible |
60 /* Low of cluster number, must be zero for existing disk utility compatible |
61 * reason |
61 * reason |
62 */ |
62 */ |
63 unsigned short int iFirstClusterNumberLow; |
63 unsigned short int iFirstClusterNumberLow; |
64 String iSubName3; //character 12-13 of long name sub component |
64 string iSubName3; //character 12-13 of long name sub component |
65 |
65 |
66 public: |
66 public: |
67 CLongEntry(char aChckSum); |
67 CLongEntry(char aChckSum); |
68 ~CLongEntry(); |
68 ~CLongEntry(); |
69 }; |
69 }; |