Class ASF_Object_ErrorCorrection

Description

The Error Correction Object defines the error correction method. This

enables different error correction schemes to be used during content creation. The Error Correction Object contains provisions for opaque information needed by the error correction engine for recovery. For example, if the error correction scheme were a simple N+1 parity scheme, then the value of N would have to be available in this object.

Note that this does not refer to the same thing as the Error Correction Type field in the Stream Properties Object.

Located in /ASF/Object/ErrorCorrection.php (line 61)

ASF_Object
   |
   --ASF_Object_ErrorCorrection
Method Summary
ASF_Object_ErrorCorrection __construct (Reader $reader, [ &$options = array()], Array $options)
Array getData ()
string getType ()
Variables

Inherited Variables

Inherited from ASF_Object

ASF_Object::$_options
ASF_Object::$_reader
Methods
Constructor __construct (line 76)

Constructs the class with given parameters and reads object related data from the ASF file.

  • access: public
ASF_Object_ErrorCorrection __construct (Reader $reader, [ &$options = array()], Array $options)
  • Reader $reader: The reader object.
  • Array $options: The options array.
  • &$options

Redefinition of:
ASF_Object::__construct()
Constructs the class with given parameters and options.
getData (line 99)

Returns the data specific to the error correction scheme. The structure for the Error Correction Data field is determined by the value stored in the Error Correction Type field.

  • access: public
Array getData ()
getType (line 90)

Returns the type of error correction.

  • access: public
string getType ()

Inherited Methods

Inherited From ASF_Object

ASF_Object::__construct()
ASF_Object::getIdentifier()
ASF_Object::getOffset()
ASF_Object::getOption()
ASF_Object::getOptions()
ASF_Object::getParent()
ASF_Object::getSize()
ASF_Object::setIdentifier()
ASF_Object::setOffset()
ASF_Object::setOption()
ASF_Object::setOptions()
ASF_Object::setParent()
ASF_Object::setSize()
ASF_Object::__get()
ASF_Object::__set()

Documentation generated on Fri, 05 Sep 2008 20:18:35 +0300 by phpDocumentor 1.4.1