Sleeping Wombat GUI  0.100
swGUI
Attribute.h
Go to the documentation of this file.
1 #pragma once
2 
10 
11 namespace sw
12 {
13 
14 
15 class AttributeRepr;
16 DEFINE_PTR_TYPE( AttributeRepr );
17 
18 
21 class Attribute
22 {
24 private:
25 
26  AttributeReprPtr m_attribPtr;
27 
28 protected:
29 public:
30  explicit Attribute () = default;
31  explicit Attribute ( AttributeReprPtr attribPtr );
32  ~Attribute() = default;
33 
34 
35  bool IsValid () const;
36  AttributeType GetType () const;
37  Size GetSize () const;
38 };
39 
40 
41 } // sw
uint64 AttributeType
Definition: AttributeTypes.h:12
Attribute()=default
Size GetSize() const
Definition: Attribute.cpp:42
Definition: DirectInputModule.cpp:11
Main class for loading and writing HCF files.
Definition: HCF.h:34
bool IsValid() const
Definition: Attribute.cpp:24
Plik zawiera definicje podstawowych typów zmiennych.
FRIEND_CLASS_TESTER(HCF)
size_t Size
Definition: TypesDefinitions.h:35
Definition: Attribute.h:21
AttributeReprPtr m_attribPtr
Definition: Attribute.h:26
DEFINE_PTR_TYPE(AttributeRepr)
~Attribute()=default
AttributeType GetType() const
Definition: Attribute.cpp:33