Sleeping Wombat Common Library
0.50.0
swCommonLibrary
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
TestUtils
TestClassHierarchy
SerializationPrimitives
Polymorphic
PolymorphicObjectContainer.h
1
#pragma once
2
3
#include "
BaseObject.h
"
4
5
6
namespace
sw
7
{
8
9
// ================================ //
10
//
11
class
PolymorphicObjectContainer
12
{
13
public
:
14
15
BaseObject
* ObjectPtr;
16
17
public
:
18
19
// ================================ //
20
//
21
explicit
PolymorphicObjectContainer
()
22
: ObjectPtr(
nullptr
)
23
{}
24
25
// ================================ //
26
//
27
~
PolymorphicObjectContainer
()
28
{
29
delete
ObjectPtr;
30
}
31
32
};
33
34
35
}
// sw
36
sw
Definition:
Exception.h:11
sw::PolymorphicObjectContainer
Definition:
PolymorphicObjectContainer.h:11
sw::BaseObject
Definition:
BaseObject.h:21
BaseObject.h
Generated on Thu May 31 2018 19:56:00 for Sleeping Wombat Common Library by
1.8.9.1