Home | History | Annotate | Download | only in cpp

Lines Matching refs:FileIO

22 /// The <code>FileIO</code> class represents a regular file.
23 class FileIO : public Resource {
25 /// Default constructor for creating an is_null() <code>FileIO</code>
27 FileIO();
29 /// A constructor used to create a <code>FileIO</code> and associate it with
34 explicit FileIO(const InstanceHandle& instance);
36 /// The copy constructor for <code>FileIO</code>.
38 /// @param[in] other A reference to a <code>FileIO</code>.
39 FileIO(const FileIO& other);
43 /// success, the corresponding file is classified as "in use" by this FileIO
44 /// object until such time as the FileIO object is closed or destroyed.
68 /// Query() queries info about the file opened by this FileIO object. This
69 /// function will fail if the FileIO object has not been opened.
83 /// Touch() Updates time stamps for the file opened by this FileIO object.
84 /// This function will fail if the FileIO object has not been opened.
86 /// @param[in] last_access_time The last time the FileIO was accessed.
87 /// @param[in] last_modified_time The last time the FileIO was modified.
105 /// must remain valid as long as the FileIO resource is alive. If you use
112 /// So you must ensure that your buffer outlives the FileIO resource. If you
113 /// have one class and use the FileIO resource exclusively from that class
115 /// destroyed when your class is. But keep in mind that copying a pp::FileIO
118 /// pp::FileIO MyClass::GetFileIO();
119 /// where a copy of your FileIO resource could outlive your class, the
122 /// keep your FileIO resource and any output buffers tightly controlled in
129 /// callback on your class. This means that if the FileIO object outlives
161 /// FileIO.
179 /// partial write. The FileIO object must have been opened with write access.
198 /// then the extended area of the file is zero-filled. The FileIO object must
219 /// Close() cancels any IO that may be pending, and closes the FileIO object.
224 /// <strong>Note:</strong> If the FileIO object is destroyed, and it is still