PrimoBurner(tm) for C++  4.6
CD, DVD and Blu-ray Software Development Kit
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
UdfExtent Class Referenceabstract

Defines a UDF file extent. More...

#include <PrimoBurnerAPI.h>

Inherits Reference.

Public Member Functions

virtual uint32_t address ()=0
 Gets the logical block address at which the extent starts. More...
 
virtual uint64_t length ()=0
 Gets the extent length in bytes. More...
 
virtual uint16_t partition ()=0
 Reserved for future use. More...
 
virtual void setAddress (uint32_t address)=0
 Sets the logical block address at which the extent starts. More...
 
virtual void setLength (uint64_t extentLength)=0
 Sets the extent length in bytes. More...
 
virtual void setPartition (uint16_t partitionNumber)=0
 Reserved for future use. More...
 
- Public Member Functions inherited from Reference
virtual int32_t release () const =0
 Releases the instance. More...
 
virtual int32_t retain () const =0
 Retains the instance. More...
 
virtual int32_t retainCount () const =0
 Returns the current reference count. More...
 

Detailed Description

Defines a UDF file extent.

Member Function Documentation

virtual uint32_t address ( )
pure virtual

Gets the logical block address at which the extent starts.

Returns
LBA
virtual uint64_t length ( )
pure virtual

Gets the extent length in bytes.

Returns
length in bytes
virtual uint16_t partition ( )
pure virtual

Reserved for future use.

Returns
Always 0.
virtual void setAddress ( uint32_t  address)
pure virtual

Sets the logical block address at which the extent starts.

Parameters
addressLBA
virtual void setLength ( uint64_t  extentLength)
pure virtual

Sets the extent length in bytes.

All extents but the last one must have length multiple of 2048 bytes.

Parameters
extentLengthThe length must be multiple of BlockSize::DVD (2048 bytes).
virtual void setPartition ( uint16_t  partitionNumber)
pure virtual

Reserved for future use.

Parameters
partitionNumberMust be set to 0.