Sleeping Wombat Common Library  0.50.0
swCommonLibrary
Animal.h
1 #pragma once
2 
3 #include "swCommonLib/Common/RTTR.h"
4 
5 #include <string>
6 
7 
8 namespace sw
9 {
10 
24 class Animal
25 {
26  RTTR_ENABLE();
27  RTTR_REGISTRATION_FRIEND;
28 private:
29 
30  std::string m_name;
31  uint16 m_age;
32 
33 protected:
34 public:
35  explicit Animal () = default;
36  explicit Animal ( const std::string & name );
37  virtual ~Animal ();
38 
39 };
40 
41 
42 int LinkRegistration ();
43 
44 
45 } // sw
46 
47 
Base animal class.
Definition: Animal.h:24
Definition: Exception.h:11