This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > EnsLib.DICOM.Util.TempData


class EnsLib.DICOM.Util.TempData extends %Library.RegisteredObject

This class serves as a temporary repository for data derived from a dataset. It is used by The ConvertStream() method of CalloutDCM when a dataset needs to be converted from one transfer syntax to another. The target stream is decomposed into the database and then re-composed onto another stream in the new binary format

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property TransferSyntax as %String;
This holds the selected transfer syntax
Property methods: TransferSyntaxDisplayToLogical(), TransferSyntaxGet(), TransferSyntaxIsValid(), TransferSyntaxLogicalToDisplay(), TransferSyntaxLogicalToOdbc(), TransferSyntaxNormalize(), TransferSyntaxSet()

Methods (Including Private)

private method %OnNew(initvalue As %CacheString) as %Status
Inherited description: This callback method is invoked by the %New() method to provide notification that a new instance of an object is being created.

If this method returns an error then the object will not be created.

It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:

Method %OnNew(dob as %Date = "", name as %Name = "") as %Status If instead of returning a %Status code this returns an oref and this oref is a subclass of the current class then this oref will be the one returned to the caller of %New method.

method Clear() as %Status
method ComposeStream(pStream, pTransferSyntax As %String) as %Status
Compose the dataset onto the target stream with the specified transfer syntax
method ExplicitGet() as %Boolean
Getter for Explicit property
method Initialize(pStream, pTransferSyntax As %String) as %Status
This method initializes the object from an adapted stream. The stream should contain data in a format specified by the transfer syntax.
method KeyGet() as %Integer
Accessor for the Key property
method ShouldStopDecomposition(pTag As %Integer) as %Boolean
This method can be overriden by subclasses to cause the decomposition of a data set to be exited early. This is useful for parsing file meta data and wire protocol command sets. For this implementation, decomposition should continue to the end of the data set

Inherited Members

Inherited Methods (Including Private)

FeedbackOpens in a new window