Trispark JDT
2.50.13

com.archimed.dicom.tools
Class Sequences

java.lang.Object
  extended by com.archimed.dicom.tools.Sequences

public class Sequences
extends java.lang.Object

This object provides shortcuts to get/set values of Items within Sequences.
All indexes and item numbers start with 0. Conversion of values is done using the DicomType-JavaType conversion scheme (specified in DicomObject).


Constructor Summary
Sequences(DicomObject d)
          Constructs a new Sequences object which operates on a given DicomObject 'd'.
 
Method Summary
 void append_ge(int seq, int item_nr, int seq2, int item_nr2, int g, int e, java.lang.Object o)
          Does the same as append(seq, item_nr, seq2, item_nr2, dname, o} using a (group, element)-pair in stead of a DDict-entry.
 void append_ge(int seq, int item_nr, int g, int e, java.lang.Object o)
          Does the same as append(seq, item_nr, dname, o} using a (group, element)-pair in stead of a DDict-entry.
 void append(int seq, int item_nr, int seq2, int item_nr2, int dname, java.lang.Object o)
          Appends the Object 'o' to the end of element 'dname'.
 void append(int seq, int item_nr, int dname, java.lang.Object o)
          Appends the Object 'o' to the end of element 'dname'.
 java.util.Vector deleteItem_ge(int seq, int item_nr, int g, int e)
          Does the same as deleteItem(seq, item_nr, dname) using a (group, element)-pair in stead of a DDict-entry.
 java.lang.Object deleteItem_ge(int seq, int item_nr, int g, int e, int i)
          Does the same as deleteItem(seq, item_nr, dname, i) using a (group, element)-pair in stead of a DDict-entry.
 java.util.Vector deleteItem_ge(int seq, int item_nr, int seq2, int item_nr2, int g, int e)
          Does the same as deleteItem(seq, item_nr, seq2, item_nr2, dname) using a (group, element)-pair in stead of a DDict-entry.
 java.lang.Object deleteItem_ge(int seq, int item_nr, int seq2, int item_nr2, int g, int e, int i)
          Does the same as deleteItem(seq, item_nr, seq2, item_nr2, dname, i) using a (group, element)-pair in stead of a DDict-entry.
 java.util.Vector deleteItem(int seq, int item_nr, int dname)
          Deletes the element with DDict-entry 'dname' from the item with number 'item_nr' of sequence 'seq'.
 java.lang.Object deleteItem(int seq, int item_nr, int dname, int i)
          Deletes the value at index 'i' of the element with DDict-entry 'dname' and returns that value.
 java.util.Vector deleteItem(int seq, int item_nr, int seq2, int item_nr2, int dname)
          Deletes the element with DDict-entry 'dname'.
 java.lang.Object deleteItem(int seq, int item_nr, int seq2, int item_nr2, int dname, int i)
          Deletes the value at index 'i' of the element with DDict-entry 'dname' and returns that value.
 java.lang.Object get_ge(int seq, int item_nr, int g, int e)
          Does the same as get(seq, item_nr, dname} using a (group, element)-pair in stead of a DDict-entry.
 java.lang.Object get_ge(int seq, int item_nr, int g, int e, int i)
          Does the same as get(seq, item_nr, dname, i} using a (group, element)-pair in stead of a DDict-entry.
 java.lang.Object get_ge(int seq, int item_nr, int seq2, int item_nr2, int g, int e)
          Does the same as get(seq, item_nr, seq2, item_nr2, dname} using a (group, element)-pair in stead of a DDict-entry.
 java.lang.Object get_ge(int seq, int item_nr, int seq2, int item_nr2, int g, int e, int i)
          Does the same as get(seq, item_nr, seq2, item_nr2, dname, i} using a (group, element)-pair in stead of a DDict-entry.
 java.lang.Object get(int seq, int item_nr, int dname)
          Returns the first value of element 'dname'.
 java.lang.Object get(int seq, int item_nr, int dname, int i)
          Returns the value at index 'i' of element 'dname'.
 java.lang.Object get(int seq, int item_nr, int seq2, int item_nr2, int dname)
          Returns the first value of element 'dname'.
 java.lang.Object get(int seq, int item_nr, int seq2, int item_nr2, int dname, int i)
          Returns the value at index 'i' of element 'dname'.
 int getI_ge(int seq, int item_nr, int g, int e)
          Does the same as getI(seq, item_nr, dname} using a (group, element)-pair in stead of a DDict-entry.
 int getI_ge(int seq, int item_nr, int g, int e, int i)
          Does the same as getI(seq, item_nr, dname, i} using a (group, element)-pair in stead of a DDict-entry.
 int getI_ge(int seq, int item_nr, int seq2, int item_nr2, int g, int e)
          Does the same as getI(seq, item_nr, seq2, item_nr2, dname} using a (group, element)-pair in stead of a DDict-entry.
 int getI_ge(int seq, int item_nr, int seq2, int item_nr2, int g, int e, int i)
          Does the same as getI(seq, item_nr, seq2, item_nr2, dname, i} using a (group, element)-pair in stead of a DDict-entry.
 int getI(int seq, int item_nr, int dname)
          Gets the same value as get(seq, item_nr, dname} and tries to return it as an int.
 int getI(int seq, int item_nr, int dname, int i)
          Gets the same value as get(seq, item_nr, dname, i} and tries to return it as an int.
 int getI(int seq, int item_nr, int seq2, int item_nr2, int dname)
          Gets the same value as get(seq, item_nr, seq2, item_nr2, dname} and tries to return it as an int.
 int getI(int seq, int item_nr, int seq2, int item_nr2, int dname, int i)
          Gets the same value as get(seq, item_nr, seq2, item_nr2, dname, i} and tries to return it as an int.
 java.lang.String getS_ge(int seq, int item_nr, int g, int e)
          Does the same as getS(seq, item_nr, dname} using a (group, element)-pair in stead of a DDict-entry.
 java.lang.String getS_ge(int seq, int item_nr, int g, int e, int i)
          Does the same as getS(seq, item_nr, dname, i} using a (group, element)-pair in stead of a DDict-entry.
 java.lang.String getS_ge(int seq, int item_nr, int seq2, int item_nr2, int g, int e)
          Does the same as getS(seq, item_nr, seq2, item_nr2, dname} using a (group, element)-pair in stead of a DDict-entry.
 java.lang.String getS_ge(int seq, int item_nr, int seq2, int item_nr2, int g, int e, int i)
          Does the same as getS(seq, item_nr, seq2, item_nr2, dname, i} using a (group, element)-pair in stead of a DDict-entry.
 java.lang.String getS(int seq, int item_nr, int dname)
          Gets the same value as get(seq, item_nr, dname} and tries to return it as a String.
 java.lang.String getS(int seq, int item_nr, int dname, int i)
          Gets the same value as get(seq, item_nr, dname, i} and tries to return it as a String.
 java.lang.String getS(int seq, int item_nr, int seq2, int item_nr2, int dname)
          Gets the same value as get(seq, item_nr, seq2, item_nr2, dname} and tries to return it as a String.
 java.lang.String getS(int seq, int item_nr, int seq2, int item_nr2, int dname, int i)
          Gets the same value as get(seq, item_nr, seq2, item_nr2, dname, i} and tries to return it as a String.
 int getSize_ge(int seq, int item_nr, int g, int e)
          Does the same as getSize(seq, item_nr, dname) using a (group, element)-pair in stead of a DDict-entry.
 int getSize_ge(int seq, int item_nr, int seq2, int item_nr2, int g, int e)
          Does the same as getSize(seq, item_nr, seq2, item_nr2, dname) using a (group, element)-pair in stead of a DDict-entry.
 int getSize(int seq, int item_nr, int dname)
          Returns the number of values found in element with DDict-entry 'dname'.
 int getSize(int seq, int item_nr, int seq2, int item_nr2, int dname)
          Returns the number of values found in element with DDict-entry 'dname'.
 void set_ge(int seq, int item_nr, int seq2, int item_nr2, int g, int e, java.lang.Object o)
          Does the same as set(seq, item_nr, seq2, item_nr2, dname, o} using a (group, element)-pair in stead of a DDict-entry.
 void set_ge(int seq, int item_nr, int seq2, int item_nr2, int g, int e, java.lang.Object o, int i)
          Does the same as set(seq, item_nr, seq2, item_nr2, dname, o, i} using a (group, element)-pair in stead of a DDict-entry.
 void set_ge(int seq, int item_nr, int g, int e, java.lang.Object o)
          Does the same as set(seq, item_nr, dname, o} using a (group, element)-pair in stead of a DDict-entry.
 void set_ge(int seq, int item_nr, int g, int e, java.lang.Object o, int i)
          Does the same as set(seq, item_nr, dname, o, i} using a (group, element)-pair in stead of a DDict-entry.
 void set(int seq, int item_nr, int seq2, int item_nr2, int dname, java.lang.Object o)
          Replaces the values of element 'dname' with Object 'o'.
 void set(int seq, int item_nr, int seq2, int item_nr2, int dname, java.lang.Object o, int i)
          Sets the value at index 'i' from element 'dname' to Object 'o'.
 void set(int seq, int item_nr, int dname, java.lang.Object o)
          Replaces the values of element 'dname' with Object 'o'.
 void set(int seq, int item_nr, int dname, java.lang.Object o, int i)
          Sets the value at index 'i' from element 'dname' to Object 'o'.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sequences

