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

XML to DICOM Converter - DICOM Native XML PS3.19. More...

#include "kcenon/pacs/core/dicom_dictionary.h"
#include "kcenon/pacs/core/dicom_file.h"
#include "kcenon/pacs/core/dicom_tag_constants.h"
#include "kcenon/pacs/encoding/transfer_syntax.h"
#include "kcenon/pacs/encoding/vr_type.h"
#include <algorithm>
#include <cctype>
#include <cstdint>
#include <filesystem>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map>
#include <optional>
#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

XML to DICOM Converter - DICOM Native XML PS3.19.

Definition in file main.cpp.

Function Documentation

◆ main()

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

Definition at line 842 of file main.cpp.

842 {
843 options opts;
844
845 if (!parse_arguments(argc, argv, opts)) {
846 std::cout << R"(
847 __ ____ __ _ _____ ___ ____ ____ __ __
848 \ \/ / \/ | | |_ _|/ _ \ | _ \ / ___| \/ |
849 \ /| |\/| | | | | | | | | | | | | | | |\/| |
850 / \| | | | |___ | | | |_| | | |_| | |___| | | |
851 /_/\_\_| |_|_____| |_| \___/ |____/ \____|_| |_|
852
853 XML to DICOM Converter (PS3.19)
854)" << "\n";
855 print_usage(argv[0]);
856 return 1;
857 }
858
859 // Check if input path exists
860 if (!std::filesystem::exists(opts.input_path)) {
861 std::cerr << "Error: Input file does not exist: " << opts.input_path.string() << "\n";
862 return 2;
863 }