#include <database.h>
A FunctionSettings object defines the IDs and behaviour of the stored function.
Public Member Functions | |
FunctionSettings () | |
MAXON_IMPLICIT | FunctionSettings (const String &id) |
MAXON_IMPLICIT | FunctionSettings (const String &action, const String &id) |
MAXON_IMPLICIT | FunctionSettings (const String &action, const String &id, Bool startup) |
Public Attributes | |
String | _functionID |
String | _actionID |
Bool | _errorExpected |
Bool | _startup |
FunctionSettings | ( | ) |
MAXON_IMPLICIT FunctionSettings | ( | const String & | id | ) |
Constructor creating function settings from the given Action ID.
[in] | id | The Action ID. |
MAXON_IMPLICIT FunctionSettings | ( | const String & | action, |
const String & | id | ||
) |
Constructor creating function settings from the given Action ID and function ID. The preferred way to create a FunctionSettings object.
[in] | action | The Action ID. |
[in] | id | The function ID. |
MAXON_IMPLICIT FunctionSettings | ( | const String & | action, |
const String & | id, | ||
Bool | startup | ||
) |
Constructor creating function settings from the given Action ID, function ID and startup status.
[in] | action | The Action ID. |
[in] | id | The function ID. |
[in] | startup | The startup status (true if this function can be called on start-up). |
String _functionID |
ID of the function.
String _actionID |
ID of the host action.
Bool _errorExpected |
true if this function is expected to return an error.
Bool _startup |
true if this function can be called on start-up (non-blocking, needs no active document etc.)