[−][src]Trait dicom_object::DicomObject
Trait type for a DICOM object. This is a high-level abstraction where an object is accessed and manipulated as dictionary of entries indexed by tags, which in turn may contain a DICOM object.
This trait interface is experimental and prone to sudden changes.
Associated Types
Loading content...Required methods
fn element(&self, tag: Tag) -> Result<Self::Element>
Retrieve a particular DICOM element by its tag.
fn element_by_name(&self, name: &str) -> Result<Self::Element>
Retrieve a particular DICOM element by its name.
Provided methods
fn meta(&self) -> Option<&FileMetaTable>
Retrieve the processed meta information table, if available.
This table will generally not be reachable from children objects in another object with a valid meta table. As such, it is recommended for this method to be called at the root of a DICOM object.
Implementors
impl<'a, T: 'a> DicomObject for &'a RootDicomObject<T> where
T: DicomObject,
[src]
T: DicomObject,
type Element = <T as DicomObject>::Element
fn element(&self, tag: Tag) -> Result<Self::Element>
[src]
fn element_by_name(&self, name: &str) -> Result<Self::Element>
[src]
impl<'s, D: 's> DicomObject for &'s InMemDicomObject<D> where
D: DataDictionary,
D: Clone,
[src]
D: DataDictionary,
D: Clone,
type Element = &'s InMemElement<D>
fn element(&self, tag: Tag) -> Result<Self::Element>
[src]
fn element_by_name(&self, name: &str) -> Result<Self::Element>
[src]
impl<T> DicomObject for RootDicomObject<T> where
T: DicomObject,
[src]
T: DicomObject,