|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::IO::CompositeWriter::write | ( | const std::string & | filepath, |
| const Kakshya::CompositeArray & | array | ||
| ) |
Write a complete array in one call.
Opens with the array's layout, writes all its elements, then closes the file. A failed write still closes the file before returning, and a partial file may remain.
| filepath | Output path. |
| array | Source array. |
Definition at line 5 of file CompositeWriter.cpp.
References accepted, close(), MayaFlux::Kakshya::CompositeArray::layout(), open(), rows, MayaFlux::Kakshya::CompositeArray::size(), MayaFlux::Kakshya::CompositeArray::slice(), and write_rows().
Here is the call graph for this function: