00001 /* 00002 * 00003 * Copyright (C) 1994-2005, 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: Andreas Barth 00021 * 00022 * Purpose: functions to derive VM from string 00023 * 00024 * Last Update: $Author: meichel $ 00025 * Update Date: $Date: 2005/12/08 16:28:49 $ 00026 * Source File: $Source: /share/dicom/cvs-depot/dcmtk/dcmdata/include/dcmtk/dcmdata/dcvm.h,v $ 00027 * CVS/RCS Revision: $Revision: 1.6 $ 00028 * Status: $State: Exp $ 00029 * 00030 * CVS/RCS Log at end of file 00031 * 00032 */ 00033 00034 #ifndef DCVM_H 00035 #define DCVM_H 00036 00037 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */ 00038 00039 // get the number of values stored in string 00040 unsigned long getVMFromString(const char * val); 00041 00042 // get first value stored in string, set the parameter to beginning of the 00043 // next value 00044 char * getFirstValueFromString(const char * & s); 00045 00046 00047 #endif 00048 00049 /* 00050 ** CVS/RCS Log: 00051 ** $Log: dcvm.h,v $ 00052 ** Revision 1.6 2005/12/08 16:28:49 meichel 00053 ** Changed include path schema for all DCMTK header files 00054 ** 00055 ** Revision 1.5 2001/06/01 15:48:47 meichel 00056 ** Updated copyright header 00057 ** 00058 ** Revision 1.4 2000/03/08 16:26:20 meichel 00059 ** Updated copyright header. 00060 ** 00061 ** Revision 1.3 1999/03/31 09:24:53 meichel 00062 ** Updated copyright header in module dcmdata 00063 ** 00064 ** Revision 1.2 1996/03/26 09:59:20 meichel 00065 ** corrected bug (deletion of const char *) which prevented compilation on NeXT 00066 ** 00067 ** Revision 1.1 1996/01/29 13:38:15 andreas 00068 ** - new put method for every VR to put value as a string 00069 ** - better and unique print methods 00070 ** 00071 */ 00072