dca_interface
6.3.4
|
Contents of the DCA Base Package.
Classes | |
class | dca::Categories |
Definition of a container class for Category objects. More... | |
struct | dca::CategoriesInfoInitData |
Initialization struct that defines where to find the associated Categories, Groups and Locales definitions. More... | |
class | dca::CategoriesInfo |
A container class that allows access to the contained Categories, Groups and Locales. More... | |
class | dca::Category |
Encapsulates a category as defined in the categories XML schema (see Categories XML: Categories). More... | |
class | dca::FunctionResult |
Standard function result. More... | |
class | dca::ExDca |
Exception class used in the DCA. More... | |
struct | dca::InitData |
This structure is used to initialize the DcaInstance. More... | |
struct | dca::ProxySettings |
If you are using one or more proxy servers set up this structure and use it for e.g. the creation of a DbConnection. More... | |
class | dca::DcaInstance |
Encapsulates the init and deinit of the DCA API. More... | |
class | dca::ScheduleEventSubscriberIntf |
An interface for schedule event notifications. Derive a class from this interface and implement onEvent() to receive notifications. More... | |
struct | dca::LicenseData |
Is used to create a License object. A license first must be created with DcaInstance::createLicense to initialize a classification module or a toolbox package. More... | |
class | dca::License |
Use a License to initialize a classification package or a toolbox package. More... | |
struct | dca::DbConnectionLocalData |
Stores the connection data for a local database. More... | |
struct | dca::DbConnectionCustomData |
Class to store the Database connection data for a custom database. More... | |
struct | dca::DbConnectionRemoteServerData |
Stores the remote server data for the connection to a remote database. More... | |
struct | dca::DbConnectionData |
Stores the connection data for a database. More... | |
struct | dca::DatabaseInformation |
Contains information about underlying database. More... | |
class | dca::DbConnection |
Database connection class for a local or remote database. More... | |
class | dca::UpdateModule |
The update module is used to download and install DCA content and engine updates. More... | |
class | dca::UpdateResults |
Encapsulates the results of an update process. More... | |
class | dca::UpdateResult |
Encapsulates one of the results of an update process. More... | |
class | dca::UpdateResultDetail |
Encapsulates the details of a result of an update process. More... | |
class | dca::Email |
Encapsulates an email object. More... | |
class | dca::Group |
Encapsulates a group as defined in the related categories XML schema (see Categories XML: Groups). More... | |
class | dca::Groups |
Definition of a container class for Group objects. More... | |
class | dca::HtmlText |
Encapsulates an HTML text object. More... | |
class | dca::Locale |
Encapsulation of a locale class, which allows access to the language id and the display name of locale definitions (see Categories XML: Locales). More... | |
class | dca::Locales |
Definition of a container class for Locale objects. More... | |
class | dca::OptionValue |
Generic encapsulation of a value used in Options objects. More... | |
class | dca::Options |
Generic option class, used to set up optional options for several classes, modules etc. More... | |
class | dca::Url |
Encapsulates a URL object. More... | |
class | dca::VersionInfoResultDetail |
Class that contains all details of a dca::VersionInfoResult object. More... | |
class | dca::VersionInfoResult |
Class that contains all details of type dca::VersionInfoResult object. More... | |
class | dca::VersionInfoResults |
Class that contains all version information of all initialized DCA modules. More... | |
Files | |
file | base_categories.h |
Container class for Category objects. | |
file | base_categoriesinfo.h |
Container class for Categories, Groups and Locales. | |
file | base_category.h |
Encapsulates a single Category as defined in the categories XML schema. | |
file | base_classes.h |
Package of shared base classes, functions and definitions. | |
file | base_defines.h |
Base definitions for the DCA. | |
file | base_email.h |
Creation of a base email object. | |
file | base_group.h |
Encapsulates a single Group as defined in the categories XML schema. | |
file | base_groups.h |
Container class for Group objects. | |
file | base_htmltext.h |
Creation of a base HTML text object. | |
file | base_locale.h |
Encapsulates a single Locale as defined in the categories XML schema. | |
file | base_locales.h |
Container class for Locale objects. | |
file | base_options.h |
Definitions for a generic DCA option class. | |
file | base_types.h |
Basic types definitions for the DCA. | |
file | base_url.h |
Creation of a base URL object. | |
file | base_versioninfo.h |
Classes used with dca::DcaInstance::getVersionInfo(). | |
Typedefs | |
typedef int | DCA_MODULE_ID_TYPE |
Type for module ids. | |
typedef char * | DCA_CATEGORIES_INFO_TYPE |
Type for CategoryInfo objects. | |
typedef int | DCA_CATEGORY_ID_TYPE |
Type for category ids. | |
typedef int | DCA_GROUP_ID_TYPE |
Type for group ids. | |
typedef int | DCA_ACTION_ID_TYPE |
Type for action ids. | |
typedef int | DCA_APPLICATION_ID_TYPE |
Type for application ids. | |
typedef int | DCA_TAG_ID_TYPE |
Type for tag ids. | |
typedef int | DCA_RESULT_TYPE |
Type for return codes. | |
typedef size_t | DCA_INDEX_TYPE |
Type for index access (used for arrays and collections). | |
typedef size_t | DCA_SIZE_TYPE |
Type for size (used for size of array and collections). | |
typedef int | DbType |
Type for DbConnection classes. | |
Enumerations | |
enum | dca::LogLevel { dca::LOG_Initial = -1, dca::LOG_Critical = 0, dca::LOG_Error = 1, dca::LOG_Warning = 2, dca::LOG_Notice = 3, dca::LOG_Info = 4, dca::LOG_Extensive = 5, dca::LOG_Debug = 6 } |
This enum is used in all setLogLevel() functions to change the verbosity level of the classes. More... | |
enum | dca::ScheduleActionType { dca::SAT_StartDbDownload = 0, dca::SAT_ProgressDbDownload, dca::SAT_StopDbDownload, dca::SAT_ErrorDbDownload, dca::SAT_StartDbMerge, dca::SAT_StopDbMerge, dca::SAT_ErrorDbMerge, dca::SAT_UserCancel } |
This defines the action type of a schedule event. More... | |
enum | dca::ScheduleModuleId { dca::SMI_UrlDb = 0, dca::SMI_MailDb, dca::SMI_CustomDb, dca::SMI_WacDb, dca::SMI_IprDb, dca::SMI_MalwareDb } |
This defines the module id of a schedule event. More... | |
enum dca::LogLevel |
This enum is used in all setLogLevel() functions to change the verbosity level of the classes.
If you do not change the value of the logging level of a class the LOG_Notice level is used. This means critical errors, common errors, warnings and important notices are logged out. Logging at level Info is more verbose and extensive is very verbose. Logging at debug level logs out all available information. Please note that logging may negatively impact the performance and may generate very large log files.
The DCA logs all output to a single log file dca_info.log located in the log folder specified when initializing your DcaInstance.
Changing the logging level of a class is not persistant, and each time the DCA restarts the level will be reset to LOG_Notice. To permanently change a logging level for a DCA module you may also change the related ini file keys.
Definition at line 212 of file base_classes.h.
This defines the action type of a schedule event.
SAT_StartDbDownload marks the start of a complete database download. This will be followed by either SAT_ProgressDbDownload to display the progress, SAT_StopDbDownload to signal a successful completion, SAT_ErrorDbDownload to signal that an error occured during the download, or SAT_UserCancel to indicate that the download operation was cancelled by the user.
SAT_StartDbMerge marks the start of a database merge operation. This will be followed by either SAT_StopDbMerge to indicate that the merge process finished successfully, SAT_ErrorDbMerge to signal that an error occured during the merge process, or SAT_UserCancel to indicate that the merge operation was cancelled by the user.
Definition at line 494 of file base_classes.h.
This defines the module id of a schedule event.
Definition at line 510 of file base_classes.h.