Sleeping Wombat GUI  0.100
swGUI
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 {
27 private:
29 
31  AttributeReprPtr m_nextAttrib;
32 
34 
35 public:
36  explicit AttributeRepr ( ImplHCF* hcf, AttributeType type );
37  ~AttributeRepr () = default;
38 
39 
41 
42  void FillAttribute ( const DataPtr data, Size dataSize );
43  void AddNextAttribute ( AttributeReprPtr& attribPtr );
44 };
45 
46 } // sw
uint64 AttributeType
Definition: AttributeTypes.h:12
Definition: DirectInputModule.cpp:11
Definition: ImplHCF.h:28
Main class for loading and writing HCF files.
Definition: HCF.h:34
ImplHCF * m_hcf
Definition: AttributeRepr.h:28
DataUnderlayingType * DataPtr
Definition: AttributeTypes.h:14
~AttributeRepr()=default
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
AttributeRepr(ImplHCF *hcf, AttributeType type)
Definition: AttributeRepr.cpp:18
AttributeHeader & AccessHeader()
Definition: AttributeRepr.h:40
size_t Size
Definition: TypesDefinitions.h:35
DEFINE_WPTR_TYPE(AttributeRepr)
void FillAttribute(const DataPtr data, Size dataSize)
Definition: AttributeRepr.cpp:35
DEFINE_PTR_TYPE(AttributeRepr)
Definition: AttributeRepr.h:23
void AddNextAttribute(AttributeReprPtr &attribPtr)
Definition: AttributeRepr.cpp:25
Size m_absolutOffset
Offset from beginning of file.
Definition: AttributeRepr.h:33