Sleeping Wombat Common Library  0.50.0
swCommonLibrary
AttributeRepr.h
Go to the documentation of this file.
1 #pragma once
2 
10 
11 namespace sw
12 {
13 
14 class AttributeRepr;
15 DEFINE_PTR_TYPE( AttributeRepr );
16 DEFINE_WPTR_TYPE( AttributeRepr );
17 
18 class ImplHCF;
19 
20 
21 
24 {
25  FRIEND_CLASS_TESTER( HCF );
26  FRIEND_CLASS_TESTER( AttributeRepr );
27 private:
28  ImplHCF* m_hcf;
29 
31  AttributeReprPtr m_nextAttrib;
32 
34 
35 public:
36  explicit AttributeRepr ( ImplHCF* hcf, AttributeType type );
37  ~AttributeRepr () = default;
38 
39 
40  AttributeHeader& AccessHeader () { return m_header; }
41 
42  void FillAttribute ( const DataPtr data, Size dataSize );
43  void AddNextAttribute ( AttributeReprPtr& attribPtr );
44 };
45 
46 } // sw
Definition: Exception.h:11
Definition: ImplHCF.h:28
Main class for loading and writing HCF files.
Definition: HCF.h:34
Plik zawiera definicje podstawowych typów zmiennych.
Definition: AttributeHeader.h:15
AttributeReprPtr m_nextAttrib
Next attribute in list.
Definition: AttributeRepr.h:31
AttributeHeader m_header
Header from file.
Definition: AttributeRepr.h:30
Definition: AttributeRepr.h:23
Size m_absolutOffset
Offset from beginning of file.
Definition: AttributeRepr.h:33