public Sequences(DicomObject d)
Constructs a new Sequences object which operates on a given DicomObject 'd'.

Method Detail

getSize

public int getSize(int seq,
                   int item_nr,
                   int dname)
            throws DicomException
Returns the number of values found in element with DDict-entry 'dname'. This element is located in the item with number 'item_nr' of the sequence named 'seq'. If the sequence, item or element doesn't exist, -1 is returned.

Throws:
DicomException

getSize_ge

public int getSize_ge(int seq,
                      int item_nr,
                      int g,
                      int e)
               throws DicomException
Does the same as getSize(seq, item_nr, dname) using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

deleteItem

public java.util.Vector deleteItem(int seq,
                                   int item_nr,
                                   int dname)
                            throws DicomException
Deletes the element with DDict-entry 'dname' from the item with number 'item_nr' of sequence 'seq'. All values of this element are returned as a Vector. If the element, item or sequence didn't exist, 'null' is returned.

Throws:
DicomException

deleteItem_ge

public java.util.Vector deleteItem_ge(int seq,
                                      int item_nr,
                                      int g,
                                      int e)
                               throws DicomException
Does the same as deleteItem(seq, item_nr, dname) using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

deleteItem

public java.lang.Object deleteItem(int seq,
                                   int item_nr,
                                   int dname,
                                   int i)
                            throws DicomException
