The OpenD Programming Language

FunctionInfo

.

struct FunctionInfo {
const(ReflectionInfo)* parentObject;
bool returnTypeIsDocument;
bool returnTypeIsElement;
bool requireHttps;
string genericContainerType;
}

Members

Variables

createForm
Document delegate(in string[string] args) createForm;

This is used if you want a custom form - normally, on insufficient parameters, an automatic form is created. But if there's a functionName_Form method, it is used instead. FIXME: this used to work but not sure if it still does

dispatcher
WrapperFunction dispatcher;

this is the actual function called when a request comes to it - it turns a string[]string into the actual args and formats the return value

name
string name;

the URL friendly name

originalName
string originalName;

the original name in code

parameters
Parameter[] parameters;

.

returnType
string returnType;

. static type to string

Meta