using System;
public class DumpCSA
{
public static int Main(string[] args)
{
string filename = args[0];
if (!reader.
Read())
return 1;
string[] expectedSiemensTags = new string[] { "B_value" , "AcquisitionMatrixText" };
{
{
{
{
{
{
foreach (string str in expectedSiemensTags)
{
{
{
if (elem != null)
{
System.Console.WriteLine( elem.toString() );
}
}
}
}
}
}
}
}
}
}
return 0;
}
}
Class to represent a CSA Element.
Definition gdcmCSAElement.h:30
Class to represent a Data Element either Implicit or Explicit.
Definition gdcmDataElement.h:59
bool IsEmpty() const
Check if Data Element is empty.
Definition gdcmDataElement.h:106
Class to represent a Data Set (which contains Data Elements)
Definition gdcmDataSet.h:56
const DataElement & GetDataElement(const Tag &t) const
Definition gdcmDataSet.h:188
bool FindDataElement(const PrivateTag &t) const
Look up if private tag 't' is present in the dataset:
a DICOM File
Definition gdcmFile.h:34
const DataSet & GetDataSet() const
Get Data Set.
Definition gdcmFile.h:57
Class to represent a Private DICOM Data Element (Attribute) Tag (Group, Element, Owner)
Definition gdcmPrivateTag.h:39
Reader ala DOM (Document Object Model)
Definition gdcmReader.h:54
const File & GetFile() const
Set/Get File.
Definition gdcmReader.h:72
virtual bool Read()
Main function to read a file.
void SetFileName(const char *filename_native)
Class to do system operation.
Definition gdcmSystem.h:27