HasTranscoding |
|
|
CanTranscode NewTranscoder SelectTranscoding |
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;