Sleeping Wombat Common Library  0.50.0
swCommonLibrary
StringContainer.h
Go to the documentation of this file.
1 #pragma once
2 
10 
11 
12 
13 namespace sw
14 {
15 
16 
17 // ================================ //
18 //
20 {
21  RTTR_ENABLE( EngineObject )
22  RTTR_REGISTRATION_FRIEND
23 public:
24 
25  std::string Description;
26  std::wstring Content;
27 
28 protected:
29 public:
30  explicit StringContainer ();
31  ~StringContainer () = default;
32 
33  void StringsSet2 ();
34 };
35 
36 
37 // ================================ //
38 //
39 inline StringContainer::StringContainer()
40  : Description( "Description of Field")
41  , Content( L"Content displayed to user" )
42 {}
43 
44 // ================================ //
45 //
46 inline void StringContainer::StringsSet2 ()
47 {
48  Description = "User defined Description";
49  Content = L"Nothing interesting";
50 }
51 
52 }
Definition: Exception.h:11
Definition: StringContainer.h:19
Base class for serializable objects.
Definition: EngineObject.h:24