|
DCMTK
Version 3.6.2
OFFIS DICOM Toolkit
|
Configuration class for the Softcopy Presentation State viewer. More...
Inheritance diagram for DVConfiguration:Public Member Functions | |
| DVConfiguration (const char *config_file=NULL) | |
| constructor. More... | |
| virtual | ~DVConfiguration () |
| destructor. | |
| Uint32 | getNumberOfTargets (DVPSPeerType peerType=DVPSE_storage) |
| returns the number of communication partners (send targets) in the configuration file. More... | |
| const char * | getTargetID (Uint32 idx, DVPSPeerType peerType=DVPSE_storage) |
| returns the target identifier of the communication partner with the given index. More... | |
| const char * | getTargetDescription (const char *targetID) |
| returns the DESCRIPTION entry for the communication partner with the given target ID from the configuration file. More... | |
| const char * | getTargetHostname (const char *targetID) |
| returns the HOSTNAME entry for the communication partner with the given target ID from the configuration file. More... | |
| unsigned short | getTargetPort (const char *targetID) |
| returns the PORT entry for the communication partner with the given target ID from the configuration file. More... | |
| DVPSPeerType | getTargetType (const char *targetID) |
| returns the TYPE entry for the communication partner with the given target ID from the configuration file. More... | |
| const char * | getTargetAETitle (const char *targetID) |
| returns the AETITLE entry for the communication partner with the given target ID from the configuration file. More... | |
| unsigned long | getTargetMaxPDU (const char *targetID) |
| returns the MAXPDU entry for the communication partner with the given target ID from the configuration file. More... | |
| Sint32 | getTargetTimeout (const char *targetID) |
| returns the TIMEOUT entry for the communication partner with the given target ID from the configuration file. More... | |
| OFBool | getTargetImplicitOnly (const char *targetID) |
| returns the IMPLICITONLY entry for the communication partner with the given target ID from the configuration file. More... | |
| OFBool | getTargetDisableNewVRs (const char *targetID) |
| returns the DISABLENEWVRS entry for the communication partner with the given target ID from the configuration file. More... | |
| OFBool | getTargetBitPreservingMode (const char *targetID) |
| returns the BITPRESERVINGMODE entry for the storage peer with the given target ID from the configuration file. More... | |
| OFBool | getTargetCorrectUIDPadding (const char *targetID) |
| returns the CORRECTUIDPADDING entry for the storage peer with the given target ID from the configuration file. More... | |
| OFBool | getTargetUseTLS (const char *targetID) |
| returns the USETLS entry for the storage peer with the given target ID from the configuration file. More... | |
| const char * | getTargetCertificate (const char *targetID) |
| returns the CERTIFICATE entry for the storage peer with the given target ID from the configuration file. More... | |
| const char * | getTargetPrivateKey (const char *targetID) |
| returns the PRIVATEKEY entry for the storage peer with the given target ID from the configuration file. More... | |
| const char * | getTargetPrivateKeyPassword (const char *targetID) |
| returns the PRIVATEKEYPASSWORD entry for the storage peer with the given target ID from the configuration file. More... | |
| Uint32 | getTargetNumberOfCipherSuites (const char *targetID) |
| returns the number of distinct values (separated by backslash characters) in the CIPHERSUITES entry for the storage peer with the given target ID from the configuration file. More... | |
| const char * | getTargetCipherSuite (const char *targetID, Uint32 idx, OFString &value) |
| returns one value from the CIPHERSUITES entry for the storage peer with the given target ID from the configuration file. More... | |
| DVPSCertificateVerificationType | getTargetPeerAuthentication (const char *targetID) |
| returns the PEERAUTHENTICATION entry for the communication partner with the given target ID from the configuration file. More... | |
| const char * | getTargetDiffieHellmanParameters (const char *targetID) |
| returns the DIFFIEHELLMANPARAMETERS entry for the storage peer with the given target ID from the configuration file. More... | |
| const char * | getTargetRandomSeed (const char *targetID) |
| returns the RANDOMSEED entry for the storage peer with the given target ID from the configuration file. More... | |
| OFBool | getTargetPrinterSupportsPresentationLUT (const char *targetID) |
| returns the SUPPORTSPRESENTATIONLUT entry for the printer with the given target ID from the configuration file. More... | |
| OFBool | getTargetPrinterPresentationLUTMatchRequired (const char *targetID) |
| returns the PRESENTATIONLUTMATCHREQUIRED entry for the printer with the given target ID from the configuration file. More... | |
| OFBool | getTargetPrinterPresentationLUTPreferSCPRendering (const char *targetID) |
| returns the PRESENTATIONLUTPREFERSCPRENDERING entry for the printer with the given target ID from the configuration file. More... | |
| OFBool | getTargetPrinterPresentationLUTinFilmSession (const char *targetID) |
| returns the PRESENTATIONLUTINFILMSESSION entry for the printer with the given target ID from the configuration file. More... | |
| OFBool | getTargetPrinterSupports12BitTransmission (const char *targetID) |
| returns the SUPPORTS12BIT entry for the printer with the given target ID from the configuration file. More... | |
| OFBool | getTargetPrinterSupportsRequestedImageSize (const char *targetID) |
| returns the SUPPORTSIMAGESIZE entry for the printer with the given target ID from the configuration file. More... | |
| OFBool | getTargetPrinterSupportsDecimateCrop (const char *targetID) |
| returns the SUPPORTSDECIMATECROP entry for the printer with the given target ID from the configuration file. More... | |
| OFBool | getTargetPrinterSupportsTrim (const char *targetID) |
| returns the SUPPORTSTRIM entry for the printer with the given target ID from the configuration file. More... | |
| Uint32 | getTargetPrinterNumberOfBorderDensities (const char *targetID) |
| returns the number of distinct values (separated by backslash characters) in the BORDERDENSITY entry for the printer with the given target ID from the configuration file. More... | |
| const char * | getTargetPrinterBorderDensity (const char *targetID, Uint32 idx, OFString &value) |
| returns one value from the BORDERDENSITY entry for the printer with the given target ID from the configuration file. More... | |
| Uint32 | getTargetPrinterNumberOfMaxDensities (const char *targetID) |
| returns the number of distinct values (separated by backslash characters) in the MAXDENSITY entry for the printer with the given target ID from the configuration file. More... | |
| const char * | getTargetPrinterMaxDensity (const char *targetID, Uint32 idx, OFString &value) |
| returns one value from the MAXDENSITY entry for the printer with the given target ID from the configuration file. More... | |
| Uint32 | getTargetPrinterNumberOfMinDensities (const char *targetID) |
| returns the number of distinct values (separated by backslash characters) in the MINDENSITY entry for the printer with the given target ID from the configuration file. More... | |
| const char * | getTargetPrinterMinDensity (const char *targetID, Uint32 idx, OFString &value) |
| returns one value from the MINDENSITY entry for the printer with the given target ID from the configuration file. More... | |
| Uint32 | getTargetPrinterNumberOfPortraitDisplayFormats (const char *targetID) |
| returns the number of distinct values (separated by backslash characters) in the DISPLAYFORMAT entry for the printer with the given target ID from the configuration file. More... | |
| Uint32 | getTargetPrinterPortraitDisplayFormatRows (const char *targetID, Uint32 idx) |
| returns one row value from the DISPLAYFORMAT entry for the printer with the given target ID from the configuration file. More... | |
| Uint32 | getTargetPrinterPortraitDisplayFormatColumns (const char *targetID, Uint32 idx) |
| returns one columns value from the DISPLAYFORMAT entry for the printer with the given target ID from the configuration file. More... | |
| OFBool | getTargetPrinterSupportsAnnotation (const char *targetID) |
| returns OFTrue if an ANNOTATION entry for the printer with the given target ID from the configuration file exists or if the SESSIONLABELANNOTATION flag is true for the printer. More... | |
| OFBool | getTargetPrinterSupportsAnnotationBoxSOPClass (const char *targetID) |
| returns OFTrue if an ANNOTATION entry for the printer with the given target ID from the configuration file exists. More... | |
| OFBool | getTargetPrinterSessionLabelAnnotation (const char *targetID) |
| returns OFTrue if an SESSIONLABELANNOTATION entry for the printer with the given target ID from the configuration file exists and is true. More... | |
| const char * | getTargetPrinterAnnotationDisplayFormatID (const char *targetID, OFString &value) |
| returns the second value from the ANNOTATION entry for the printer with the given target ID from the configuration file. More... | |
| Uint16 | getTargetPrinterAnnotationPosition (const char *targetID) |
| returns the first value from the ANNOTATION entry for the printer with the given target ID from the configuration file. More... | |
| Uint32 | getTargetPrinterNumberOfFilmSizeIDs (const char *targetID) |
| returns the number of distinct values (separated by backslash characters) in the FILMSIZEID entry for the printer with the given target ID from the configuration file. More... | |
| const char * | getTargetPrinterFilmSizeID (const char *targetID, Uint32 idx, OFString &value) |
| returns one value from the FILMSIZEID entry for the printer with the given target ID from the configuration file. More... | |
| Uint32 | getTargetPrinterNumberOfMediumTypes (const char *targetID) |
| returns the number of distinct values (separated by backslash characters) in the MEDIUMTYPE entry for the printer with the given target ID from the configuration file. More... | |
| const char * | getTargetPrinterMediumType (const char *targetID, Uint32 idx, OFString &value) |
| returns one value from the MEDIUMTYPE entry for the printer with the given target ID from the configuration file. More... | |
| Uint32 | getTargetPrinterNumberOfFilmDestinations (const char *targetID) |
| returns the number of distinct values (separated by backslash characters) in the FILMDESTINATION entry for the printer with the given target ID from the configuration file. More... | |
| const char * | getTargetPrinterFilmDestination (const char *targetID, Uint32 idx, OFString &value) |
| returns one value from the FILMDESTINATION entry for the printer with the given target ID from the configuration file. More... | |
| Uint32 | getTargetPrinterNumberOfPrinterResolutionIDs (const char *targetID) |
| returns the number of distinct values (separated by backslash characters) in the RESOLUTIONID entry for the printer with the given target ID from the configuration file. More... | |
| const char * | getTargetPrinterResolutionID (const char *targetID, Uint32 idx, OFString &value) |
| returns one value from the RESOLUTIONID entry for the printer with the given target ID from the configuration file. More... | |
| Uint32 | getTargetPrinterNumberOfMagnificationTypes (const char *targetID) |
| returns the number of distinct values (separated by backslash characters) in the MAGNIFICATIONTYPE entry for the printer with the given target ID from the configuration file. More... | |
| const char * | getTargetPrinterMagnificationType (const char *targetID, Uint32 idx, OFString &value) |
| returns one value from the MAGNIFICATIONTYPE entry for the printer with the given target ID from the configuration file. More... | |
| Uint32 | getTargetPrinterNumberOfSmoothingTypes (const char *targetID) |
| returns the number of distinct values (separated by backslash characters) in the SMOOTHINGTYPE entry for the printer with the given target ID from the configuration file. More... | |
| const char * | getTargetPrinterSmoothingType (const char *targetID, Uint32 idx, OFString &value) |
| returns one value from the SMOOTHINGTYPE entry for the printer with the given target ID from the configuration file. More... | |
| Uint32 | getTargetPrinterNumberOfConfigurationSettings (const char *targetID) |
| returns the number of distinct values in the CONFIGURATION_x entries for the printer with the given target ID from the configuration file. More... | |
| const char * | getTargetPrinterConfigurationSetting (const char *targetID, Uint32 idx) |
| returns the value from one of the CONFIGURATION_x entries for the printer with the given target ID from the configuration file. More... | |
| Uint32 | getTargetPrinterNumberOfEmptyImageDensities (const char *targetID) |
| returns the number of distinct values (separated by backslash characters) in the EMPTYIMAGEDENSITY entry for the printer with the given target ID from the configuration file. More... | |
| const char * | getTargetPrinterEmptyImageDensity (const char *targetID, Uint32 idx, OFString &value) |
| returns one value from the EMPTYIMAGEDENSITY entry for the printer with the given target ID from the configuration file. More... | |
| OFBool | getTargetPrintSCPOmitSOPClassUIDFromCreateResponse (const char *targetID) |
| returns the OMITSOPCLASSUIDFROMCREATERESPONSE entry for the printer with the given target ID from the configuration file. More... | |
| const char * | getLogFolder () |
| returns the directory used to store log files. More... | |
| const char * | getLogFile () |
| returns the name of the log file to be used for general application messages. More... | |
| OFLogger::LogLevel | getLogLevel () |
| returns the log level / filter to be used for general application messages. More... | |
| unsigned short | getMessagePort () |
| returns the port on which the GUI application accepts notification messages from the network processes. More... | |
| OFBool | getMessagePortKeepOpen () |
| Indicates whether client processes are allowed to keep their notification message port open during the lifetime of the process. More... | |
| const char * | getNetworkAETitle () |
| returns the AETitle with which this application should identify itself. More... | |
| OFBool | getQueryRetrieveAutoCreateConfigFile () |
| returns the AUTOCREATECONFIGFILE entry for the query/retrieve server from the section GENERAL/QUERY_RETRIEVE in the config file. More... | |
| const char * | getQueryRetrieveAETitle () |
| returns the AETitle with which the Q/R server should identify itself. More... | |
| unsigned short | getQueryRetrievePort () |
| returns the PORT entry for the Q/R server from the section GENERAL/QUERY_RETRIEVE in the config file. More... | |
| unsigned long | getQueryRetrieveMaxPDU () |
| returns the MAXPDU entry for the Q/R server from the section GENERAL/QUERY_RETRIEVE in the config file. More... | |
| Sint32 | getQueryRetrieveTimeout () |
| returns the TIMEOUT entry for the the Q/R server from the section GENERAL/QUERY_RETRIEVE in the config file. More... | |
| unsigned long | getQueryRetrieveMaxAssociations () |
| returns the MaxAssociations entry for the Q/R server from the section GENERAL/QUERY_RETRIEVE in the config file. More... | |
| const char * | getDatabaseFolder () |
| returns the database folder to be used for sending/receiving/browsing. More... | |
| const char * | getSpoolFolder () |
| returns the spool folder to be used for print jobs. More... | |
| OFBool | getDetailedLog () |
| returns the DETAILEDLOG entry from the section GENERAL/PRINT in the config file. More... | |
| OFBool | getBinaryLog () |
| returns the BINARYLOG entry from the section GENERAL/PRINT in the config file. More... | |
| const char * | getSenderName () |
| returns the filename (path) of the DICOM Store SCU application used for sending images, as configured in section GENERAL/NETWORK/SENDER in the config file. More... | |
| const char * | getReceiverName () |
| returns the filename (path) of the DICOM Store SCP application used for receiving images, as configured in section GENERAL/NETWORK/RECEIVER in the config file. More... | |
| const char * | getQueryRetrieveServerName () |
| returns the filename (path) of the DICOM Query/Retrieve SCP application, as configured in section GENERAL/QUERY_RETRIEVE/SERVER in the config file. More... | |
| const char * | getSpoolerName () |
| returns the filename (path) of the DICOM Print SCU application used for printing images, as configured in section GENERAL/PRINT/SPOOLER in the config file. More... | |
| const char * | getPrintServerName () |
| returns the filename (path) of the DICOM Print SCU application used for printing images, as configured in section GENERAL/PRINT/Server in the config file. More... | |
| const char * | getDumpToolName () |
| returns the filename (path) of the application used for dumping DICOM objects, as configured in section GENERAL/DATABASE/DUMP in the config file. More... | |
| const char * | getCheckToolName () |
| returns the filename (path) of the application used for dumping DICOM objects, as configured in section GENERAL/DATABASE/CHECK in the config file. More... | |
| unsigned long | getSpoolerSleep () |
| returns the sleep delay for the print spooler in seconds, as configured in section GENERAL/PRINT/SLEEP in the config file. More... | |
| OFBool | getSpoolerDeletePrintJobs () |
| returns the DELETEPRINTJOBS entry for the print spooler from the section GENERAL/PRINT in the config file. More... | |
| OFBool | getSpoolerAlwaysDeleteTerminateJobs () |
| returns the ALWAYSDELETETERMINATEJOBS entry for the print spooler from the section GENERAL/PRINT in the config file. More... | |
| const char * | getMonitorCharacteristicsFile () |
| returns the filename (path) of the monitor characteristics file used to implement that Barten transform, as configured in section GENERAL/MONITOR/CHARACTERISTICS in the config file. More... | |
| double | getMonitorPixelWidth () |
| returns the width (in mm) of one pixel on the current monitor More... | |
| double | getMonitorPixelHeight () |
| returns the height (in mm) of one pixel on the current monitor More... | |
| Uint32 | getMaxPreviewResolutionX () |
| returns the maximum horizontal preview image resolution, from GENERAL/MONITOR/PREVIEW in the config file. More... | |
| Uint32 | getMaxPreviewResolutionY () |
| returns the maximum vertical preview image resolution, from GENERAL/MONITOR/PREVIEW in the config file. More... | |
| const char * | getGUIConfigEntry (const char *key) |
| returns the value of configuration file entry key=value in the section GENERAL/GUI of the config file. More... | |
| OFBool | getGUIConfigEntryBool (const char *key, OFBool dfl) |
| returns the value of configuration file entry key=value in the section GENERAL/GUI of the config file. More... | |
| const char * | getLUTFolder () |
| returns the folder to be used for Print Presentation LUTs. More... | |
| const char * | getReportFolder () |
| returns the folder to be used for Structured Reporting "templates". More... | |
| Uint32 | getNumberOfLUTs () |
| returns the number of Presentation LUTs in the configuration file. More... | |
| const char * | getLUTID (Uint32 idx) |
| returns the identifier of the Presentation LUT with the given index. More... | |
| const char * | getLUTDescription (const char *lutID) |
| returns the DESCRIPTION entry for the LUT with the given ID from the configuration file. More... | |
| const char * | getLUTFilename (const char *lutID) |
| returns the FILENAME entry for the LUT with the given ID from the configuration file. More... | |
| Uint32 | getNumberOfReports () |
| returns the number of SR "templates" in the configuration file. More... | |
| const char * | getReportID (Uint32 idx) |
| returns the identifier of the SR "template" with the given index. More... | |
| const char * | getReportDescription (const char *reportID) |
| returns the DESCRIPTION entry for the SR "template" with the given ID from the configuration file. More... | |
| const char * | getReportFilename (const char *reportID) |
| returns the FILENAME entry for the SR "template" with the given ID from the configuration file. More... | |
| Uint32 | getMinPrintResolutionX () |
| returns the minimum horizontal bitmap resolution for print, from GENERAL/PRINT/MINPRINTRESOLUTION in the config file. More... | |
| Uint32 | getMinPrintResolutionY () |
| returns the minimum vertical bitmap resolution for print, from GENERAL/PRINT/MINPRINTRESOLUTION in the config file. More... | |
| Uint32 | getMaxPrintResolutionX () |
| returns the maximum horizontal bitmap resolution for print, from GENERAL/PRINT/MAXPRINTRESOLUTION in the config file. More... | |
| Uint32 | getMaxPrintResolutionY () |
| returns the maximum vertical bitmap resolution for print, from GENERAL/PRINT/MAXPRINTRESOLUTION in the config file. More... | |
| Uint16 | getDefaultPrintIllumination () |
| returns the default illumination for print, from GENERAL/PRINT/DEFAULTILLUMINATION in the config file. More... | |
| Uint16 | getDefaultPrintReflection () |
| returns the default reflection for print, from GENERAL/PRINT/DEFAULTREFLECTION in the config file. More... | |
| Uint32 | getNumberOfVOIPresets (const char *modality) |
| returns the number of VOI Presets defined for the given modality More... | |
| const char * | getVOIPresetDescription (const char *modality, Uint32 idx) |
| returns the description string for the given VOI Preset More... | |
| double | getVOIPresetWindowCenter (const char *modality, Uint32 idx) |
| returns the window center for the given VOI Preset More... | |
| double | getVOIPresetWindowWidth (const char *modality, Uint32 idx) |
| returns the window width for the given VOI Preset More... | |
| const char * | getTLSFolder () |
| returns the directory in which TLS related files (certificates, keys, random data, Diffie-Hellman parameters etc.) are located. More... | |
| const char * | getTLSCACertificateFolder () |
| returns the directory in which certificates of the trusted Certification Authorities are located. More... | |
| OFBool | getTLSPEMFormat () |
| returns the file format used for certificates, keys and Diffie-Hellman parameters. More... | |
| const char * | getUserCertificateFolder () |
| returns the directory in which user certificates and keys are located. More... | |
| Uint32 | getNumberOfUsers () |
| returns the number of configured users in the USERS section. More... | |
| const char * | getUserID (Uint32 idx) |
| returns the symbolic identifier of the user with the given index. More... | |
| const char * | getUserLogin (const char *userID) |
| returns the login for the given user. More... | |
| const char * | getUserName (const char *userID) |
| returns the human readable name for the given user. More... | |
| const char * | getUserDICOMName (const char *userID) |
| returns the name for the given user in DICOM Person Name (PN) format. More... | |
| const char * | getUserOrganization (const char *userID) |
| returns the organization for the given user. More... | |
| const char * | getUserCodingSchemeDesignator (const char *userID, OFString &value) |
| returns the coding scheme designator of the user code for the given user if present. More... | |
| const char * | getUserCodingSchemeVersion (const char *userID, OFString &value) |
| returns the coding scheme version of the user code for the given user if present. More... | |
| const char * | getUserCodeValue (const char *userID, OFString &value) |
| returns the code value of the user code for the given user if present. More... | |
| const char * | getUserCodeMeaning (const char *userID, OFString &value) |
| returns the code meaning of the user code for the given user if present. More... | |
| const char * | getUserCertificate (const char *userID) |
| returns the certificate file name for the given user. More... | |
| const char * | getUserPrivateKey (const char *userID) |
| returns the private key file name for the given user. More... | |
Private Member Functions | |
| DVConfiguration (const DVConfiguration &) | |
| private undefined copy constructor | |
| DVConfiguration & | operator= (const DVConfiguration &) |
| private undefined assignment operator | |
| const char * | getConfigEntry (const char *l2_key, const char *l1_key, const char *l0_key) |
| returns the entry with the given keys. More... | |
| OFBool | getConfigBoolEntry (const char *l2_key, const char *l1_key, const char *l0_key, OFBool deflt) |
| returns the entry with the given keys as bool. More... | |
Private Attributes | |
| OFConfigFile * | pConfig |
| pointer to the configuration file data if the configuration file was found. More... | |
Configuration class for the Softcopy Presentation State viewer.
This class manages the configuration file content used by the presentation state viewer.
| DVConfiguration::DVConfiguration | ( | const char * | config_file = NULL | ) |
constructor.
| config_file | filename (path) of the config file to be used. The caller should make sure that the config file really exists because the constructor cannot return an error status. If a non-existing filename (or NULL) is passed, an empty configuration file is assumed. |
| OFBool DVConfiguration::getBinaryLog | ( | ) |
returns the BINARYLOG entry from the section GENERAL/PRINT in the config file.
| const char* DVConfiguration::getCheckToolName | ( | ) |
returns the filename (path) of the application used for dumping DICOM objects, as configured in section GENERAL/DATABASE/CHECK in the config file.
|
private |
returns the entry with the given keys as bool.
| l2_key | level 2 key |
| l1_key | level 1 key |
| l0_key | level 0 key (entry name) |
| deflt | default to be returned if entry is not present or syntax error. |
|
private |
returns the entry with the given keys.
| l2_key | level 2 key |
| l1_key | level 1 key |
| l0_key | level 0 key (entry name) |
| const char* DVConfiguration::getDatabaseFolder | ( | ) |
returns the database folder to be used for sending/receiving/browsing.
Value is taken from the section GENERAL/DATABASE/DIRECTORY in the config file. If absent, a default value is returned.
| Uint16 DVConfiguration::getDefaultPrintIllumination | ( | ) |
returns the default illumination for print, from GENERAL/PRINT/DEFAULTILLUMINATION in the config file.
Default: 2000.
| Uint16 DVConfiguration::getDefaultPrintReflection | ( | ) |
returns the default reflection for print, from GENERAL/PRINT/DEFAULTREFLECTION in the config file.
Default: 10.
| OFBool DVConfiguration::getDetailedLog | ( | ) |
returns the DETAILEDLOG entry from the section GENERAL/PRINT in the config file.
| const char* DVConfiguration::getDumpToolName | ( | ) |
returns the filename (path) of the application used for dumping DICOM objects, as configured in section GENERAL/DATABASE/DUMP in the config file.
| const char* DVConfiguration::getGUIConfigEntry | ( | const char * | key | ) |
returns the value of configuration file entry key=value in the section GENERAL/GUI of the config file.
Specified key must be upper case. If the entry is absent, NULL is returned.
| key | the entry key |
returns the value of configuration file entry key=value in the section GENERAL/GUI of the config file.
Specified key must be upper case. If the entry is absent or cannot be parsed, the default dfl is returned.
| key | the entry key |
| dfl | the default to be used if the value is absent or incorrect |
| const char* DVConfiguration::getLogFile | ( | ) |
returns the name of the log file to be used for general application messages.
Value is taken from the section GENERAL/APPLICATION/LOGFILE in the config file.
| const char* DVConfiguration::getLogFolder | ( | ) |
returns the directory used to store log files.
Value is taken from the section GENERAL/APPLICATION/LOGDIRECTORY in the config file.
| OFLogger::LogLevel DVConfiguration::getLogLevel | ( | ) |
returns the log level / filter to be used for general application messages.
Value is taken from the section GENERAL/APPLICATION/LOGLEVEL in the config file.
| const char* DVConfiguration::getLUTDescription | ( | const char * | lutID | ) |
returns the DESCRIPTION entry for the LUT with the given ID from the configuration file.
| lutID | LUT ID, must be one of the identifiers returned by getLUTID(). |
| const char* DVConfiguration::getLUTFilename | ( | const char * | lutID | ) |
returns the FILENAME entry for the LUT with the given ID from the configuration file.
| lutID | LUT ID, must be one of the identifiers returned by getLUTID(). |
| const char* DVConfiguration::getLUTFolder | ( | ) |
returns the folder to be used for Print Presentation LUTs.
Value is taken from the section GENERAL/LUT/DIRECTORY in the config file. If absent, a default value is returned.
| const char* DVConfiguration::getLUTID | ( | Uint32 | idx | ) |
returns the identifier of the Presentation LUT with the given index.
The identifier is unique within the configuration file
| idx | index, must be < getNumberOfLUTs() |
| Uint32 DVConfiguration::getMaxPreviewResolutionX | ( | ) |
returns the maximum horizontal preview image resolution, from GENERAL/MONITOR/PREVIEW in the config file.
Default: 0.
| Uint32 DVConfiguration::getMaxPreviewResolutionY | ( | ) |
returns the maximum vertical preview image resolution, from GENERAL/MONITOR/PREVIEW in the config file.
Default: 0.
| Uint32 DVConfiguration::getMaxPrintResolutionX | ( | ) |
returns the maximum horizontal bitmap resolution for print, from GENERAL/PRINT/MAXPRINTRESOLUTION in the config file.
Default: 0.
| Uint32 DVConfiguration::getMaxPrintResolutionY | ( | ) |
returns the maximum vertical bitmap resolution for print, from GENERAL/PRINT/MAXPRINTRESOLUTION in the config file.
Default: 0.
| unsigned short DVConfiguration::getMessagePort | ( | ) |
returns the port on which the GUI application accepts notification messages from the network processes.
Value is taken from the section GENERAL/APPLICATION/MESSAGEPORT in the config file.
| OFBool DVConfiguration::getMessagePortKeepOpen | ( | ) |
Indicates whether client processes are allowed to keep their notification message port open during the lifetime of the process.
Value is taken from the section GENERAL/APPLICATION/KEEPMESSAGEPORTOPEN in the config file.
| Uint32 DVConfiguration::getMinPrintResolutionX | ( | ) |
returns the minimum horizontal bitmap resolution for print, from GENERAL/PRINT/MINPRINTRESOLUTION in the config file.
Default: 0.
| Uint32 DVConfiguration::getMinPrintResolutionY | ( | ) |
returns the minimum vertical bitmap resolution for print, from GENERAL/PRINT/MINPRINTRESOLUTION in the config file.
Default: 0.
| const char* DVConfiguration::getMonitorCharacteristicsFile | ( | ) |
returns the filename (path) of the monitor characteristics file used to implement that Barten transform, as configured in section GENERAL/MONITOR/CHARACTERISTICS in the config file.
| double DVConfiguration::getMonitorPixelHeight | ( | ) |
returns the height (in mm) of one pixel on the current monitor
| double DVConfiguration::getMonitorPixelWidth | ( | ) |
returns the width (in mm) of one pixel on the current monitor
| const char* DVConfiguration::getNetworkAETitle | ( | ) |
returns the AETitle with which this application should identify itself.
The AETitle is taken from the section GENERAL/NETWORK in the config file. If absent, a default value is returned.
| Uint32 DVConfiguration::getNumberOfLUTs | ( | ) |
returns the number of Presentation LUTs in the configuration file.
| Uint32 DVConfiguration::getNumberOfReports | ( | ) |
returns the number of SR "templates" in the configuration file.
| Uint32 DVConfiguration::getNumberOfTargets | ( | DVPSPeerType | peerType = DVPSE_storage | ) |
returns the number of communication partners (send targets) in the configuration file.
| peerType | defines a filter for the peer service type. Default: handle only storage peers. |
| Uint32 DVConfiguration::getNumberOfUsers | ( | ) |
returns the number of configured users in the USERS section.
| Uint32 DVConfiguration::getNumberOfVOIPresets | ( | const char * | modality | ) |
returns the number of VOI Presets defined for the given modality
| modality | Modality, e.g. "CT", "MR", "DX" etc. |
| const char* DVConfiguration::getPrintServerName | ( | ) |
returns the filename (path) of the DICOM Print SCU application used for printing images, as configured in section GENERAL/PRINT/Server in the config file.
| const char* DVConfiguration::getQueryRetrieveAETitle | ( | ) |
returns the AETitle with which the Q/R server should identify itself.
The AETitle is taken from the section GENERAL/QUERY_RETRIEVE in the config file. If absent, a default value is returned.
| OFBool DVConfiguration::getQueryRetrieveAutoCreateConfigFile | ( | ) |
returns the AUTOCREATECONFIGFILE entry for the query/retrieve server from the section GENERAL/QUERY_RETRIEVE in the config file.
| unsigned long DVConfiguration::getQueryRetrieveMaxAssociations | ( | ) |
returns the MaxAssociations entry for the Q/R server from the section GENERAL/QUERY_RETRIEVE in the config file.
| unsigned long DVConfiguration::getQueryRetrieveMaxPDU | ( | ) |
returns the MAXPDU entry for the Q/R server from the section GENERAL/QUERY_RETRIEVE in the config file.
| unsigned short DVConfiguration::getQueryRetrievePort | ( | ) |
returns the PORT entry for the Q/R server from the section GENERAL/QUERY_RETRIEVE in the config file.
| const char* DVConfiguration::getQueryRetrieveServerName | ( | ) |
returns the filename (path) of the DICOM Query/Retrieve SCP application, as configured in section GENERAL/QUERY_RETRIEVE/SERVER in the config file.
| Sint32 DVConfiguration::getQueryRetrieveTimeout | ( | ) |
returns the TIMEOUT entry for the the Q/R server from the section GENERAL/QUERY_RETRIEVE in the config file.
| const char* DVConfiguration::getReceiverName | ( | ) |
returns the filename (path) of the DICOM Store SCP application used for receiving images, as configured in section GENERAL/NETWORK/RECEIVER in the config file.
| const char* DVConfiguration::getReportDescription | ( | const char * | reportID | ) |
returns the DESCRIPTION entry for the SR "template" with the given ID from the configuration file.
| reportID | SR "template" ID, must be one of the identifiers returned by getReportID(). |
| const char* DVConfiguration::getReportFilename | ( | const char * | reportID | ) |
returns the FILENAME entry for the SR "template" with the given ID from the configuration file.
| reportID | SR "template" ID, must be one of the identifiers returned by getReportID(). |
| const char* DVConfiguration::getReportFolder | ( | ) |
returns the folder to be used for Structured Reporting "templates".
Value is taken from the section GENERAL/REPORT/DIRECTORY in the config file. If absent, a default value is returned.
| const char* DVConfiguration::getReportID | ( | Uint32 | idx | ) |
returns the identifier of the SR "template" with the given index.
The identifier is unique within the configuration file
| idx | index, must be < getNumberOfReports() |
| const char* DVConfiguration::getSenderName | ( | ) |
returns the filename (path) of the DICOM Store SCU application used for sending images, as configured in section GENERAL/NETWORK/SENDER in the config file.
| OFBool DVConfiguration::getSpoolerAlwaysDeleteTerminateJobs | ( | ) |
returns the ALWAYSDELETETERMINATEJOBS entry for the print spooler from the section GENERAL/PRINT in the config file.
| OFBool DVConfiguration::getSpoolerDeletePrintJobs | ( | ) |
returns the DELETEPRINTJOBS entry for the print spooler from the section GENERAL/PRINT in the config file.
| const char* DVConfiguration::getSpoolerName | ( | ) |
returns the filename (path) of the DICOM Print SCU application used for printing images, as configured in section GENERAL/PRINT/SPOOLER in the config file.
| unsigned long DVConfiguration::getSpoolerSleep | ( | ) |
returns the sleep delay for the print spooler in seconds, as configured in section GENERAL/PRINT/SLEEP in the config file.
| const char* DVConfiguration::getSpoolFolder | ( | ) |
returns the spool folder to be used for print jobs.
Value is taken from the section GENERAL/PRINT/DIRECTORY in the config file. If absent, a default value is returned.
| const char* DVConfiguration::getTargetAETitle | ( | const char * | targetID | ) |
returns the AETITLE entry for the communication partner with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID(). |
| OFBool DVConfiguration::getTargetBitPreservingMode | ( | const char * | targetID | ) |
returns the BITPRESERVINGMODE entry for the storage peer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID(). |
| const char* DVConfiguration::getTargetCertificate | ( | const char * | targetID | ) |
returns the CERTIFICATE entry for the storage peer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID(). |
| const char* DVConfiguration::getTargetCipherSuite | ( | const char * | targetID, |
| Uint32 | idx, | ||
| OFString & | value | ||
| ) |
returns one value from the CIPHERSUITES entry for the storage peer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID(). |
| idx | index of the value, must be < getTargetNumberOfCipherSuites(targetID) |
| value | the result is both stored in this object and returned as return value. |
| OFBool DVConfiguration::getTargetCorrectUIDPadding | ( | const char * | targetID | ) |
returns the CORRECTUIDPADDING entry for the storage peer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID(). |
| const char* DVConfiguration::getTargetDescription | ( | const char * | targetID | ) |
returns the DESCRIPTION entry for the communication partner with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID(). |
| const char* DVConfiguration::getTargetDiffieHellmanParameters | ( | const char * | targetID | ) |
returns the DIFFIEHELLMANPARAMETERS entry for the storage peer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID(). |
| OFBool DVConfiguration::getTargetDisableNewVRs | ( | const char * | targetID | ) |
returns the DISABLENEWVRS entry for the communication partner with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID(). |
| const char* DVConfiguration::getTargetHostname | ( | const char * | targetID | ) |
returns the HOSTNAME entry for the communication partner with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID(). |
| const char* DVConfiguration::getTargetID | ( | Uint32 | idx, |
| DVPSPeerType | peerType = DVPSE_storage |
||
| ) |
returns the target identifier of the communication partner with the given index.
The target identifier is unique within the configuration file
| idx | index, must be < getNumberOfTargets() |
| peerType | defines a filter for the peer service type. Default: handle only storage peers. |
| OFBool DVConfiguration::getTargetImplicitOnly | ( | const char * | targetID | ) |
returns the IMPLICITONLY entry for the communication partner with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID(). |
| unsigned long DVConfiguration::getTargetMaxPDU | ( | const char * | targetID | ) |
returns the MAXPDU entry for the communication partner with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID(). |
| Uint32 DVConfiguration::getTargetNumberOfCipherSuites | ( | const char * | targetID | ) |
returns the number of distinct values (separated by backslash characters) in the CIPHERSUITES entry for the storage peer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID(). |
| DVPSCertificateVerificationType DVConfiguration::getTargetPeerAuthentication | ( | const char * | targetID | ) |
returns the PEERAUTHENTICATION entry for the communication partner with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID(). |
| unsigned short DVConfiguration::getTargetPort | ( | const char * | targetID | ) |
returns the PORT entry for the communication partner with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID(). |
| const char* DVConfiguration::getTargetPrinterAnnotationDisplayFormatID | ( | const char * | targetID, |
| OFString & | value | ||
| ) |
returns the second value from the ANNOTATION entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| value | the result is both stored in this object and returned as return value. |
| Uint16 DVConfiguration::getTargetPrinterAnnotationPosition | ( | const char * | targetID | ) |
returns the first value from the ANNOTATION entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| const char* DVConfiguration::getTargetPrinterBorderDensity | ( | const char * | targetID, |
| Uint32 | idx, | ||
| OFString & | value | ||
| ) |
returns one value from the BORDERDENSITY entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| idx | index of the value, must be < getTargetPrinterNumberOfBorderDensities(targetID) |
| value | the result is both stored in this object and returned as return value. |
| const char* DVConfiguration::getTargetPrinterConfigurationSetting | ( | const char * | targetID, |
| Uint32 | idx | ||
| ) |
returns the value from one of the CONFIGURATION_x entries for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| idx | index of the value, must be < getTargetPrinterNumberOfConfigurationSettings(targetID) |
| const char* DVConfiguration::getTargetPrinterEmptyImageDensity | ( | const char * | targetID, |
| Uint32 | idx, | ||
| OFString & | value | ||
| ) |
returns one value from the EMPTYIMAGEDENSITY entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| idx | index of the value, must be < getTargetPrinterNumberOfEmptyImageDensities(targetID) |
| value | the result is both stored in this object and returned as return value. |
| const char* DVConfiguration::getTargetPrinterFilmDestination | ( | const char * | targetID, |
| Uint32 | idx, | ||
| OFString & | value | ||
| ) |
returns one value from the FILMDESTINATION entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| idx | index of the value, must be < getTargetPrinterNumberOfFilmDestinations(targetID) |
| value | the result is both stored in this object and returned as return value. |
| const char* DVConfiguration::getTargetPrinterFilmSizeID | ( | const char * | targetID, |
| Uint32 | idx, | ||
| OFString & | value | ||
| ) |
returns one value from the FILMSIZEID entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| idx | index of the value, must be < getTargetPrinterNumberOfFilmSizeIDs(targetID) |
| value | the result is both stored in this object and returned as return value. |
| const char* DVConfiguration::getTargetPrinterMagnificationType | ( | const char * | targetID, |
| Uint32 | idx, | ||
| OFString & | value | ||
| ) |
returns one value from the MAGNIFICATIONTYPE entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| idx | index of the value, must be < getTargetPrinterNumberOfMagnificationTypes(targetID) |
| value | the result is both stored in this object and returned as return value. |
| const char* DVConfiguration::getTargetPrinterMaxDensity | ( | const char * | targetID, |
| Uint32 | idx, | ||
| OFString & | value | ||
| ) |
returns one value from the MAXDENSITY entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| idx | index of the value, must be < getTargetPrinterNumberOfMaxDensities(targetID) |
| value | the result is both stored in this object and returned as return value. |
| const char* DVConfiguration::getTargetPrinterMediumType | ( | const char * | targetID, |
| Uint32 | idx, | ||
| OFString & | value | ||
| ) |
returns one value from the MEDIUMTYPE entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| idx | index of the value, must be < getTargetPrinterNumberOfMediumTypes(targetID) |
| value | the result is both stored in this object and returned as return value. |
| const char* DVConfiguration::getTargetPrinterMinDensity | ( | const char * | targetID, |
| Uint32 | idx, | ||
| OFString & | value | ||
| ) |
returns one value from the MINDENSITY entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| idx | index of the value, must be < getTargetPrinterNumberOfMinDensities(targetID) |
| value | the result is both stored in this object and returned as return value. |
| Uint32 DVConfiguration::getTargetPrinterNumberOfBorderDensities | ( | const char * | targetID | ) |
returns the number of distinct values (separated by backslash characters) in the BORDERDENSITY entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| Uint32 DVConfiguration::getTargetPrinterNumberOfConfigurationSettings | ( | const char * | targetID | ) |
returns the number of distinct values in the CONFIGURATION_x entries for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| Uint32 DVConfiguration::getTargetPrinterNumberOfEmptyImageDensities | ( | const char * | targetID | ) |
returns the number of distinct values (separated by backslash characters) in the EMPTYIMAGEDENSITY entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| Uint32 DVConfiguration::getTargetPrinterNumberOfFilmDestinations | ( | const char * | targetID | ) |
returns the number of distinct values (separated by backslash characters) in the FILMDESTINATION entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| Uint32 DVConfiguration::getTargetPrinterNumberOfFilmSizeIDs | ( | const char * | targetID | ) |
returns the number of distinct values (separated by backslash characters) in the FILMSIZEID entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| Uint32 DVConfiguration::getTargetPrinterNumberOfMagnificationTypes | ( | const char * | targetID | ) |
returns the number of distinct values (separated by backslash characters) in the MAGNIFICATIONTYPE entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| Uint32 DVConfiguration::getTargetPrinterNumberOfMaxDensities | ( | const char * | targetID | ) |
returns the number of distinct values (separated by backslash characters) in the MAXDENSITY entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| Uint32 DVConfiguration::getTargetPrinterNumberOfMediumTypes | ( | const char * | targetID | ) |
returns the number of distinct values (separated by backslash characters) in the MEDIUMTYPE entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| Uint32 DVConfiguration::getTargetPrinterNumberOfMinDensities | ( | const char * | targetID | ) |
returns the number of distinct values (separated by backslash characters) in the MINDENSITY entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| Uint32 DVConfiguration::getTargetPrinterNumberOfPortraitDisplayFormats | ( | const char * | targetID | ) |
returns the number of distinct values (separated by backslash characters) in the DISPLAYFORMAT entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| Uint32 DVConfiguration::getTargetPrinterNumberOfPrinterResolutionIDs | ( | const char * | targetID | ) |
returns the number of distinct values (separated by backslash characters) in the RESOLUTIONID entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| Uint32 DVConfiguration::getTargetPrinterNumberOfSmoothingTypes | ( | const char * | targetID | ) |
returns the number of distinct values (separated by backslash characters) in the SMOOTHINGTYPE entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| Uint32 DVConfiguration::getTargetPrinterPortraitDisplayFormatColumns | ( | const char * | targetID, |
| Uint32 | idx | ||
| ) |
returns one columns value from the DISPLAYFORMAT entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| idx | index of the value, must be < getTargetPrinterNumberOfPortraitDisplayFormats(targetID) |
| Uint32 DVConfiguration::getTargetPrinterPortraitDisplayFormatRows | ( | const char * | targetID, |
| Uint32 | idx | ||
| ) |
returns one row value from the DISPLAYFORMAT entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| idx | index of the value, must be < getTargetPrinterNumberOfPortraitDisplayFormats(targetID) |
| OFBool DVConfiguration::getTargetPrinterPresentationLUTinFilmSession | ( | const char * | targetID | ) |
returns the PRESENTATIONLUTINFILMSESSION entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| OFBool DVConfiguration::getTargetPrinterPresentationLUTMatchRequired | ( | const char * | targetID | ) |
returns the PRESENTATIONLUTMATCHREQUIRED entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| OFBool DVConfiguration::getTargetPrinterPresentationLUTPreferSCPRendering | ( | const char * | targetID | ) |
returns the PRESENTATIONLUTPREFERSCPRENDERING entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| const char* DVConfiguration::getTargetPrinterResolutionID | ( | const char * | targetID, |
| Uint32 | idx, | ||
| OFString & | value | ||
| ) |
returns one value from the RESOLUTIONID entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| idx | index of the value, must be < getTargetPrinterNumberOfPrinterResolutionIDs(targetID) |
| value | the result is both stored in this object and returned as return value. |
| OFBool DVConfiguration::getTargetPrinterSessionLabelAnnotation | ( | const char * | targetID | ) |
returns OFTrue if an SESSIONLABELANNOTATION entry for the printer with the given target ID from the configuration file exists and is true.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| const char* DVConfiguration::getTargetPrinterSmoothingType | ( | const char * | targetID, |
| Uint32 | idx, | ||
| OFString & | value | ||
| ) |
returns one value from the SMOOTHINGTYPE entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| idx | index of the value, must be < getTargetPrinterNumberOfSmoothingTypes(targetID) |
| value | the result is both stored in this object and returned as return value. |
| OFBool DVConfiguration::getTargetPrinterSupports12BitTransmission | ( | const char * | targetID | ) |
returns the SUPPORTS12BIT entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| OFBool DVConfiguration::getTargetPrinterSupportsAnnotation | ( | const char * | targetID | ) |
returns OFTrue if an ANNOTATION entry for the printer with the given target ID from the configuration file exists or if the SESSIONLABELANNOTATION flag is true for the printer.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| OFBool DVConfiguration::getTargetPrinterSupportsAnnotationBoxSOPClass | ( | const char * | targetID | ) |
returns OFTrue if an ANNOTATION entry for the printer with the given target ID from the configuration file exists.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| OFBool DVConfiguration::getTargetPrinterSupportsDecimateCrop | ( | const char * | targetID | ) |
returns the SUPPORTSDECIMATECROP entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| OFBool DVConfiguration::getTargetPrinterSupportsPresentationLUT | ( | const char * | targetID | ) |
returns the SUPPORTSPRESENTATIONLUT entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| OFBool DVConfiguration::getTargetPrinterSupportsRequestedImageSize | ( | const char * | targetID | ) |
returns the SUPPORTSIMAGESIZE entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| OFBool DVConfiguration::getTargetPrinterSupportsTrim | ( | const char * | targetID | ) |
returns the SUPPORTSTRIM entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| OFBool DVConfiguration::getTargetPrintSCPOmitSOPClassUIDFromCreateResponse | ( | const char * | targetID | ) |
returns the OMITSOPCLASSUIDFROMCREATERESPONSE entry for the printer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID() for peer type DVPSE_printerAny. |
| const char* DVConfiguration::getTargetPrivateKey | ( | const char * | targetID | ) |
returns the PRIVATEKEY entry for the storage peer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID(). |
| const char* DVConfiguration::getTargetPrivateKeyPassword | ( | const char * | targetID | ) |
returns the PRIVATEKEYPASSWORD entry for the storage peer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID(). |
| const char* DVConfiguration::getTargetRandomSeed | ( | const char * | targetID | ) |
returns the RANDOMSEED entry for the storage peer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID(). |
| Sint32 DVConfiguration::getTargetTimeout | ( | const char * | targetID | ) |
returns the TIMEOUT entry for the communication partner with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID(). |
| DVPSPeerType DVConfiguration::getTargetType | ( | const char * | targetID | ) |
returns the TYPE entry for the communication partner with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID(). |
| OFBool DVConfiguration::getTargetUseTLS | ( | const char * | targetID | ) |
returns the USETLS entry for the storage peer with the given target ID from the configuration file.
| targetID | communication target ID, must be one of the target identifiers returned by getTargetID(). |
| const char* DVConfiguration::getTLSCACertificateFolder | ( | ) |
returns the directory in which certificates of the trusted Certification Authorities are located.
| const char* DVConfiguration::getTLSFolder | ( | ) |
returns the directory in which TLS related files (certificates, keys, random data, Diffie-Hellman parameters etc.) are located.
| OFBool DVConfiguration::getTLSPEMFormat | ( | ) |
returns the file format used for certificates, keys and Diffie-Hellman parameters.
OFTrue for PEM ("privacy enhanced mail") format, OFFalse for DER ("distinguished encoding rules") format.
| const char* DVConfiguration::getUserCertificate | ( | const char * | userID | ) |
returns the certificate file name for the given user.
If absent in the config file, returns NULL.
| userID | user ID as returned by getUserID() |
| const char* DVConfiguration::getUserCertificateFolder | ( | ) |
returns the directory in which user certificates and keys are located.
| const char* DVConfiguration::getUserCodeMeaning | ( | const char * | userID, |
| OFString & | value | ||
| ) |
returns the code meaning of the user code for the given user if present.
| userID | user ID as returned by getUserID() |
| value | the result is both stored in this object and returned as return value. |
| const char* DVConfiguration::getUserCodeValue | ( | const char * | userID, |
| OFString & | value | ||
| ) |
returns the code value of the user code for the given user if present.
| userID | user ID as returned by getUserID() |
| value | the result is both stored in this object and returned as return value. |
| const char* DVConfiguration::getUserCodingSchemeDesignator | ( | const char * | userID, |
| OFString & | value | ||
| ) |
returns the coding scheme designator of the user code for the given user if present.
| userID | user ID as returned by getUserID() |
| value | the result is both stored in this object and returned as return value. |
| const char* DVConfiguration::getUserCodingSchemeVersion | ( | const char * | userID, |
| OFString & | value | ||
| ) |
returns the coding scheme version of the user code for the given user if present.
| userID | user ID as returned by getUserID() |
| value | the result is both stored in this object and returned as return value. |
| const char* DVConfiguration::getUserDICOMName | ( | const char * | userID | ) |
returns the name for the given user in DICOM Person Name (PN) format.
If absent in the config file, returns NULL.
| userID | user ID as returned by getUserID() |
| const char* DVConfiguration::getUserID | ( | Uint32 | idx | ) |
returns the symbolic identifier of the user with the given index.
The symbolic identifier is unique within the configuration file.
| idx | index, must be < getNumberOfUsers() |
| const char* DVConfiguration::getUserLogin | ( | const char * | userID | ) |
returns the login for the given user.
If absent in the config file, returns NULL.
| userID | user ID as returned by getUserID() |
| const char* DVConfiguration::getUserName | ( | const char * | userID | ) |
returns the human readable name for the given user.
If absent in the config file, returns NULL.
| userID | user ID as returned by getUserID() |
| const char* DVConfiguration::getUserOrganization | ( | const char * | userID | ) |
returns the organization for the given user.
If absent in the config file, returns NULL.
| userID | user ID as returned by getUserID() |
| const char* DVConfiguration::getUserPrivateKey | ( | const char * | userID | ) |
returns the private key file name for the given user.
If absent in the config file, returns NULL.
| userID | user ID as returned by getUserID() |
| const char* DVConfiguration::getVOIPresetDescription | ( | const char * | modality, |
| Uint32 | idx | ||
| ) |
returns the description string for the given VOI Preset
| modality | Modality, e.g. "CT", "MR", "DX" etc. |
| idx | index of the value, must be < getNumberOfVOIPresets(modality) |
| double DVConfiguration::getVOIPresetWindowCenter | ( | const char * | modality, |
| Uint32 | idx | ||
| ) |
returns the window center for the given VOI Preset
| modality | Modality, e.g. "CT", "MR", "DX" etc. |
| idx | index of the value, must be < getNumberOfVOIPresets(modality) |
| double DVConfiguration::getVOIPresetWindowWidth | ( | const char * | modality, |
| Uint32 | idx | ||
| ) |
returns the window width for the given VOI Preset
| modality | Modality, e.g. "CT", "MR", "DX" etc. |
| idx | index of the value, must be < getNumberOfVOIPresets(modality) |
|
private |
pointer to the configuration file data if the configuration file was found.
NULL otherwise.