UGDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
ugdk::base::GenericContainer< T, Loader_T > Class Template Reference

#include <genericcontainer.h>

Inheritance diagram for ugdk::base::GenericContainer< T, Loader_T >:
Inheritance graph
[legend]
Collaboration diagram for ugdk::base::GenericContainer< T, Loader_T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 GenericContainer ()
 GenericContainer (Loader_T loader)
virtual ~GenericContainer ()
void Insert (const std::string &tag, T val)
void Replace (const std::string &tag, T val)
bool Exists (const std::string &tag) const
T & Find (const std::string &tag)
virtual T & Load (const std::string &filepath, const std::string &tag)
 Warning: GenericContainer doesn't know how to actually load an object.

template<class T, class Loader_T = T (*) (const std::string&)>
class ugdk::base::GenericContainer< T, Loader_T >


Constructor & Destructor Documentation

template<class T , class Loader_T = T (*) (const std::string&)>
ugdk::base::GenericContainer< T, Loader_T >::GenericContainer ( ) [inline]
template<class T , class Loader_T = T (*) (const std::string&)>
ugdk::base::GenericContainer< T, Loader_T >::GenericContainer ( Loader_T  loader) [inline]
template<class T , class Loader_T = T (*) (const std::string&)>
virtual ugdk::base::GenericContainer< T, Loader_T >::~GenericContainer ( ) [inline, virtual]

Member Function Documentation

template<class T , class Loader_T = T (*) (const std::string&)>
bool ugdk::base::GenericContainer< T, Loader_T >::Exists ( const std::string &  tag) const [inline, virtual]
template<class T , class Loader_T = T (*) (const std::string&)>
T& ugdk::base::GenericContainer< T, Loader_T >::Find ( const std::string &  tag) [inline, virtual]
template<class T , class Loader_T = T (*) (const std::string&)>
void ugdk::base::GenericContainer< T, Loader_T >::Insert ( const std::string &  tag,
val 
) [inline, virtual]
template<class T , class Loader_T = T (*) (const std::string&)>
virtual T& ugdk::base::GenericContainer< T, Loader_T >::Load ( const std::string &  filepath,
const std::string &  tag 
) [inline, virtual]

Warning: GenericContainer doesn't know how to actually load an object.

Implements ugdk::base::ResourceContainer< T >.

template<class T , class Loader_T = T (*) (const std::string&)>
void ugdk::base::GenericContainer< T, Loader_T >::Replace ( const std::string &  tag,
val 
) [inline, virtual]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines