Reference » Service classes » MFile » MFile

Elgrint::MFile::MFile(MString,MFileMode) method

Declaration (see MFile.h):

explicit MFile(const MString& pathname, MFileMode fm = fmRead);

Description

Creates an object and associates it with the specified file.

Parameters:

Name Type Def value Description
pathname MString

The pathname of the file to open.

fm MFileMode fmRead

Open the file for reading or writing (appending or overwriting).

Details

Equivalent to using a default constructor, followed by open. Provided for convenience.

Remarks

Let us know

Please Contact us to report any errors on this page, or to suggest any improvements.

Miranor Home | About Miranor | About Elgrint | Create account | Login | Account settings | Contact Us | Privacy Policy | Site map

© Copyright 2014 by Miranor. All rights reserved. By using this site you agree to the Terms of Use.

Page last updated on August 10th, 2014.