|
PACS System 0.1.0
PACS DICOM system library
|
Complete PACS server configuration. More...
#include <config.h>

Static Public Member Functions | |
| static auto | parse_args (int argc, char *argv[]) -> std::optional< pacs_server_config > |
| Parse configuration from command line arguments. | |
| static void | print_help () |
| Print help message to stdout. | |
Public Attributes | |
| server_network_config | server |
| Server network settings. | |
| storage_config | storage |
| Storage settings. | |
| database_config | database |
| Database settings. | |
| logging_config | logging |
| Logging settings. | |
| access_control_config | access_control |
| Access control settings. | |
|
static |
Parse configuration from command line arguments.
Supported options: –port <port> Port to listen on (default: 11112) –ae-title <title> AE title (default: MY_PACS) –storage-dir <path> Storage directory (default: ./archive) –db-path <path> Database path (default: ./pacs.db) –log-level <level> Log level (default: info) –max-associations <n> Max concurrent associations (default: 50) –help Show help message
| argc | Argument count |
| argv | Argument vector |
Definition at line 18 of file config.cpp.
Referenced by main().

|
static |
Print help message to stdout.
Definition at line 14 of file config.cpp.
| access_control_config kcenon::pacs::example::pacs_server_config::access_control |
Access control settings.
Definition at line 104 of file config.h.
Referenced by kcenon::pacs::example::pacs_server_app::setup_server().
| database_config kcenon::pacs::example::pacs_server_config::database |
Database settings.
Definition at line 98 of file config.h.
Referenced by kcenon::pacs::example::pacs_server_app::setup_database().
| logging_config kcenon::pacs::example::pacs_server_config::logging |
| server_network_config kcenon::pacs::example::pacs_server_config::server |
Server network settings.
Definition at line 92 of file config.h.
Referenced by kcenon::pacs::example::pacs_server_app::setup_server(), and kcenon::pacs::example::pacs_server_app::start().
| storage_config kcenon::pacs::example::pacs_server_config::storage |
Storage settings.
Definition at line 95 of file config.h.
Referenced by kcenon::pacs::example::pacs_server_app::setup_storage().