Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions
FileReference Class Reference

Keeps a reference-counted pointer to a file on disk. More...

Inheritance diagram for FileReference:
TypedReferenceCount TypedObject ReferenceCount TemporaryFile

List of all members.

Public Member Functions

 FileReference (Filename const filename)
Filename const getFilename ()
 Returns the filename of the reference.

Static Public Member Functions

static TypeHandle getClassType ()

Detailed Description

Keeps a reference-counted pointer to a file on disk.

As long as the FileReference is held, someone presumably has a use for this file.


Constructor & Destructor Documentation

FileReference ( Filename const  filename)

Member Function Documentation

static TypeHandle getClassType ( ) [static]

Reimplemented from TypedReferenceCount.

Reimplemented in TemporaryFile.

Filename const getFilename ( )

Returns the filename of the reference.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties