ML Reference
mlArgumentList.h File Reference
#include "mlUtilsSystem.h"

Go to the source code of this file.

Classes

struct  ml::ArgumentList0
 Empty argument to allow running with 0 arguments. More...
 
struct  ml::ArgumentList1< Arg1 >
 ArgumentList with 1 argument. More...
 
struct  ml::ArgumentList2< Arg1, Arg2 >
 ArgumentList with 2 arguments. More...
 
struct  ml::ArgumentList3< Arg1, Arg2, Arg3 >
 ArgumentList with 3 arguments. More...
 
struct  ml::ArgumentList4< Arg1, Arg2, Arg3, Arg4 >
 ArgumentList with 4 arguments. More...
 
struct  ml::ArgumentList5< Arg1, Arg2, Arg3, Arg4, Arg5 >
 ArgumentList with 5 arguments. More...
 

Namespaces

namespace  ml
 Main documentation file for ML users and developers.
 

Functions

ArgumentList0 ml::MLGenerateArgumentList ()
 Creates argument list with 0 arguments.
 
template<class Arg1 >
ArgumentList1< Arg1 > ml::MLGenerateArgumentList (const Arg1 &arg1)
 Create argument list with 1 argument.
 
template<class Arg1 , class Arg2 >
ArgumentList2< Arg1, Arg2 > ml::MLGenerateArgumentList (const Arg1 &arg1, const Arg2 &arg2)
 Creates argument list with 2 arguments.
 
template<class Arg1 , class Arg2 , class Arg3 >
ArgumentList3< Arg1, Arg2, Arg3 > ml::MLGenerateArgumentList (const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3)
 Creates argument list with 3 arguments.
 
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 >
ArgumentList4< Arg1, Arg2, Arg3, Arg4 > ml::MLGenerateArgumentList (const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4)
 Creates argument list with 4 arguments.
 
template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
ArgumentList5< Arg1, Arg2, Arg3, Arg4, Arg5 > ml::MLGenerateArgumentList (const Arg1 &arg1, const Arg2 &arg2, const Arg3 &arg3, const Arg4 &arg4, const Arg5 &arg5)
 Creates argument list with 5 arguments.
 
template<class Object , class Method >
void ml::MLCallMethodWithArguments (Object *object, Method method, const ArgumentList0 &)
 Calls a method on given object with 0 arguments.
 
template<class Object , class Method , class Arg1 >
void ml::MLCallMethodWithArguments (Object *object, Method method, const ArgumentList1< Arg1 > &args)
 Calls a method on given object with 1 argument.
 
template<class Object , class Method , class Arg1 , class Arg2 >
void ml::MLCallMethodWithArguments (Object *object, Method method, const ArgumentList2< Arg1, Arg2 > &args)
 Calls a method on given object with 2 arguments.
 
template<class Object , class Method , class Arg1 , class Arg2 , class Arg3 >
void ml::MLCallMethodWithArguments (Object *object, Method method, const ArgumentList3< Arg1, Arg2, Arg3 > &args)
 Calls a method on given object with 3 arguments.
 
template<class Object , class Method , class Arg1 , class Arg2 , class Arg3 , class Arg4 >
void ml::MLCallMethodWithArguments (Object *object, Method method, const ArgumentList4< Arg1, Arg2, Arg3, Arg4 > &args)
 Calls a method on given object with 4 arguments.
 
template<class Object , class Method , class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 >
void ml::MLCallMethodWithArguments (Object *object, Method method, const ArgumentList5< Arg1, Arg2, Arg3, Arg4, Arg5 > &args)
 Calls a method on given object with 5 arguments.