36 #ifndef _PRGBIND_PROGRAM_LIBRARY_HPP_INCLUDED
37 #define _PRGBIND_PROGRAM_LIBRARY_HPP_INCLUDED
virtual void defineProgramType(const ProgramR &prg)
Define a program type.
virtual const types::NormalizeFunction * getNormalizeFunction(const std::string &name) const
Get a normalizer function by name.
Class of basic normalization functions instantiated by arguments.
Definition: normalizeFunction.hpp:81
virtual void defineCppFormFunction(const std::string &name, const serialize::CppFormFunction &f)
Define a C++ form function.
virtual void defineCustomDataType(const std::string &name, const types::CustomDataTypeR &t)
Define a custom data type.
boost::shared_ptr< AuditFunction > AuditFunctionR
shared ownership reference on an auditing function
Definition: auditFunction.hpp:53
virtual const types::NormalizeFunctionType * getNormalizeFunctionType(const std::string &name) const
Get a normalization function type defined by name.
boost::shared_ptr< DDLCompiler > DDLCompilerR
Reference to a DDL compiler.
Definition: ddlCompilerInterface.hpp:74
Interface of the authorization function.
Normalize function definition.
virtual void defineNormalizeFunction(const std::string &name, const types::NormalizeFunctionR &f) const
Define a normalization function.
Custom data type interface for variant.
Definition of language runtime environment.
virtual void defineForm(const std::string &name, const types::FormDescriptionR &f)
Define a form.
virtual const types::NormalizeFunctionMap * formtypemap() const
Get the map for DDLs to map types to normalizer call sequences.
boost::shared_ptr< Program > ProgramR
Definition: program.hpp:81
virtual const types::FormDescription * getFormDescription(const std::string &name) const
Get a form description.
Interface of a an authorization function.
Definition: authorizationFunction.hpp:51
virtual void defineFormFunction(const std::string &name, const langbind::FormFunctionR &f)
Define an ordinary form function.
Impl * m_impl
Definition: programLibrary.hpp:124
virtual void definePrivateForm(const types::FormDescriptionR &f)
Define a form structure that is referenced as unexpanded indirection.
boost::shared_ptr< CustomDataType > CustomDataTypeR
Definition: customDataType.hpp:202
virtual const langbind::AuditFunction * getAuditFunction(const std::string &name) const
Get an audit function by name.
boost::shared_ptr< RuntimeEnvironment > RuntimeEnvironmentR
Shared ownership reference to a runtime environment.
Definition: runtimeEnvironment.hpp:65
ProgramLibrary()
Default constructor.
Structure defining a type of a filter (used as virtual constructor to create filter instances) ...
Definition: filter.hpp:111
Basic normalization function for atomic values (variant type)
Definition: normalizeFunction.hpp:52
Interface for programs loaded by the processor provider.
boost::shared_ptr< FilterType > FilterTypeR
Definition: filter.hpp:133
virtual void defineAuthorizationFunction(const std::string &name, const langbind::AuthorizationFunctionR &f)
Define an authorization function.
virtual void defineFilterType(const std::string &name, const langbind::FilterTypeR &f)
Define a filter type.
virtual void defineRuntimeEnvironment(const langbind::RuntimeEnvironmentR &env)
Define a runtime environment.
Defines the compiler interface for definition languages (DDL) used for specifying forms...
virtual void defineFormDDL(const langbind::DDLCompilerR &c)
Define a data definition language.
virtual void loadPrograms(db::Database *transactionDB, const std::vector< std::string > &filenames)
Load all programs passed in 'filenames'.
boost::shared_ptr< FormFunction > FormFunctionR
Shared form function interface.
Definition: formFunction.hpp:90
Custom Data Type Definition.
Definition: customDataType.hpp:105
virtual const langbind::FormFunction * getFormFunction(const std::string &name) const
Get a form function by name.
virtual std::vector< std::string > getFormNames() const
Get the list of all forms defined.
boost::shared_ptr< FormDescription > FormDescriptionR
Definition: form.hpp:125
boost::shared_ptr< AuthorizationFunction > AuthorizationFunctionR
shared ownership reference of an authorization function
Definition: authorizationFunction.hpp:77
Interface of a an auditing function as special form function.
Definition: auditFunction.hpp:44
virtual const types::CustomDataType * getCustomDataType(const std::string &name) const
Get a custom data type defined by name.
Wolframe base database class.
Class representing the program library with all programs loaded.
Definition: programLibrary.hpp:59
virtual void defineNormalizeFunctionType(const std::string &name, const types::NormalizeFunctionType &ftype)
Define a normalization function type.
Map of basic normalization functions for atomic values (variant type)
Definition: normalizeFunction.hpp:114
virtual ~ProgramLibrary()
Destructor.
virtual const langbind::FilterType * getFilterType(const std::string &name) const
Get a filter type by name.
Base class for database interface. All databases should provide this interface.
Definition: database.hpp:50
boost::shared_ptr< NormalizeFunction > NormalizeFunctionR
Shared ownership reference to normalization function for atomic values (variant type) ...
Definition: normalizeFunction.hpp:62
virtual void defineAuditFunction(const std::string &name, const langbind::AuditFunctionR &f)
Define an audit function.
virtual const langbind::AuthorizationFunction * getAuthorizationFunction(const std::string &name) const
Get an authorization function by name.
Interface for filter class.
Interface of auditing functions.