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

Opens the specified file with this StreamBuf object.

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