Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages

dcvrae.h

00001 /*
00002  *
00003  *  Copyright (C) 1994-2002, OFFIS
00004  *
00005  *  This software and supporting documentation were developed by
00006  *
00007  *    Kuratorium OFFIS e.V.
00008  *    Healthcare Information and Communication Systems
00009  *    Escherweg 2
00010  *    D-26121 Oldenburg, Germany
00011  *
00012  *  THIS SOFTWARE IS MADE AVAILABLE,  AS IS,  AND OFFIS MAKES NO  WARRANTY
00013  *  REGARDING  THE  SOFTWARE,  ITS  PERFORMANCE,  ITS  MERCHANTABILITY  OR
00014  *  FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES  OR
00015  *  ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND
00016  *  PERFORMANCE OF THE SOFTWARE IS WITH THE USER.
00017  *
00018  *  Module:  dcmdata
00019  *
00020  *  Author:  Gerd Ehlers, Andreas Barth
00021  *
00022  *  Purpose: Interface of class DcmApplicationEntity
00023  *
00024  *  Last Update:      $Author: joergr $
00025  *  Update Date:      $Date: 2002/12/06 12:49:13 $
00026  *  Source File:      $Source: /share/dicom/cvs-depot/dcmtk/dcmdata/include/dcvrae.h,v $
00027  *  CVS/RCS Revision: $Revision: 1.12 $
00028  *  Status:           $State: Exp $
00029  *
00030  *  CVS/RCS Log at end of file
00031  *
00032  */
00033 
00034 
00035 #ifndef DCVRAE_H
00036 #define DCVRAE_H
00037 
00038 #include "osconfig.h"    /* make sure OS specific configuration is included first */
00039 
00040 #include "dcbytstr.h"
00041 
00042 
00045 class DcmApplicationEntity
00046   : public DcmByteString
00047 {
00048 
00049   public:
00050 
00056     DcmApplicationEntity(const DcmTag &tag,
00057                          const Uint32 len = 0);
00058 
00062     DcmApplicationEntity(const DcmApplicationEntity &old);
00063 
00066     virtual ~DcmApplicationEntity();
00067 
00072     DcmApplicationEntity &operator=(const DcmApplicationEntity &obj);
00073 
00077     virtual DcmEVR ident() const;
00078 
00085     virtual OFCondition getOFString(OFString &stringVal,
00086                                     const unsigned long pos,
00087                                     OFBool normalize = OFTrue);
00088 };
00089 
00090 
00091 #endif // DCVRAE_H
00092 
00093 
00094 /*
00095 ** CVS/RCS Log:
00096 ** $Log: dcvrae.h,v $
00097 ** Revision 1.12  2002/12/06 12:49:13  joergr
00098 ** Enhanced "print()" function by re-working the implementation and replacing
00099 ** the boolean "showFullData" parameter by a more general integer flag.
00100 ** Added doc++ documentation.
00101 ** Made source code formatting more consistent with other modules/files.
00102 **
00103 ** Revision 1.11  2002/04/25 09:50:04  joergr
00104 ** Removed getOFStringArray() implementation.
00105 **
00106 ** Revision 1.10  2001/09/25 17:19:30  meichel
00107 ** Adapted dcmdata to class OFCondition
00108 **
00109 ** Revision 1.9  2001/06/01 15:48:47  meichel
00110 ** Updated copyright header
00111 **
00112 ** Revision 1.8  2000/03/08 16:26:21  meichel
00113 ** Updated copyright header.
00114 **
00115 ** Revision 1.7  1999/03/31 09:24:55  meichel
00116 ** Updated copyright header in module dcmdata
00117 **
00118 ** Revision 1.6  1998/11/12 16:47:44  meichel
00119 ** Implemented operator= for all classes derived from DcmObject.
00120 **
00121 ** Revision 1.5  1997/09/11 15:13:12  hewett
00122 ** Modified getOFString method arguments by removing a default value
00123 ** for the pos argument.  By requiring the pos argument to be provided
00124 ** ensures that callers realise getOFString only gets one component of
00125 ** a multi-valued string.
00126 **
00127 ** Revision 1.4  1997/08/29 08:32:40  andreas
00128 ** - Added methods getOFString and getOFStringArray for all
00129 **   string VRs. These methods are able to normalise the value, i. e.
00130 **   to remove leading and trailing spaces. This will be done only if
00131 **   it is described in the standard that these spaces are not relevant.
00132 **   These methods do not test the strings for conformance, this means
00133 **   especially that they do not delete spaces where they are not allowed!
00134 **   getOFStringArray returns the string with all its parts separated by \
00135 **   and getOFString returns only one value of the string.
00136 **   CAUTION: Currently getString returns a string with trailing
00137 **   spaces removed (if dcmEnableAutomaticInputDataCorrection == OFTrue) and
00138 **   truncates the original string (since it is not copied!). If you rely on this
00139 **   behaviour please change your application now.
00140 **   Future changes will ensure that getString returns the original
00141 **   string from the DICOM object (NULL terminated) inclusive padding.
00142 **   Currently, if you call getOF... before calling getString without
00143 **   normalisation, you can get the original string read from the DICOM object.
00144 **
00145 ** Revision 1.3  1996/01/05 13:23:02  andreas
00146 ** - changed to support new streaming facilities
00147 ** - more cleanups
00148 ** - merged read / write methods for block and file transfer
00149 **
00150 */


Generated on 29 Apr 2005 for OFFIS DCMTK Version 3.5.3 by Doxygen 1.4.2