Scaleform::FileConstants Scaleform::File Scaleform::DelegatedFile
class DelegatedFile : public File;
DelegatedFile is a file implementation that delegates all calls to the specified File pointer. This class can be used to create file wrappers, such as BufferedFile, that provide extra functionality.
DelegatedFile AddRef() is the file that it delegates to; this file pointer can only be specified on constructor.
Method |
Description |
Returns the number of bytes available to read from a stream without blocking. | |
Returns a file name path relative to the 'reference' directory. | |
Determines if the delegated file is usable (open). | |
Overridden method. Returns the length of the file. | |
Closes the file. | |
Causes any implementation's buffered data to be delivered to destination. | |
Resizes the delegated file. | |
DelegatedFile constructor. | |
Appends other file data from a stream. | |
File Information -return errno-based error code. Useful if any other function failed. | |
Overrridden method. Returns the length of the file. | |
Overridden method. Sets file position indicator in the delegated file. | |
Determines if the delegated file is writeable. | |
Blocking read, will read in the given number of bytes or less from the stream. | |
Overridden method. Seeks to a position in the delegated file. | |
Overridden method, returns the current position in the delegated file. | |
Skips (ignores) a given number of bytes in the delegated file. | |
Blocking write, writes in the given number of bytes or less to the stream. | |
Overridden method, returns the current position in the delegated file. |
SF_File.h