GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
MemoizeFunction< A > Class Template Reference

#include <Effect.hh>

Inheritance diagram for MemoizeFunction< A >:
Collaboration diagram for MemoizeFunction< A >:

Public Member Functions

 MemoizeFunction (int count, Function< int, A > &func)
A Index (int val) const
Public Member Functions inherited from Function< int, A >
virtual ~Function ()
virtual bool IsValid (I i) const=0

Additional Inherited Members

Public Types inherited from Function< int, A >
typedef int Domain
typedef A CoDomain
Public Attributes inherited from Function< int, A >
std::string funcsignature
std::string contents
std::vector< std::string > link
std::vector< std::pair< std::string, std::string > > dep

Constructor & Destructor Documentation

◆ MemoizeFunction()

template<class A>
MemoizeFunction< A >::MemoizeFunction ( int count,
Function< int, A > & func )
inline

Member Function Documentation

◆ Index()

template<class A>
A MemoizeFunction< A >::Index ( int val) const
inlinevirtual

Implements Function< int, A >.


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