Functions | |
| FILEERROR | ReadHyperFile (BaseDocument *doc, GeListNode *node, const Filename &filename, Int32 ident, maxon::String *warning_string) |
| FILEERROR | WriteHyperFile (BaseDocument *doc, GeListNode *node, const Filename &filename, Int32 ident) |
| FILEERROR ReadHyperFile | ( | BaseDocument * | doc, |
| GeListNode * | node, | ||
| const Filename & | filename, | ||
| Int32 | ident, | ||
| maxon::String * | warning_string | ||
| ) |
Reads a single list node from a hyper file on disk.
The read data replaces the data in node.
| [in] | doc | The document of node. The caller owns the pointed document. |
| [out] | node | The node to read to. Must be allocated before the call. The caller owns the pointed node. |
| [in] | filename | A valid filename to read from. |
| [in] | ident | A unique file identification. |
| [in] | warning_string | Assigned additional error information if passed. The caller owns the pointed string. |
| FILEERROR WriteHyperFile | ( | BaseDocument * | doc, |
| GeListNode * | node, | ||
| const Filename & | filename, | ||
| Int32 | ident | ||
| ) |
Writes a single list node to disk as a hyper file.
| [in] | doc | The document of node. The caller owns the pointed document. |
| [in] | node | The node to write. The caller owns the pointed node. |
| [in] | filename | A valid filename to write to. |
| [in] | ident | A unique file identification. |