LILAC
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
retrieve_wrapper Class Reference

Pointer wrapper to ensure type-safety in the retrieve function, while removing the need for a template in the rest of the code. More...

#include <retrieve_checker.hpp>

Inheritance diagram for retrieve_wrapper:
Inheritance graph
[legend]

Public Member Functions

virtual void check_and_get_type (const std::type_info &type, void *inval)=0
virtual void check_and_get_type (item *inval)=0
virtual void * get_ptr ()=0
virtual ~retrieve_wrapper ()

Detailed Description

Pointer wrapper to ensure type-safety in the retrieve function, while removing the need for a template in the rest of the code.

Definition at line 80 of file retrieve_checker.hpp.

Constructor & Destructor Documentation

virtual retrieve_wrapper::~retrieve_wrapper ( )
inlinevirtual

Definition at line 87 of file retrieve_checker.hpp.

Member Function Documentation

virtual void retrieve_wrapper::check_and_get_type ( const std::type_info &  type,
void *  inval 
)
pure virtual

Implemented in __retrieve_checker< T >.

virtual void retrieve_wrapper::check_and_get_type ( item inval)
pure virtual

Implemented in __retrieve_checker< T >.

virtual void* retrieve_wrapper::get_ptr ( )
pure virtual

Implemented in __retrieve_checker< T >.


The documentation for this class was generated from the following file: