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
DRLinkTypeHardLink
DRLinkTypeSymbolicLink

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.


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.

Enumerated Types

File Fork Types

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.

 

Last Updated: 2009-08-12