[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

HasTranscoding

mixes in with Transcoder

HasTranscoding



Operations

Get list of all operations

CanTranscode
NewTranscoder
SelectTranscoding


Attributes

Get list of all attributes

Class HasTranscoding defines no new attributes.


Fields

No fields are defined by HasTranscoding or any of its superclasses.


Instance template

Class HasTranscoding cannot be instantiated.


Class definition

Define Class HasTranscoding;
    mixes in with Transcoder;

    // creating transcoders

    intrinsic NewTranscoder(sourceEncoding: Unsigned; targetEncoding: Unsigned; flags: Unsigned): Transcoder;
        // creates a new transient transcoder. Returns nil if requested translation is not supported.
        // call before starting an encoding translation, destroy the object when done.
        // transcoders may keep state information about the translation in progress
        // see Utilities.h for constants to use.
    
    operation CanTranscode(sourceEncoding: Unsigned; targetEncoding: Unsigned; flags: Unsigned): Boolean, noMethod;
        // true iff this transcoder can provide the requested kind of transcoding
        // will be called on prototype objects.
        // a prototype may support different sets of transcodings
    
    operation SelectTranscoding(sourceEncoding: Unsigned; targetEncoding: Unsigned; flags: Unsigned), noMethod;
        // select a particular transcoding to use
        // called on clone of prototype before being returned to client

end class;