public abstract class Macro extends java.lang.Object implements IMacro
| Constructor and Description |
|---|
Macro(IDataSet objDataSet)
Constructs macro for underlying Dataset
|
Macro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
Constructs macro for underlying Dataset and Dictionary Reader
|
Macro(IItem objItem)
Constructs macro for undelying Item
|
Macro(IItem objItem,
IDictionaryReader objDictionaryReader)
Constructs macro for undelying Item and Dictionary Reader
|
| Modifier and Type | Method and Description |
|---|---|
int |
addDataElement(IDataElement objDataElement)
This method adds the Macro member in either DataSet or Item
|
java.lang.Object |
clone()
Create similar object of this class.
|
boolean |
contains(int iGroupNumber,
int iElementNumber)
This method checks whether the specified dataelement is present in the
Macro
|
IDataElement |
getDataElement(int iGroupNumber,
int iElementNumber)
This method returns the DataElement present either in the DataSet or Item depending on the
level of Macro.
|
ITransferSyntax |
getTransferSyntax()
Retrieves the TransferSyntax specified by DICOM Standard
|
public Macro(IDataSet objDataSet)
objDataSet - Object of DataSetpublic Macro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - Object of DataSetobjDictionaryReader - Object od Dictionary Readerpublic Macro(IItem objItem)
objItem - instance of Item classpublic Macro(IItem objItem, IDictionaryReader objDictionaryReader)
objItem - instance of Item classobjDictionaryReader - Object od Dictionary Readerpublic int addDataElement(IDataElement objDataElement)
addDataElement in interface IMacroobjDataElement - object of dataelement to add in datasetpublic IDataElement getDataElement(int iGroupNumber, int iElementNumber)
getDataElement in interface IMacroiGroupNumber - specifies the Group Number.iElementNumber - specifies the Element Number.public boolean contains(int iGroupNumber,
int iElementNumber)
iGroupNumber - specifies the Group Number.iElementNumber - specifies the Element Number.public ITransferSyntax getTransferSyntax()