This class acts as a simple virtual container to store custom resources in Scope objects.
To do so, custom derived types would simply add a custom member object together with a virtual destructor that ensures that the member object(s) get rightfully deleted.
Instances of this type have to be created using the scope's allocator and are to be stored in in container Scope::NamedResources.
#include <scope.hpp>
Public Method Index: | |
virtual | ~ScopeResource () |
The virtual destructor needed for virtual types. | |
|
inlinevirtual |