Deletes the value at index 'i' of the element with DDict-entry 'dname' and returns that value. This element is located in the item with number 'item_nr' of sequence 'seq'.
The values with an index higher than 'i' are all shifted down.
If the element, item or sequence weren't found, 'null' is returned.

Throws:
DicomException

deleteItem_ge

public java.lang.Object deleteItem_ge(int seq,
                                      int item_nr,
                                      int g,
                                      int e,
                                      int i)
                               throws DicomException
Does the same as deleteItem(seq, item_nr, dname, i) using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

set

public void set(int seq,
                int item_nr,
                int dname,
                java.lang.Object o)
         throws DicomException
Replaces the values of element 'dname' with Object 'o'. This element is located in item 'item_nr' of sequence 'seq'.
If the sequence, item or element didn't already exist, they are created. For a new sequence make sure you use item number '0'.

Throws:
DicomException

set_ge

public void set_ge(int seq,
                   int item_nr,
                   int g,
                   int e,
                   java.lang.Object o)
            throws DicomException
Does the same as set(seq, item_nr, dname, o} using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

set

public void set(int seq,
                int item_nr,
                int dname,
                java.lang.Object o,
                int i)
         throws DicomException
Sets the value at index 'i' from element 'dname' to Object 'o'. This element is located in item 'item_nr' of sequence 'seq'.
If the sequence, item or element didn't already exist, they are created. For a new sequence make sure you use item number '0'.
If the index exceeds the bounds of the element by more than 1, a DicomException is thrown. For a new element make sure you use index '0'.

Throws:
DicomException

set_ge

