ADC Home > Reference Library > Reference > Audio > Carbon > Disc Recording Framework Reference

 


DRFile.h

Overview

File objects used in filesystem creation.

Discussion

A DRFile object is a subclass of DRFSObject and represents a file on the finished disc. A file can be either a pointer to an exiting file (residing on a hard drive for example) or can be created at burn time from data passed into the file object as requested. DRFiles can only exist inside of virtual DRFolder objects.



Classes

DRFile
Represents a file to be created on the disc.

Protocols

DRFileDataProduction
Informal protocol describing methods implemented by the file data producer.

Categories

DRFile(VirtualFiles)
DRFile(VirtualLinks)


Constants


DRLinkTypeFinderAlias


extern NSString* const DRLinkTypeFinderAlias;  
Discussion

A Finder alias.

Availability
Introduced in Mac OS X v10.2

DRLinkTypeHardLink


extern NSString* const DRLinkTypeHardLink;  
Discussion

A hard link.

Availability
Introduced in Mac OS X v10.2

DRLinkTypeSymbolicLink


extern NSString* const DRLinkTypeSymbolicLink;  
Discussion

A symbolic link.

Availability
Introduced in Mac OS X v10.2

Typedefs


DRFileFork


Index used for accessing the forks of a file.

typedef UInt32 DRFileFork;  
Discussion

The data fork and resource fork always have fixed indices. Other forks may be allowed in the future.

Enumerations


File Fork Types


enum { 
    DRFileForkData = 0, 
    DRFileForkResource = 1 
};  
Constants
DRFileForkData
The data fork contains the primary information for the file and is the fork used for files such as JPEGs, text files, etc.

DRFileForkResource
The resource fork contains secondary meta-data, which is not important to the primary content of the file and may safely be ignored when the file is sent to a filesystem or OS which does not support multiple forks. See Inside Macintosh: Resources for more information on the format of a resource fork.
Discussion

Enumerated constants used to select the type of file fork.


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.
Last Updated: 2008-04-01