// GENERATED FILE DO NOT EDIT
// $ xsltproc DefaultPrivateDicts.xsl privatedicts.xml > gdcmPrivateDefaultDicts.cxx
/*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef GDCMPRIVATEDEFAULTDICTS_CXX
#define GDCMPRIVATEDEFAULTDICTS_CXX
#include "gdcmDicts.h"
#include "gdcmVR.h"
#include "gdcmDict.h"
#include "gdcmDictEntry.h"
namespace gdcm {
typedef struct
{
uint16_t group;
uint16_t element;
const char *owner;
VR::VRType vr;
VM::VMType vm;
const char *name;
bool ret;
} DICT_ENTRY;
static const DICT_ENTRY DICOMV3DataDict [] = {
Problem with element:(,)
{0xffff,0xffff,0,VR::INVALID,VM::VM0,0,true } // Guard
};
void Dict::LoadDefault()
{
unsigned int i = 0;
DICT_ENTRY n = DICOMV3DataDict[i];
while( n.name != 0 )
{
if( n.group % 2 == 0 )
{
assert( n.owner == 0 );
Tag t(n.group, n.element);
DictEntry e( n.name, n.vr, n.vm, n.ret );
AddDictEntry( t, e );
}
n = DICOMV3DataDict[++i];
}
}
void PrivateDict::LoadDefault()
{
unsigned int i = 0;
DICT_ENTRY n = DICOMV3DataDict[i];
while( n.name != 0 )
{
if( n.group % 2 != 0 )
{
assert( n.owner != 0 );
PrivateTag t(n.group, n.element,n.owner);
DictEntry e( n.name, n.vr, n.vm, n.ret );
AddDictEntry( t, e );
}
n = DICOMV3DataDict[++i];
}
}
} // end namespace gdcm
#endif // GDCMPRIVATEDEFAULTDICTS_CXX
{0x
,0x
,"
"
,VR::
INVALID
,VM::
,"
",
},
0