public void set_ge(int seq,
                   int item_nr,
                   int g,
                   int e,
                   java.lang.Object o,
                   int i)
            throws DicomException
Does the same as set(seq, item_nr, dname, o, i} using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

append

public void append(int seq,
                   int item_nr,
                   int dname,
                   java.lang.Object o)
            throws DicomException
Appends the Object 'o' to the end of element 'dname'. This element is located in item 'item_nr' of sequence 'seq'.
If the sequence, item or element didn't already exist, they are created. For a new sequence make sure you use item number '0'.

Throws:
DicomException

append_ge

public void append_ge(int seq,
                      int item_nr,
                      int g,
                      int e,
                      java.lang.Object o)
               throws DicomException
Does the same as append(seq, item_nr, dname, o} using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

get

public java.lang.Object get(int seq,
                            int item_nr,
                            int dname)
                     throws DicomException
Returns the first value of element 'dname'. This element is located in an item 'item_nr' of sequence 'seq'.
If the sequence, item or element don't already exist, 'null' is returned.

Throws:
DicomException

get_ge

public java.lang.Object get_ge(int seq,
                               int item_nr,
                               int g,
                               int e)
                        throws DicomException
Does the same as get(seq, item_nr, dname} using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

get

public java.lang.Object get(int seq,
                            int item_nr,
                            int dname,
                            int i)
                     throws DicomException
Returns the value at index 'i' of element 'dname'. This element is located in an item 'item_nr' of sequence 'seq'.
If the sequence, item or element don't already exist, 'null' is returned. If the index exceeds the bounds of the element, a DicomException is thrown.

Throws:
DicomException

get_ge

public java.lang.Object get_ge(int seq,
                               int item_nr,
                               int g,
                               int e,
                               int i)
                        throws DicomException
Does the same as get(seq, item_nr, dname, i} using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

getS

public java.lang.String getS(int seq,
                             int item_nr,
                             int dname)
                      throws DicomException
Gets the same value as get(seq, item_nr, dname} and tries to return it as a String. If the value doesn't exist, 'null' is returned.

Throws:
DicomException

getS_ge

public java.lang.String getS_ge(int seq,
                                int item_nr,
                                int g,
                                int e)
                         throws DicomException
Does the same as getS(seq, item_nr, dname} using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

getS

public java.lang.String getS(int seq,
                             int item_nr,
                             int dname,
                             int i)
                      throws DicomException
Gets the same value as get(seq, item_nr, dname, i} and tries to return it as a String. If the value doesn't exist, 'null' is returned.

Throws:
DicomException

getS_ge

public java.lang.String getS_ge(int seq,
                                int item_nr,
                                int g,
                                int e,
                                int i)
                         throws DicomException
Does the same as getS(seq, item_nr, dname, i} using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

getI

public int getI(int seq,
                int item_nr,
                int dname)
         throws DicomException
Gets the same value as get(seq, item_nr, dname} and tries to return it as an int. If the value doesn't exist, Integer.MAX_VALUE is returned.

Throws:
DicomException

getI_ge

public int getI_ge(int seq,
                   int item_nr,
                   int g,
                   int e)
            throws DicomException
Does the same as getI(seq, item_nr, dname} using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

getI

public int getI(int seq,
                int item_nr,
                int dname,
                int i)
         throws DicomException
Gets the same value as get(seq, item_nr, dname, i} and tries to return it as an int. If the value doesn't exist, Integer.MAX_VALUE is returned.

Throws:
DicomException

getI_ge

public int getI_ge(int seq,
                   int item_nr,
                   int g,
                   int e,
                   int i)
            throws DicomException
Does the same as getI(seq, item_nr, dname, i} using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

getSize

public int getSize(int seq,
                   int item_nr,
                   int seq2,
                   int item_nr2,
                   int dname)
            throws DicomException
Returns the number of values found in element with DDict-entry 'dname'. This element is located in a sequence-hierarchy of depth 2. If the sequences, items or element don't exist, -1 is returned.

Parameters:
seq - - DDict-entry of the first sequence.
item_nr - - Number of the item in the first sequence.
seq2 - - DDict-entry of the second sequence (located in item 'item_nr' of sequence 'seq').
item_nr2 - - Number of the item in the second sequence.
Throws:
DicomException

