⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wlfsim.h

📁 转化为DIB位图再显示出来的dicom文件C++代码
💻 H
📖 第 1 页 / 共 3 页
字号:
       *  @return OFTrue if the values match, OFFalse otherwise.       */    OFBool WildcardMatch( const char *datasetValue, const char *searchMaskValue );      /** This function is called, if the search pattern contains a star symbol. It determines       *  if dv (the dataset's value) still matches sv (the search mask's value). This function       *  takes the star symbol in sv into account. (Note that the pattern value might contain       *  more wild card symbols.) The function will return OFTrue if there is a match; if there       *  is not a match it will return OFFalse.       *  @param dv Dataset's value; never NULL.       *  @param sv Search mask's value (may contain wild card symbols); never NULL.       *  @return OFTrue if the values match, OFFalse otherwise.       */    OFBool MatchStarSymbol( const char *dv, const char *sv );      /** This function extracts the actual lower and upper date or time values from a given       *  date or time range.       *  @param range Date or time range from which lower and upper values shall be extracted.       *  @param lower Newly created string specifying the lower value from the date/time range;       *               NULL if value is not specified in range.       *  @param upper Newly created string specifying the upper value from the date/time range;       *               NULL if value is not specified in range.       */    void ExtractValuesFromRange( const char *range, char *&lower, char *&upper );  public:      /** default constructor.       */    WlmFileSystemInteractionManager();      /** destructor       */    ~WlmFileSystemInteractionManager();      /** Set value in member variable.       *  @param value The value to set.       */    void SetLogStream( OFConsole *value );      /**  Set value in member variable.       *  @param value The value to set.       */    void SetVerbose( OFBool value );      /**  Set value in member variable.       *  @param value The value to set.       */    void SetDebug( OFBool value );      /**  Set value in member variable.       *  @param value The value to set.       */    void SetEnableRejectionOfIncompleteWlFiles( OFBool value );      /** Connects to the worklist file system database.       *  @param dfPathv Path to worklist file system database.       *  @return Indicates if the connection could be established or not.       */    OFCondition ConnectToFileSystem( char *dfPathv );      /** Disconnects from the worklist file system database..       *  @return Indicates if the connection was disconnected successfully.       */    OFCondition DisconnectFromFileSystem();      /** Checks if the given called application entity title is supported. If this is the case,       *  OFTrue will be returned, else OFFalse.       *  @param calledApplicationEntityTitlev The application entity title which shall be checked       *                                       for support. Valid pointer expected.       *  @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.       */    OFBool IsCalledApplicationEntityTitleSupported( char *calledApplicationEntityTitlev );      /** This function determines the records from the worklist files which match       *  the given search mask and returns the number of matching records. Also,       *  this function will store the matching records in memory in the array       *  member variable matchingRecords.       *  @param searchMask - [in] The search mask.       *  @return Number of matching records.       */    unsigned long DetermineMatchingRecords( DcmDataset *searchMask );      /** For the matching record that is identified through idx, this function returns the number       *  of items that are contained in the sequence element that is referred to by sequenceTag.       *  In case this sequence element is itself contained in a certain item of another superior       *  sequence, superiorSequenceArray contains information about where to find the correct       *  sequence element.       *  @param sequenceTag            The tag of the sequence element for which the number of items       *                                shall be determined.       *  @param superiorSequenceArray  Array which contains information about superior sequence elements       *                                the given sequence element is contained in.       *  @param numOfSuperiorSequences The number of elements in the above array.       *  @param idx                    Identifies the record from which the number of sequence items       *                                shall be determined.       *  @return The number of items that are contained in the sequence element that is referred to by       *          sequenceTag and that can be found in sequence items which are specified in superiorSequenceArray.       */    unsigned long GetNumberOfSequenceItemsForMatchingRecord( DcmTagKey sequenceTag, WlmSuperiorSequenceInfoType *superiorSequenceArray, unsigned long numOfSuperiorSequences, unsigned long idx );      /** This function determines an attribute value of a matching record       *  and returns this value in a newly created string to the caller.       *  @param tag                    Attribute tag. Specifies which attribute's value shall be returned.       *  @param superiorSequenceArray  Array which contains information about superior sequence elements       *                                the given element is contained in.       *  @param numOfSuperiorSequences The number of elements in the above array.       *  @param idx                    Identifies the record from which the attribute value shall be retrieved.       *  @param value                  Pointer to a newly created string that contains the requested value.       *                                If value was not found an emtpy string will be returned.       */    void GetAttributeValueForMatchingRecord( DcmTagKey tag, WlmSuperiorSequenceInfoType *superiorSequenceArray, unsigned long numOfSuperiorSequences, unsigned long idx, char *&value );      /** This function frees the memory which was occupied by matchingRecords.       *  It shall be called when the matching records are no longer needed.       */    void ClearMatchingRecords();};#endif/*** CVS Log** $Log: wlfsim.h,v $** Revision 1.11  2005/12/08 16:05:42  meichel** Changed include path schema for all DCMTK header files**** Revision 1.10  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.9  2005/06/16 08:06:51  meichel** Removed redundant class name, needed for gcc 3.4**** Revision 1.8  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.7  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.6  2003/12/23 13:04:36  wilkens** Integrated new matching key attributes into wlmscpfs.**** Revision 1.5  2003/07/02 09:17:55  wilkens** Updated documentation to get rid of doxygen warnings.**** Revision 1.4  2002/12/16 11:08:35  wilkens** Added missing #include "osconfig.h" to certain files.**** Revision 1.3  2002/12/09 13:41:43  joergr** Renamed parameter to avoid name clash with global function index().** Added private undefined copy constructor and/or assignment operator.**** Revision 1.2  2002/08/12 10:56:08  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.1  2002/08/05 09:09:58  wilkens** Modfified the project's structure in order to be able to create a new** application which contains both wlmscpdb and ppsscpdb.**** Revision 1.1  2002/07/17 13:10:21  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.*******/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -