#include <FileSystemIndexedIO.h>

Public Member Functions | |
| IE_CORE_DECLAREMEMBERPTR (FileSystemIndexedIO) | |
| FileSystemIndexedIO (const std::string &path, const IndexedIO::EntryID &root, IndexedIO::OpenMode mode) | |
| Open an existing device or create a new one. | |
| virtual | ~FileSystemIndexedIO () |
| virtual IndexedIO::OpenMode | openMode () const |
| Returns the mode with which the interface was created. | |
| IndexedIOInterfacePtr | resetRoot () const |
| Returns a new interface with the root set to the current directory. | |
| void | chdir (const IndexedIO::EntryID &name) |
| void | mkdir (const IndexedIO::EntryID &name) |
| IndexedIO::EntryID | pwd () |
| Retrieve the current directorys, relative to the root. | |
| IndexedIO::EntryList | ls (IndexedIOFilterPtr f=0) |
| IndexedIO::Entry | ls (const IndexedIO::EntryID &name) |
| Return details of a specific entry. | |
| unsigned long | rm (const IndexedIO::EntryID &name) |
| void | write (const IndexedIO::EntryID &name, const float *x, unsigned long arrayLength) |
| void | write (const IndexedIO::EntryID &name, const double *x, unsigned long arrayLength) |
| void | write (const IndexedIO::EntryID &name, const half *x, unsigned long arrayLength) |
| void | write (const IndexedIO::EntryID &name, const int *x, unsigned long arrayLength) |
| void | write (const IndexedIO::EntryID &name, const int64_t *x, unsigned long arrayLength) |
| void | write (const IndexedIO::EntryID &name, const uint64_t *x, unsigned long arrayLength) |
| void | write (const IndexedIO::EntryID &name, const unsigned int *x, unsigned long arrayLength) |
| void | write (const IndexedIO::EntryID &name, const char *x, unsigned long arrayLength) |
| void | write (const IndexedIO::EntryID &name, const unsigned char *x, unsigned long arrayLength) |
| void | write (const IndexedIO::EntryID &name, const short *x, unsigned long arrayLength) |
| void | write (const IndexedIO::EntryID &name, const unsigned short *x, unsigned long arrayLength) |
| void | write (const IndexedIO::EntryID &name, const std::string *x, unsigned long arrayLength) |
| void | write (const IndexedIO::EntryID &name, const float &x) |
| void | write (const IndexedIO::EntryID &name, const double &x) |
| void | write (const IndexedIO::EntryID &name, const half &x) |
| void | write (const IndexedIO::EntryID &name, const int &x) |
| void | write (const IndexedIO::EntryID &name, const int64_t &x) |
| void | write (const IndexedIO::EntryID &name, const uint64_t &x) |
| void | write (const IndexedIO::EntryID &name, const std::string &x) |
| void | write (const IndexedIO::EntryID &name, const unsigned int &x) |
| void | write (const IndexedIO::EntryID &name, const char &x) |
| void | write (const IndexedIO::EntryID &name, const unsigned char &x) |
| void | write (const IndexedIO::EntryID &name, const short &x) |
| void | write (const IndexedIO::EntryID &name, const unsigned short &x) |
| void | read (const IndexedIO::EntryID &name, float *&x, unsigned long arrayLength) |
| void | read (const IndexedIO::EntryID &name, double *&x, unsigned long arrayLength) |
| void | read (const IndexedIO::EntryID &name, half *&x, unsigned long arrayLength) |
| void | read (const IndexedIO::EntryID &name, int *&x, unsigned long arrayLength) |
| void | read (const IndexedIO::EntryID &name, int64_t *&x, unsigned long arrayLength) |
| void | read (const IndexedIO::EntryID &name, uint64_t *&x, unsigned long arrayLength) |
| void | read (const IndexedIO::EntryID &name, unsigned int *&x, unsigned long arrayLength) |
| void | read (const IndexedIO::EntryID &name, char *&x, unsigned long arrayLength) |
| void | read (const IndexedIO::EntryID &name, unsigned char *&x, unsigned long arrayLength) |
| void | read (const IndexedIO::EntryID &name, std::string *&x, unsigned long arrayLength) |
| void | read (const IndexedIO::EntryID &name, short *&x, unsigned long arrayLength) |
| void | read (const IndexedIO::EntryID &name, unsigned short *&x, unsigned long arrayLength) |
| void | read (const IndexedIO::EntryID &name, float &x) |
| void | read (const IndexedIO::EntryID &name, double &x) |
| void | read (const IndexedIO::EntryID &name, half &x) |
| void | read (const IndexedIO::EntryID &name, int &x) |
| void | read (const IndexedIO::EntryID &name, int64_t &x) |
| void | read (const IndexedIO::EntryID &name, uint64_t &x) |
| void | read (const IndexedIO::EntryID &name, std::string &x) |
| void | read (const IndexedIO::EntryID &name, unsigned int &x) |
| void | read (const IndexedIO::EntryID &name, char &x) |
| void | read (const IndexedIO::EntryID &name, unsigned char &x) |
| void | read (const IndexedIO::EntryID &name, short &x) |
| void | read (const IndexedIO::EntryID &name, unsigned short &x) |
Static Public Member Functions | |
| static IndexedIOInterfacePtr | create (const std::string &path, const IndexedIO::EntryID &root, IndexedIO::OpenMode mode) |
| Attempt to open the given device for read operations. Must throw an exception if unable to. | |
Protected Member Functions | |
| template<typename T > | |
| void | write (const IndexedIO::EntryID &name, const T *x, unsigned long arrayLength) |
| Write an array of POD types. | |
| template<typename T > | |
| void | read (const IndexedIO::EntryID &name, T *&x, unsigned long arrayLength) const |
| Read an array of POD types. | |
| template<typename T > | |
| void | write (const IndexedIO::EntryID &name, const T &x) |
| Write a POD type. | |
| template<typename T > | |
| void | read (const IndexedIO::EntryID &name, T &x) const |
| Read a POD type. | |
Protected Attributes | |
| IndexedIOPath | m_currentDirectory |
| IndexedIO::OpenMode | m_mode |
| The mode this device was opened with. | |
| FileSystemIndexedIO::FileSystemIndexedIO | ( | const std::string & | path, | |
| const IndexedIO::EntryID & | root, | |||
| IndexedIO::OpenMode | mode | |||
| ) |
Open an existing device or create a new one.
References IECore::IndexedIOPath::append(), IECore::IndexedIOPath::appended(), chdir(), IECore::IndexedIOPath::fullPath(), m_currentDirectory, m_mode, mkdir(), IECore::IndexedIO::Read, rm(), IECore::IndexedIOInterface::validateOpenMode(), and IECore::IndexedIO::Write.
Referenced by create(), and resetRoot().
| FileSystemIndexedIO::~FileSystemIndexedIO | ( | ) | [virtual] |
| void FileSystemIndexedIO::chdir | ( | const IndexedIO::EntryID & | name | ) | [virtual] |
Relocate to a different directory within the current device. Attempting to navigate above the current root directory will throw an exception.
| name | The directory to relocate to. Can be an absolute or relative path. Special directory names such as ".", "..", and "/" are supported. |
Implements IECore::IndexedIOInterface.
References IECore::IndexedIOPath::append(), IECore::IndexedIOPath::appended(), IECore::IndexedIOPath::fullPath(), m_currentDirectory, and IECore::IndexedIOInterface::readable().
Referenced by FileSystemIndexedIO().
| IndexedIOInterfacePtr FileSystemIndexedIO::create | ( | const std::string & | path, | |
| const IndexedIO::EntryID & | root, | |||
| IndexedIO::OpenMode | mode | |||
| ) | [static] |
Attempt to open the given device for read operations. Must throw an exception if unable to.
Reimplemented from IECore::IndexedIOInterface.
References FileSystemIndexedIO().
| IECore::FileSystemIndexedIO::IE_CORE_DECLAREMEMBERPTR | ( | FileSystemIndexedIO | ) |
| IndexedIO::Entry FileSystemIndexedIO::ls | ( | const IndexedIO::EntryID & | name | ) | [virtual] |
Return details of a specific entry.
Implements IECore::IndexedIOInterface.
References IECore::IndexedIOPath::appended(), IECore::IndexedIO::Directory, IECore::IndexedIO::File, IECore::IndexedIOPath::fullPath(), IECore::IndexedIO::Invalid, m_currentDirectory, and IECore::IndexedIOInterface::readable().
| IndexedIO::EntryList FileSystemIndexedIO::ls | ( | IndexedIOFilterPtr | f = 0 |
) | [virtual] |
Find file and/or directory names contained within the current index. Short names to the files/directories are always returned.
| f | A subclass of IndexedIOFilter to allow removal of entries which are of no conern. |
Implements IECore::IndexedIOInterface.
References IECore::IndexedIO::Directory, IECore::IndexedIO::File, IECore::IndexedIOPath::fullPath(), IECore::IndexedIO::Invalid, m_currentDirectory, and IECore::IndexedIOInterface::readable().
| void FileSystemIndexedIO::mkdir | ( | const IndexedIO::EntryID & | name | ) | [virtual] |
Create a new directory. Automatically creates parent directories if needed.
| name | The directory to create. |
Implements IECore::IndexedIOInterface.
References IECore::IndexedIOPath::appended(), IECore::IndexedIOPath::fullPath(), and m_currentDirectory.
Referenced by FileSystemIndexedIO().
| IndexedIO::OpenMode FileSystemIndexedIO::openMode | ( | ) | const [virtual] |
Returns the mode with which the interface was created.
Implements IECore::IndexedIOInterface.
References m_mode.
| IndexedIO::EntryID FileSystemIndexedIO::pwd | ( | ) | [virtual] |
Retrieve the current directorys, relative to the root.
Implements IECore::IndexedIOInterface.
References m_currentDirectory, IECore::IndexedIOInterface::readable(), and IECore::IndexedIOPath::relativePath().
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| T & | x | |||
| ) | const [inline, protected] |
Read a POD type.
References IECore::IndexedIOPath::appended(), IECore::IndexedIOPath::fullPath(), IECore::IndexedIO::Invalid, m_currentDirectory, and IECore::IndexedIOInterface::readable().
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| T *& | x, | |||
| unsigned long | arrayLength | |||
| ) | const [inline, protected] |
Read an array of POD types.
References IECore::IndexedIOPath::appended(), IECore::IndexedIOPath::fullPath(), IECore::IndexedIO::Invalid, m_currentDirectory, and IECore::IndexedIOInterface::readable().
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| unsigned short & | x | |||
| ) | [virtual] |
Read an unsigned char from an existing file
| name | The name of the file to be read | |
| x | Returns the data read. |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| short & | x | |||
| ) | [virtual] |
Read a short from an existing file
| name | The name of the file to be read | |
| x | Returns the data read. |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| unsigned char & | x | |||
| ) | [virtual] |
Read an unsigned char from an existing file
| name | The name of the file to be read | |
| x | Returns the data read. |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| char & | x | |||
| ) | [virtual] |
Read a char from an existing file
| name | The name of the file to be read | |
| x | Returns the data read. |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| unsigned int & | x | |||
| ) | [virtual] |
Read an unsigned int from an existing file
| name | The name of the file to be read | |
| x | Returns the data read. |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| std::string & | x | |||
| ) | [virtual] |
Read a string from an existing file
| name | The name of the file to be read | |
| x | Returns the data read. |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| uint64_t & | x | |||
| ) | [virtual] |
Read a long from an existing file
| name | The name of the file to be read | |
| x | Returns the data read. |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| int64_t & | x | |||
| ) | [virtual] |
Read a long from an existing file
| name | The name of the file to be read | |
| x | Returns the data read. |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| int & | x | |||
| ) | [virtual] |
Read an int from an existing file
| name | The name of the file to be read | |
| x | Returns the data read. |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| half & | x | |||
| ) | [virtual] |
Read a half from an existing file
| name | The name of the file to be read | |
| x | Returns the data read. |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| double & | x | |||
| ) | [virtual] |
Read a double from an existing file
| name | The name of the file to be read | |
| x | Returns the data read. |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| float & | x | |||
| ) | [virtual] |
Read a float from an existing file.
| name | The name of the file to be read | |
| x | Returns the data read. |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| unsigned short *& | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Read an unsigned short array from an existing file.
| name | The name of the file to be read | |
| x | The buffer to fill. If 0 is passed, then memory is allocated and should be freed by the caller. | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| short *& | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Read a short array from an existing file.
| name | The name of the file to be read | |
| x | The buffer to fill. If 0 is passed, then memory is allocated and should be freed by the caller. | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| std::string *& | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Read a string array from an existing file.
| name | The name of the file to be read | |
| x | The buffer to fill. If 0 is passed, then memory is allocated and should be freed by the caller. | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| unsigned char *& | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Read an unsigned char array from an existing file.
| name | The name of the file to be read | |
| x | The buffer to fill. If 0 is passed, then memory is allocated and should be freed by the caller. | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| char *& | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Read a char array from an existing file.
| name | The name of the file to be read | |
| x | The buffer to fill. If 0 is passed, then memory is allocated and should be freed by the caller. | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| unsigned int *& | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Read an unsigned int array from an existing file.
| name | The name of the file to be read | |
| x | The buffer to fill. If 0 is passed, then memory is allocated and should be freed by the caller. | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| uint64_t *& | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Read a long array from an existing file.
| name | The name of the file to be read | |
| x | The buffer to fill. If 0 is passed, then memory is allocated and should be freed by the caller. | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| int64_t *& | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Read a long array from an existing file.
| name | The name of the file to be read | |
| x | The buffer to fill. If 0 is passed, then memory is allocated and should be freed by the caller. | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| int *& | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Read an int array from an existing file.
| name | The name of the file to be read | |
| x | The buffer to fill. If 0 is passed, then memory is allocated and should be freed by the caller. | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| half *& | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Read a half array from an existing file.
| name | The name of the file to be read | |
| x | The buffer to fill. If 0 is passed, then memory is allocated and should be freed by the caller. | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| double *& | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Read a double array from an existing file.
| name | The name of the file to be read | |
| x | The buffer to fill. If 0 is passed, then memory is allocated and should be freed by the caller. | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::read | ( | const IndexedIO::EntryID & | name, | |
| float *& | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Read a float array from an existing file.
| name | The name of the file to be read | |
| x | The buffer to fill. If 0 is passed, then memory is allocated and should be freed by the caller. | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| IndexedIOInterfacePtr FileSystemIndexedIO::resetRoot | ( | ) | const [virtual] |
Returns a new interface with the root set to the current directory.
Implements IECore::IndexedIOInterface.
References IECore::IndexedIO::Append, IECore::IndexedIO::Exclusive, FileSystemIndexedIO(), IECore::IndexedIOPath::fullPath(), m_currentDirectory, m_mode, IECore::IndexedIO::Shared, and IECore::IndexedIO::Write.
| unsigned long FileSystemIndexedIO::rm | ( | const IndexedIO::EntryID & | name | ) | [virtual] |
Remove a specified file or directory. If an attempt is made to delete the current directory, the operation is permitted but the current directory is then undefined and must be reset using chdir with an absolute path.
Implements IECore::IndexedIOInterface.
References IECore::IndexedIOPath::appended(), IECore::IndexedIOPath::fullPath(), m_currentDirectory, and IECore::IndexedIOInterface::writable().
Referenced by FileSystemIndexedIO(), and write().
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const T & | x | |||
| ) | [inline, protected] |
Write a POD type.
References IECore::IndexedIO::Append, IECore::IndexedIOPath::appended(), IECore::IndexedIOPath::fullPath(), m_currentDirectory, m_mode, rm(), IECore::IndexedIOInterface::writable(), and IECore::IndexedIO::Write.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const T * | x, | |||
| unsigned long | arrayLength | |||
| ) | [inline, protected] |
Write an array of POD types.
References IECore::IndexedIO::Append, IECore::IndexedIOPath::appended(), IECore::IndexedIOPath::fullPath(), m_currentDirectory, m_mode, rm(), IECore::IndexedIOInterface::writable(), and IECore::IndexedIO::Write.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const unsigned short & | x | |||
| ) | [virtual] |
Create a new file containing the specified unsigned short
| name | The name of the file to be written | |
| x | The data to write |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const short & | x | |||
| ) | [virtual] |
Create a new file containing the specified short
| name | The name of the file to be written | |
| x | The data to write |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const unsigned char & | x | |||
| ) | [virtual] |
Create a new file containing the specified unsigned char
| name | The name of the file to be written | |
| x | The data to write |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const char & | x | |||
| ) | [virtual] |
Create a new file containing the specified char
| name | The name of the file to be written | |
| x | The data to write |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const unsigned int & | x | |||
| ) | [virtual] |
Create a new file containing the specified unsigned int
| name | The name of the file to be written | |
| x | The data to write |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const std::string & | x | |||
| ) | [virtual] |
Create a new file containing the specified string
| name | The name of the file to be written | |
| x | The data to write |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const uint64_t & | x | |||
| ) | [virtual] |
Create a new file containing the specified long
| name | The name of the file to be written | |
| x | The data to write |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const int64_t & | x | |||
| ) | [virtual] |
Create a new file containing the specified long
| name | The name of the file to be written | |
| x | The data to write |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const int & | x | |||
| ) | [virtual] |
Create a new file containing the specified int
| name | The name of the file to be written | |
| x | The data to write |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const half & | x | |||
| ) | [virtual] |
Create a new file containing the specified half
| name | The name of the file to be written | |
| x | The data to write |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const double & | x | |||
| ) | [virtual] |
Create a new file containing the specified double
| name | The name of the file to be written | |
| x | The data to write |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const float & | x | |||
| ) | [virtual] |
Create a new file containing the specified float
| name | The name of the file to be written | |
| x | The data to write |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const std::string * | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Create a new file containing the specified string array contents
| name | The name of the file to be written | |
| x | The data to write | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const unsigned short * | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Create a new file containing the specified unsigned short array contents
| name | The name of the file to be written | |
| x | The data to write | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const short * | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Create a new file containing the specified short array contents
| name | The name of the file to be written | |
| x | The data to write | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const unsigned char * | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Create a new file containing the specified unsigned char array contents
| name | The name of the file to be written | |
| x | The data to write | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const char * | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Create a new file containing the specified char array contents
| name | The name of the file to be written | |
| x | The data to write | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const unsigned int * | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Create a new file containing the specified unsigned int array contents
| name | The name of the file to be written | |
| x | The data to write | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const uint64_t * | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Create a new file containing the specified unsigned long array contents
| name | The name of the file to be written | |
| x | The data to write | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const int64_t * | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Create a new file containing the specified unsigned long array contents
| name | The name of the file to be written | |
| x | The data to write | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const int * | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Create a new file containing the specified unsigned int array contents
| name | The name of the file to be written | |
| x | The data to write | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const half * | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Create a new file containing the specified half array contents
| name | The name of the file to be written | |
| x | The data to write | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const double * | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Create a new file containing the specified double array contents
| name | The name of the file to be written | |
| x | The data to write | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
| void FileSystemIndexedIO::write | ( | const IndexedIO::EntryID & | name, | |
| const float * | x, | |||
| unsigned long | arrayLength | |||
| ) | [virtual] |
Create a new file containing the specified float array contents
| name | The name of the file to be written | |
| x | The data to write | |
| arrayLength | The number of elements in the array |
Implements IECore::IndexedIOInterface.
Referenced by chdir(), FileSystemIndexedIO(), ls(), mkdir(), pwd(), read(), resetRoot(), rm(), and write().
The mode this device was opened with.
Referenced by FileSystemIndexedIO(), openMode(), resetRoot(), and write().
1.5.8