MeVisLab Toolbox 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 zero arguments. More...
struct  ml::ArgumentList1< Arg1 >
 ArgumentList with one argument. More...
struct  ml::ArgumentList2< Arg1, Arg2 >
 ArgumentList with two arguments. More...
struct  ml::ArgumentList3< Arg1, Arg2, Arg3 >
 ArgumentList with three arguments. More...
struct  ml::ArgumentList4< Arg1, Arg2, Arg3, Arg4 >
 ArgumentList with four arguments. More...
struct  ml::ArgumentList5< Arg1, Arg2, Arg3, Arg4, Arg5 >
 ArgumentList with five arguments. More...

Namespaces

namespace  ml
 Defines the class GetTileJob.

Functions

ArgumentList0 ml::MLGenerateArgumentList ()
 Creates argument list with zero arguments.
template<class Arg1>
ArgumentList1< Arg1 > ml::MLGenerateArgumentList (const Arg1 &arg1)
 Create argument list with one argument.
template<class Arg1, class Arg2>
ArgumentList2< Arg1, Arg2 > ml::MLGenerateArgumentList (const Arg1 &arg1, const Arg2 &arg2)
 Creates argument list with two 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 three 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 four 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 five arguments.
template<class Object, class Method>
void ml::MLCallMethodWithArguments (Object *object, Method method, const ArgumentList0 &)
 Calls a method on given object with zero 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 one 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 two 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 three 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 four 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 five arguments.