1 #ifndef GPM_CompositorFunction_H
2 #define GPM_CompositorFunction_H
58 virtual SP::GPM_CompositorFunction
NewInstance()
const =0;
GPM_CompositorFunction(void)
create
Definition: GPM_CompositorFunction.h:37
virtual void copy(const GPM_CompositorFunction &cf)=0
copy a function
virtual tString getSignature() const =0
get the parameter signature of the function
virtual void moveUpParameter(const int &index)=0
move up the parameter
virtual void setName(const tString &name)=0
set the name of the function
virtual SP::GPM_CompositorFunction NewInstance() const =0
create a calculator
virtual tString getName() const =0
get the name of the function
#define tBoolean
Definition: types.h:35
DEFINE_SVPTR(GPM_CompositorFunction)
virtual tFlag getReturnType() const =0
get the retur ntype of the function
virtual void setReturnType(const tFlag &retType)=0
set the retrun type of the function
This class describes a compositor function used in rules.
Definition: GPM_CompositorFunction.h:18
virtual tBoolean isConstParameter(const int &i) const =0
get the modified type of the i-th parameter of the function
virtual int getParameter(const tString &name) const =0
get the parameter index with name
virtual tString getParameterName(const int &i) const =0
get the name of the i-th parameter of the function
virtual tFlag getParameterType(const int &i) const =0
get the type of the i-th parameter of the function
virtual void setBody(const tString &body)=0
set the body of the function
#define tString
Definition: types.h:36
virtual tString getBody() const =0
get the body of the function
virtual ~GPM_CompositorFunction(void)
destroy
Definition: GPM_CompositorFunction.h:47
virtual void parse(const tString &signature)=0
parse the function definition
virtual int getParametersNumber() const =0
get the number of parameters of the function
virtual tBoolean doParameterExist(const tString &parName) const =0
return true if the parameter with name already exists
virtual void moveDownParameter(const int &index)=0
move down the parameter
This class is the base class of all graph classes.
Definition: GPM_Object.h:17
virtual tFlag getParameterMultiplicity(const int &i) const =0
get the cardinality of the i-th parameter of the function
virtual int addParameter(const tString &name, const tFlag &tye, const tFlag &card, const tBoolean &isConst)=0
add a parameter of the function
DEFINE_SPTR(GPM_CompositorFunction)
virtual void removeParameter(const int &index)=0
remove the parameter at index of the function
#define tFlag
Definition: types.h:14