dcmdata/include/dcmtk/dcmdata/dcvrof.h

00001 /*
00002  *
00003  *  Copyright (C) 2002-2010, OFFIS e.V.
00004  *  All rights reserved.  See COPYRIGHT file for details.
00005  *
00006  *  This software and supporting documentation were developed by
00007  *
00008  *    OFFIS e.V.
00009  *    R&D Division Health
00010  *    Escherweg 2
00011  *    D-26121 Oldenburg, Germany
00012  *
00013  *
00014  *  Module:  dcmdata
00015  *
00016  *  Author:  Joerg Riesmeier
00017  *
00018  *  Purpose: Interface of class DcmOtherFloat
00019  *
00020  *  Last Update:      $Author: joergr $
00021  *  Update Date:      $Date: 2010-10-14 13:15:43 $
00022  *  CVS/RCS Revision: $Revision: 1.9 $
00023  *  Status:           $State: Exp $
00024  *
00025  *  CVS/RCS Log at end of file
00026  *
00027  */
00028 
00029 
00030 #ifndef DCVROF_H
00031 #define DCVROF_H
00032 
00033 #include "dcmtk/config/osconfig.h"    /* make sure OS specific configuration is included first */
00034 
00035 #include "dcmtk/dcmdata/dcvrfl.h"
00036 
00037 
00040 class DcmOtherFloat
00041   : public DcmFloatingPointSingle
00042 {
00043 
00044  public:
00045 
00051     DcmOtherFloat(const DcmTag &tag,
00052                   const Uint32 len = 0);
00053 
00057     DcmOtherFloat(const DcmOtherFloat &old);
00058 
00061     virtual ~DcmOtherFloat();
00062 
00067     DcmOtherFloat &operator=(const DcmOtherFloat &obj);
00068 
00072     virtual DcmObject *clone() const
00073     {
00074       return new DcmOtherFloat(*this);
00075     }
00076 
00089     virtual OFCondition copyFrom(const DcmObject& rhs);
00090 
00094     virtual DcmEVR ident() const;
00095 
00101     virtual OFCondition checkValue(const OFString &vm = "",
00102                                    const OFBool oldFormat = OFFalse);
00103 
00107     virtual unsigned long getVM();
00108 };
00109 
00110 
00111 #endif // DCVROF_H
00112 
00113 
00114 /*
00115  * CVS/RCS Log:
00116  * $Log: dcvrof.h,v $
00117  * Revision 1.9  2010-10-14 13:15:43  joergr
00118  * Updated copyright header. Added reference to COPYRIGHT file.
00119  *
00120  * Revision 1.8  2010-04-23 15:26:13  joergr
00121  * Specify an appropriate default value for the "vm" parameter of checkValue().
00122  *
00123  * Revision 1.7  2010-04-23 14:25:27  joergr
00124  * Added new method to all VR classes which checks whether the stored value
00125  * conforms to the VR definition and to the specified VM.
00126  *
00127  * Revision 1.6  2009-11-04 09:58:07  uli
00128  * Switched to logging mechanism provided by the "new" oflog module
00129  *
00130  * Revision 1.5  2008-07-17 11:19:49  onken
00131  * Updated copyFrom() documentation.
00132  *
00133  * Revision 1.4  2008-07-17 10:30:23  onken
00134  * Implemented copyFrom() method for complete DcmObject class hierarchy, which
00135  * permits setting an instance's value from an existing object. Implemented
00136  * assignment operator where necessary.
00137  *
00138  * Revision 1.3  2005-12-08 16:29:04  meichel
00139  * Changed include path schema for all DCMTK header files
00140  *
00141  * Revision 1.2  2004/07/01 12:28:25  meichel
00142  * Introduced virtual clone method for DcmObject and derived classes.
00143  *
00144  * Revision 1.1  2002/12/06 12:06:39  joergr
00145  * Added support for new value representation Other Float String (OF).
00146  *
00147  *
00148  */


Generated on 6 Jan 2011 for OFFIS DCMTK Version 3.6.0 by Doxygen 1.5.1