Interface IDicomDatasetWalker
Interface for traversing a DICOM dataset.
Namespace: Dicom
Assembly: cs.temp.dll.dll
Syntax
public interface IDicomDatasetWalker
Methods
OnBeginFragment(DicomFragmentSequence)
Handler for traversing beginning of fragment.
Declaration
bool OnBeginFragment(DicomFragmentSequence fragment)
Parameters
| Type | Name | Description |
|---|---|---|
| DicomFragmentSequence | fragment | Fragment sequence. |
Returns
| Type | Description |
|---|---|
| Boolean | true if traversing completed without issues, false otherwise. |
OnBeginSequence(DicomSequence)
Handler for traversing beginning of sequence.
Declaration
bool OnBeginSequence(DicomSequence sequence)
Parameters
| Type | Name | Description |
|---|---|---|
| DicomSequence | sequence | Sequence to traverse. |
Returns
| Type | Description |
|---|---|
| Boolean | true if traversing completed without issues, false otherwise. |
OnBeginSequenceItem(DicomDataset)
Handler for traversing beginning of sequence item.
Declaration
bool OnBeginSequenceItem(DicomDataset dataset)
Parameters
| Type | Name | Description |
|---|---|---|
| DicomDataset | dataset | Item dataset. |
Returns
| Type | Description |
|---|---|
| Boolean | true if traversing completed without issues, false otherwise. |
OnBeginWalk()
Handler for beginning the traversal.
Declaration
void OnBeginWalk()
OnElement(DicomElement)
Handler for traversing a DICOM element.
Declaration
bool OnElement(DicomElement element)
Parameters
| Type | Name | Description |
|---|---|---|
| DicomElement | element | Element to traverse. |
Returns
| Type | Description |
|---|---|
| Boolean | true if traversing completed without issues, false otherwise. |
OnElementAsync(DicomElement)
Asynchronous handler for traversing a DICOM element.
Declaration
Task<bool> OnElementAsync(DicomElement element)
Parameters
| Type | Name | Description |
|---|---|---|
| DicomElement | element | Element to traverse. |
Returns
| Type | Description |
|---|---|
| Task<Boolean> | true if traversing completed without issues, false otherwise. |
OnEndFragment()
Handler for traversing end of fragment.
Declaration
bool OnEndFragment()
Returns
| Type | Description |
|---|---|
| Boolean | true if traversing completed without issues, false otherwise. |
OnEndSequence()
Handler for traversing end of sequence.
Declaration
bool OnEndSequence()
Returns
| Type | Description |
|---|---|
| Boolean | true if traversing completed without issues, false otherwise. |
OnEndSequenceItem()
Handler for traversing end of sequence item.
Declaration
bool OnEndSequenceItem()
Returns
| Type | Description |
|---|---|
| Boolean | true if traversing completed without issues, false otherwise. |
OnEndWalk()
Handler for end of traversal.
Declaration
void OnEndWalk()
OnFragmentItem(IByteBuffer)
Handler for traversing fragment item.
Declaration
bool OnFragmentItem(IByteBuffer item)
Parameters
| Type | Name | Description |
|---|---|---|
| IByteBuffer | item | Buffer containing the fragment item. |
Returns
| Type | Description |
|---|---|
| Boolean | true if traversing completed without issues, false otherwise. |
OnFragmentItemAsync(IByteBuffer)
Asynchronous handler for traversing fragment item.
Declaration
Task<bool> OnFragmentItemAsync(IByteBuffer item)
Parameters
| Type | Name | Description |
|---|---|---|
| IByteBuffer | item | Buffer containing the fragment item. |
Returns
| Type | Description |
|---|---|
| Task<Boolean> | true if traversing completed without issues, false otherwise. |