API Reference > Extension Classes > ExServices Classes > OdWrFileBuf Class > OdWrFileBuf Methods > OdWrFileBuf::open Method
OdWrFileBuf::open Method
Syntax
C++
virtual void open(const OdString& filename, Oda::FileShareMode shareMode = Oda::kShareDenyNo, Oda::FileAccessMode accessMode = Oda::kFileWrite, Oda::FileCreationDisposition creationDisposition = Oda::kCreateAlways);
Parameters 
Description 
const OdString& filename 
[in] Filename.  
Oda::FileShareMode shareMode = Oda::kShareDenyNo 
[in] Share mode.  
Oda::FileAccessMode accessMode = Oda::kFileWrite 
[in] Access mode.  
Oda::FileCreationDisposition creationDisposition = Oda::kCreateAlways 
[in] Creation disposition. 

Opens the specified file with this StreamBuf object.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.