DocWire SDK
DocWire SDK: Award-winning modern data processing in C++20. SourceForge Community Choice & Microsoft support. AI-driven processing. Supports nearly 100 data formats, including email boxes and OCR. Boost efficiency in text extraction, web data extraction, data mining, document analysis. Offline processing possible for security and confidentiality
safety_policy.h
1 /*********************************************************************************************************************************************/
2 /* DocWire SDK: Award-winning modern data processing in C++20. SourceForge Community Choice & Microsoft support. AI-driven processing. */
3 /* Supports nearly 100 data formats, including email boxes and OCR. Boost efficiency in text extraction, web data extraction, data mining, */
4 /* document analysis. Offline processing possible for security and confidentiality */
5 /* */
6 /* Copyright (c) SILVERCODERS Ltd, http://silvercoders.com */
7 /* Project homepage: https://github.com/docwire/docwire */
8 /* */
9 /* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-DocWire-Commercial */
10 /*********************************************************************************************************************************************/
11 
12 #ifndef DOCWIRE_SAFETY_POLICY_H
13 #define DOCWIRE_SAFETY_POLICY_H
14 
15 namespace docwire
16 {
17 
21 enum class safety_policy {
23  strict,
25  relaxed
26 };
27 using enum safety_policy;
28 constexpr inline safety_policy default_safety_level = strict;
29 
30 }
31 
32 #endif // DOCWIRE_SAFETY_POLICY_H
The main namespace for the DocWire SDK.
Definition: ai_elements.h:19
safety_policy
Defines the safety policy for operations.
Definition: safety_policy.h:21
@ strict
Perform runtime checks and throw exceptions on violations.
@ relaxed
Skip runtime checks for performance; undefined behavior on violations.