getSize_ge

public int getSize_ge(int seq,
                      int item_nr,
                      int seq2,
                      int item_nr2,
                      int g,
                      int e)
               throws DicomException
Does the same as getSize(seq, item_nr, seq2, item_nr2, dname) using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

deleteItem

public java.util.Vector deleteItem(int seq,
                                   int item_nr,
                                   int seq2,
                                   int item_nr2,
                                   int dname)
                            throws DicomException
Deletes the element with DDict-entry 'dname'. This element is located in a sequence-hierarchy of depth 2. All values of the element are returned in a Vector. If the element, items or sequences didn't exist, 'null' is returned.

Parameters:
seq - - DDict-entry of the first sequence.
item_nr - - Number of the item in the first sequence.
seq2 - - DDict-entry of the second sequence (located in item 'item_nr' of sequence 'seq').
item_nr2 - - Number of the item in the second sequence.
Throws:
DicomException

deleteItem_ge

public java.util.Vector deleteItem_ge(int seq,
                                      int item_nr,
                                      int seq2,
                                      int item_nr2,
                                      int g,
                                      int e)
                               throws DicomException
Does the same as deleteItem(seq, item_nr, seq2, item_nr2, dname) using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

deleteItem

public java.lang.Object deleteItem(int seq,
                                   int item_nr,
                                   int seq2,
                                   int item_nr2,
                                   int dname,
                                   int i)
                            throws DicomException
Deletes the value at index 'i' of the element with DDict-entry 'dname' and returns that value. This element is located in a sequence-hierarchy of depth 2.
The values with an index higher than 'i' are all shifted down.
If the element, item or sequence weren't found, 'null' is returned.

Parameters:
seq - - DDict-entry of the first sequence.
item_nr - - Number of the item in the first sequence.
seq2 - - DDict-entry of the second sequence (located in item 'item_nr' of sequence 'seq').
item_nr2 - - Number of the item in the second sequence.
Throws:
DicomException

deleteItem_ge

public java.lang.Object deleteItem_ge(int seq,
                                      int item_nr,
                                      int seq2,
                                      int item_nr2,
                                      int g,
                                      int e,
                                      int i)
                               throws DicomException
Does the same as deleteItem(seq, item_nr, seq2, item_nr2, dname, i) using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

set

public void set(int seq,
                int item_nr,
                int seq2,
                int item_nr2,
                int dname,
                java.lang.Object o)
         throws DicomException
Replaces the values of element 'dname' with Object 'o'. This element is located in a sequence-hierarchy of depth 2.
If the sequences, items or element didn't already exist, they are created. For a new sequence make sure you use item number '0'.

Throws:
DicomException

set_ge

public void set_ge(int seq,
                   int item_nr,
                   int seq2,
                   int item_nr2,
                   int g,
                   int e,
                   java.lang.Object o)
            throws DicomException
Does the same as set(seq, item_nr, seq2, item_nr2, dname, o} using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

set

public void set(int seq,
                int item_nr,
                int seq2,
                int item_nr2,
                int dname,
                java.lang.Object o,
                int i)
         throws DicomException
Sets the value at index 'i' from element 'dname' to Object 'o'. This element is located in a sequence-hierarchy of depth 2.
If the sequence, item or element didn't already exist, they are created. For a new sequence make sure you use item number '0'.
If the index exceeds the bounds of the element by more than 1, a DicomException is thrown. For a new element make sure you use index '0'.

Throws:
DicomException

set_ge

public void set_ge(int seq,
                   int item_nr,
                   int seq2,
                   int item_nr2,
                   int g,
                   int e,
                   java.lang.Object o,
                   int i)
            throws DicomException
Does the same as set(seq, item_nr, seq2, item_nr2, dname, o, i} using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

append

public void append(int seq,
                   int item_nr,
                   int seq2,
                   int item_nr2,
                   int dname,
                   java.lang.Object o)
            throws DicomException
Appends the Object 'o' to the end of element 'dname'. This element is located in a sequence-hierarchy of depth 2.
If the sequence, item or element didn't already exist, they are created. For a new sequence make sure you use item number '0'.

