PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
main.cpp File Reference

get_scu - DICOM C-GET SCU utility (dcmtk-compatible) More...

#include "kcenon/pacs/core/dicom_dataset.h"
#include "kcenon/pacs/core/dicom_file.h"
#include "kcenon/pacs/core/dicom_tag.h"
#include "kcenon/pacs/core/dicom_tag_constants.h"
#include "kcenon/pacs/encoding/transfer_syntax.h"
#include "kcenon/pacs/encoding/vr_type.h"
#include "kcenon/pacs/network/association.h"
#include "kcenon/pacs/network/dimse/dimse_message.h"
#include "kcenon/pacs/services/retrieve_scp.h"
#include <algorithm>
#include <atomic>
#include <chrono>
#include <cstdlib>
#include <filesystem>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <regex>
#include <sstream>
#include <string>
#include <vector>
Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Detailed Description

get_scu - DICOM C-GET SCU utility (dcmtk-compatible)

Definition in file main.cpp.

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 961 of file main.cpp.

961 {
962 options opts;
963
964 if (!parse_arguments(argc, argv, opts)) {
965 if (!opts.show_help && !opts.show_version) {
966 std::cerr << "\nUse --help for usage information.\n";
967 return 2;
968 }
969 }
970
971 if (opts.show_version) {
972 print_version();
973 return 0;
974 }
975
976 if (opts.show_help) {
977 print_banner();
978 print_usage(argv[0]);
979 return 0;
980 }
981
982 if (!opts.quiet) {
983 print_banner();
984 }
985
986 return perform_get(opts);
987}