Fellow Oak DICOM
Search Results for

    Show / Hide Table of Contents

    Class DicomDatasetDumper

    Inheritance
    System.Object
    DicomDatasetDumper
    Implements
    IDicomDatasetWalker
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: FellowOakDicom.Log
    Assembly: fo-dicom.core.dll
    Syntax
    public class DicomDatasetDumper : IDicomDatasetWalker

    Constructors

    DicomDatasetDumper(StringBuilder, Int32, Int32)

    Declaration
    public DicomDatasetDumper(StringBuilder log, int width = 128, int valueLength = 82)
    Parameters
    Type Name Description
    System.Text.StringBuilder log
    System.Int32 width
    System.Int32 valueLength

    Methods

    OnBeginFragment(DicomFragmentSequence)

    Handler for traversing beginning of fragment.

    Declaration
    public bool OnBeginFragment(DicomFragmentSequence fragment)
    Parameters
    Type Name Description
    DicomFragmentSequence fragment

    Fragment sequence.

    Returns
    Type Description
    System.Boolean

    true if traversing completed without issues, false otherwise.

    OnBeginSequence(DicomSequence)

    Handler for traversing beginning of sequence.

    Declaration
    public bool OnBeginSequence(DicomSequence sequence)
    Parameters
    Type Name Description
    DicomSequence sequence

    Sequence to traverse.

    Returns
    Type Description
    System.Boolean

    true if traversing completed without issues, false otherwise.

    OnBeginSequenceItem(DicomDataset)

    Handler for traversing beginning of sequence item.

    Declaration
    public bool OnBeginSequenceItem(DicomDataset dataset)
    Parameters
    Type Name Description
    DicomDataset dataset

    Item dataset.

    Returns
    Type Description
    System.Boolean

    true if traversing completed without issues, false otherwise.

    OnBeginWalk()

    Handler for beginning the traversal.

    Declaration
    public void OnBeginWalk()

    OnElement(DicomElement)

    Handler for traversing a DICOM element.

    Declaration
    public bool OnElement(DicomElement element)
    Parameters
    Type Name Description
    DicomElement element

    Element to traverse.

    Returns
    Type Description
    System.Boolean

    true if traversing completed without issues, false otherwise.

    OnElementAsync(DicomElement)

    Asynchronous handler for traversing a DICOM element.

    Declaration
    public Task<bool> OnElementAsync(DicomElement element)
    Parameters
    Type Name Description
    DicomElement element

    Element to traverse.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Boolean>

    true if traversing completed without issues, false otherwise.

    OnEndFragment()

    Handler for traversing end of fragment.

    Declaration
    public bool OnEndFragment()
    Returns
    Type Description
    System.Boolean

    true if traversing completed without issues, false otherwise.

    OnEndSequence()

    Handler for traversing end of sequence.

    Declaration
    public bool OnEndSequence()
    Returns
    Type Description
    System.Boolean

    true if traversing completed without issues, false otherwise.

    OnEndSequenceItem()

    Handler for traversing end of sequence item.

    Declaration
    public bool OnEndSequenceItem()
    Returns
    Type Description
    System.Boolean

    true if traversing completed without issues, false otherwise.

    OnEndWalk()

    Handler for end of traversal.

    Declaration
    public void OnEndWalk()

    OnFragmentItem(IByteBuffer)

    Handler for traversing fragment item.

    Declaration
    public bool OnFragmentItem(IByteBuffer item)
    Parameters
    Type Name Description
    IByteBuffer item

    Buffer containing the fragment item.

    Returns
    Type Description
    System.Boolean

    true if traversing completed without issues, false otherwise.

    OnFragmentItemAsync(IByteBuffer)

    Asynchronous handler for traversing fragment item.

    Declaration
    public Task<bool> OnFragmentItemAsync(IByteBuffer item)
    Parameters
    Type Name Description
    IByteBuffer item

    Buffer containing the fragment item.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Boolean>

    true if traversing completed without issues, false otherwise.

    Implements

    IDicomDatasetWalker

    Extension Methods

    LinqExtensions.IsOneOf<T>(T, T[])
    In This Article
    Back to top Copyright (c) 2012-2025 fo-dicom contributors