#include <FileHandleC.h>
Inheritance diagram for Import::FileHandleC:
The data loaded into Demopaja can be accessed via ImportableI interface. This file handle class is used to hold that interface. Even if files fail to load the file handle will always be there, so the file handle works as kind of smart reference to the file.
This class is implemented by the system.
|
Default constructor.
|
|
Default constructor with reference to the original.
|
|
Default destructor.
|
|
Deep copy from a data block, see Edit::DataBlockI::copy().
Reimplemented from Edit::EditableI. |
|
Creates new file handle (used internally), see Edit::EditableI::create().
Reimplemented from Edit::EditableI. |
|
Creates new file handle.
Reimplemented from Edit::EditableI. |
|
Creates new file handle.
|
|
Get serialixation ID.
|
|
Returns the importable the file handle refers to. The return value can be NULL if the file is not present (failure in load, etc.). Always check the return value. |
|
Returns reference count (used internally).
|
|
Increase reference count (used internally).
|
|
Load editable from a Demopaja input stream.
Reimplemented from Edit::EditableI. |
|
Reset reference count (used internally).
|
|
Shallow copy from a editable, see Edit::EditableI::restore().
Reimplemented from Edit::EditableI. |
|
Save editable to a Demopaja output stream.
Reimplemented from Edit::EditableI. |
|
Set serialization ID. When the data is serialized out each file handle is given an ID which is used on to patch the file handles when the data is serialized in. The system sets this ID and it should not be changed.
|
|
Sets the importable the file handle refers to. Used internally.
|