Throws:
DicomException

append_ge

public void append_ge(int seq,
                      int item_nr,
                      int seq2,
                      int item_nr2,
                      int g,
                      int e,
                      java.lang.Object o)
               throws DicomException
Does the same as append(seq, item_nr, seq2, item_nr2, dname, o} using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

get

public java.lang.Object get(int seq,
                            int item_nr,
                            int seq2,
                            int item_nr2,
                            int dname)
                     throws DicomException
Returns the first value of element 'dname'. This element is located in a sequence-hierarchy of depth 2.
If the sequence, item or element don't already exist, 'null' is returned.

Throws:
DicomException

get_ge

public java.lang.Object get_ge(int seq,
                               int item_nr,
                               int seq2,
                               int item_nr2,
                               int g,
                               int e)
                        throws DicomException
Does the same as get(seq, item_nr, seq2, item_nr2, dname} using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

get

public java.lang.Object get(int seq,
                            int item_nr,
                            int seq2,
                            int item_nr2,
                            int dname,
                            int i)
                     throws DicomException
Returns the value at index 'i' of element 'dname'. This element is located in a sequence-hierarchy of depth 2.
If the sequence, item or element don't already exist, 'null' is returned. If the index exceeds the bounds of the element, a DicomException is thrown.

Throws:
DicomException

get_ge

public java.lang.Object get_ge(int seq,
                               int item_nr,
                               int seq2,
                               int item_nr2,
                               int g,
                               int e,
                               int i)
                        throws DicomException
Does the same as get(seq, item_nr, seq2, item_nr2, dname, i} using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

getS

public java.lang.String getS(int seq,
                             int item_nr,
                             int seq2,
                             int item_nr2,
                             int dname)
                      throws DicomException
Gets the same value as get(seq, item_nr, seq2, item_nr2, dname} and tries to return it as a String. If the value doesn't exist, 'null' is returned.

Throws:
DicomException

getS_ge

public java.lang.String getS_ge(int seq,
                                int item_nr,
                                int seq2,
                                int item_nr2,
                                int g,
                                int e)
                         throws DicomException
Does the same as getS(seq, item_nr, seq2, item_nr2, dname} using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

getS

public java.lang.String getS(int seq,
                             int item_nr,
                             int seq2,
                             int item_nr2,
                             int dname,
                             int i)
                      throws DicomException
Gets the same value as get(seq, item_nr, seq2, item_nr2, dname, i} and tries to return it as a String. If the value doesn't exist, 'null' is returned.

Throws:
DicomException

getS_ge

public java.lang.String getS_ge(int seq,
                                int item_nr,
                                int seq2,
                                int item_nr2,
                                int g,
                                int e,
                                int i)
                         throws DicomException
Does the same as getS(seq, item_nr, seq2, item_nr2, dname, i} using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

getI

public int getI(int seq,
                int item_nr,
                int seq2,
                int item_nr2,
                int dname)
         throws DicomException
Gets the same value as get(seq, item_nr, seq2, item_nr2, dname} and tries to return it as an int. If the value doesn't exist, Integer.MAX_VALUE is returned.

Throws:
DicomException

getI_ge

public int getI_ge(int seq,
                   int item_nr,
                   int seq2,
                   int item_nr2,
                   int g,
                   int e)
            throws DicomException
Does the same as getI(seq, item_nr, seq2, item_nr2, dname} using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

getI

public int getI(int seq,
                int item_nr,
                int seq2,
                int item_nr2,
                int dname,
                int i)
         throws DicomException
Gets the same value as get(seq, item_nr, seq2, item_nr2, dname, i} and tries to return it as an int. If the value doesn't exist, Integer.MAX_VALUE is returned.

Throws:
DicomException

getI_ge

public int getI_ge(int seq,
                   int item_nr,
                   int seq2,
                   int item_nr2,
                   int g,
                   int e,
                   int i)
            throws DicomException
Does the same as getI(seq, item_nr, seq2, item_nr2, dname, i} using a (group, element)-pair in stead of a DDict-entry.

Throws:
DicomException

Trispark JDT
2.50.13

Copyright © 1999-2008 Trispark. All Rights Reserved.