📄 wlds.h
字号:
* WlmDataSource::SetCalledApplicationEntityTitle(). If this is not the case, OFFalse * will be returned. * @return OFTrue, if the called application entity title is supported; * OFFalse, if the called application entity title is not supported or it is not given. */ virtual OFBool IsCalledApplicationEntityTitleSupported() = 0; /** Based on the search mask which was passed, this function determines all the records * in the database which match the values of matching key attributes in the search mask. * For each matching record, a DcmDataset structure is generated which will later be * returned to the SCU as a result of query. The DcmDataset structures for all matching * records will be stored in the protected member variable matchingDatasets. * @param findRequestIdentifiers Contains the search mask. * @return A WlmDataSourceStatusType value denoting the following: * WLM_SUCCESS: No matching records found; * WLM_PENDING: Matching records found, all return keys supported by this application; * WLM_PENDING_WARNING: Matching records found, not all return keys supported by this application; * WLM_FAILED_IDENTIFIER_DOES_NOT_MATCH_SOP_CLASS: Error in the search mask encountered. */ virtual WlmDataSourceStatusType StartFindRequest( DcmDataset &findRequestIdentifiers ) = 0; /** This function will return the next dataset that matches the given search mask, if * there is one more resulting dataset to return. In such a case, rstatus will be set * to WLM_PENDING or WLM_PENDING_WARNING, depending on if an unsupported key attribute * was encountered in the search mask or not. If there are no more datasets that match * the search mask, this function will return an empty dataset and WLM_SUCCESS in rstatus. * @param rStatus A value of type WlmDataSourceStatusType that can be used to * decide if there are still elements that have to be returned. * @return The next dataset that matches the given search mask, or an empty dataset if * there are no more matching datasets in the database. */ virtual DcmDataset *NextFindResponse( WlmDataSourceStatusType &rStatus ) = 0; /** This function handles a C-CANCEL Request during the processing of a C-FIND Request. * In detail, in case there are still matching datasets captured in member variable * matchingDatasets, memory for these datasets (and the array itself) is freed and * all pointers are set to NULL. * @return Always WLM_CANCEL. */ WlmDataSourceStatusType CancelFindRequest(); /** Get value from member variable. * @return The member variable's value. */ DcmAttributeTag *GetOffendingElements(); /** Get value from member variable. * @return The member variable's value. */ DcmLongString *GetErrorComments(); /** Set value in a member variable in a derived class. */ virtual void SetDbDsn( const char * /*value*/ ) {} /** Set value in a member variable in a derived class. */ virtual void SetDbUserName( const char * /*value*/ ) {} /** Set value in a member variable in a derived class. */ virtual void SetDbUserPassword( const char * /*value*/ ) {} /** Set value in a member variable in a derived class. */ virtual void SetCfgFileMatchRecords( const char * /*value*/ ) {} /** Set value in a member variable in a derived class. */ virtual void SetCfgFileSelectValues( const char * /*value*/ ) {} /** Set value in a member variable in a derived class. */ virtual void SetDatabaseType( WlmDatabaseType /*value*/ ) {} /** Set value in a member variable in a derived class. * @param int The value to set. */ virtual void SetSerialNumber( const int /*value*/ ) {} /** Set value in a member variable in a derived class. * @param int The value to set. */ virtual void SetInstitutionId( const unsigned int /*value*/ ) {} /** Set value in a member variable in a derived class. */ virtual void SetDfPath( const char * /*value*/ ) {} /** Set value in a member variable in a derived class. */ virtual void SetEnableRejectionOfIncompleteWlFiles( OFBool /*value*/ ) {} /** Set value in a member variable in a derived class. */ virtual void SetCreateNullvalues( OFBool /*value*/ ) {} /** Set value in a member variable in a derived class. */ virtual void SetPfFileName( const char * /*value*/ ) {} /** Set value in a member variable in a derived class. */ virtual void SetModalityToReturn( const char * /*value*/ ) {} /** Set value in a member variable in a derived class. */ virtual void SetCommaSeparatePatientName( OFBool /*value*/ ) {} /** Set value in a member variable in a derived class. */ virtual void SetReturnPatientUidInAccessionNumber( OFBool /*value*/ ) {}};#endif/*** CVS Log** $Log: wlds.h,v $** Revision 1.23 2005/12/08 16:05:40 meichel** Changed include path schema for all DCMTK header files**** Revision 1.22 2005/09/23 12:56:40 wilkens** Added attribute PatientsBirthDate as a matching key attribute to wlmscpfs.** Thanks to Andre M. Descombes <andre@descombes.info> for the code template.**** Revision 1.21 2005/05/04 11:34:31 wilkens** Added two command line options --enable-file-reject (default) and** --disable-file-reject to wlmscpfs: these options can be used to enable or** disable a file rejection mechanism which makes sure only complete worklist files** will be used during the matching process. A worklist file is considered to be** complete if it contains all necessary type 1 information which the SCP might** have to return to an SCU in a C-Find response message.**** Revision 1.20 2004/04/06 18:19:28 joergr** Updated data dictionary, UIDs and transfer syntaxes for the latest Final Text** Supplements (42 and 47) and Correction Proposals (CP 25).**** Revision 1.19 2004/01/15 12:01:24 wilkens** Added function to Worklist Management Data Source Base Class. This function** is needed in the private part of this toolkit.**** Revision 1.18 2004/01/07 09:52:18 wilkens** Fixed typo in comment.**** Revision 1.17 2004/01/07 08:32:28 wilkens** Added new sequence type return key attributes to wlmscpfs. Fixed bug that for** equally named attributes in sequences always the same value will be returned.** Added functionality that also more than one item will be returned in sequence** type return key attributes.**** Revision 1.16 2004/01/02 13:56:14 wilkens** Integrated new return key attributes into wlmscpfs and updated function that** checks integrity of matching key attribute values (added support for new VR).**** Revision 1.15 2003/12/23 13:04:36 wilkens** Integrated new matching key attributes into wlmscpfs.**** Revision 1.14 2003/12/11 10:45:33 wilkens** Added function to Worklist Management Data Source Base Class. This function** is needed in the private part of this toolkit.**** Revision 1.13 2003/08/21 13:38:23 wilkens** Moved declaration and initialization of member variables matchingDatasets and** numOfMatchingDatasets to base class.** Got rid of superfluous member variable objlist and of superfluous function** ClearObjList().**** Revision 1.12 2003/07/02 09:17:55 wilkens** Updated documentation to get rid of doxygen warnings.**** Revision 1.11 2003/02/17 12:02:03 wilkens** Made some minor modifications to be able to modify a special variant of the** worklist SCP implementation (wlmscpki).**** Revision 1.10 2002/12/16 11:08:33 wilkens** Added missing #include "osconfig.h" to certain files.**** Revision 1.9 2002/08/12 10:56:07 wilkens** Made some modifications in in order to be able to create a new application** which contains both wlmscpdb and ppsscpdb and another application which** contains both wlmscpfs and ppsscpfs.**** Revision 1.8 2002/07/17 13:10:36 wilkens** Corrected some minor logical errors in the wlmscpdb sources and completely** updated the wlmscpfs so that it does not use the original wlistctn sources** any more but standard wlm sources which are now used by all three variants** of wlmscps.**** Revision 1.7 2002/07/01 14:13:56 wilkens** Some more corrections to get rid of msvc6's warnings.**** Revision 1.6 2002/06/10 11:25:05 wilkens** Made some corrections to keep gcc 2.95.3 quiet.**** Revision 1.5 2002/05/08 13:20:51 wilkens** Added new command line option -nse to wlmscpki and wlmscpdb.**** Revision 1.4 2002/04/18 14:20:08 wilkens** Modified Makefiles. Updated latest changes again. These are the latest** sources. Added configure file.**** Revision 1.3 2002/01/08 17:45:34 joergr** Reformatted source files (replaced Windows newlines by Unix ones, replaced** tabulator characters by spaces, etc.)**** Revision 1.2 2002/01/08 16:50:12 joergr** Added preliminary database support using OTL interface library (modified by** MC/JR on 2001-12-21).**** Revision 1.1 2002/01/08 16:30:59 joergr** Added new module "dcmwlm" developed by Thomas Wilkens (initial release for** Windows, dated 2001-12-20).*****/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -