dcmdata/include/dcmtk/dcmdata/vrscan.h

00001 /*
00002  *
00003  *  Copyright (C) 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:  Uli Schlachter
00017  *
00018  *  Purpose: Interface to the VR scanner.
00019  *
00020  *  Last Update:      $Author: joergr $
00021  *  Update Date:      $Date: 2010-10-14 13:15:43 $
00022  *  CVS/RCS Revision: $Revision: 1.5 $
00023  *  Status:           $State: Exp $
00024  *
00025  *  CVS/RCS Log at end of file
00026  *
00027  */
00028 
00029 
00030 #ifndef VRSCAN_H
00031 #define VRSCAN_H
00032 
00033 #include "dcmtk/config/osconfig.h"    /* make sure OS specific configuration is included first */
00034 
00035 #include "dcmtk/ofstd/ofstring.h"
00036 
00037 class vrscan
00038 {
00039 public:
00040     static int scan(const OFString& vr, const OFString& value);
00041 private:
00042     static char* makeBuffer(const OFString& vr, const OFString& value, size_t& size);
00043 };
00044 
00045 #endif // VRSCAN_H
00046 
00047 
00048 /*
00049 ** CVS/RCS Log:
00050 ** $Log: vrscan.h,v $
00051 ** Revision 1.5  2010-10-14 13:15:43  joergr
00052 ** Updated copyright header. Added reference to COPYRIGHT file.
00053 **
00054 ** Revision 1.4  2010-09-02 10:16:02  uli
00055 ** The VR scanner now only copies the input data once, not twice.
00056 **
00057 ** Revision 1.3  2010-09-02 09:49:38  uli
00058 ** Add the VR prefix into the scanner instead of adding it in the caller.
00059 **
00060 ** Revision 1.2  2010-08-26 12:29:47  uli
00061 ** Ported vrscan from ancient flex++ to current flex version.
00062 **
00063 **
00064 */


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