API Reference > OdRx Classes > OdRxSystemServices Class > OdRxSystemServices Methods > OdRxSystemServices::accessFile Method
OdRxSystemServices::accessFile Method
Syntax
C++
virtual bool accessFile(const OdString& filename, int accessMode);
Parameters 
Description 
const OdString& filename 
[in] Filename.  
int accessMode 
[in] Access mode. 

Returns true if and only if the specified file can be accessed in the specified mode. 

 

accessMode must be a combination of one or more of the following: 

 

Name 
Value 
Description 
.. 
File exists. 
Oda::kFileRead 
0x80000000 
Read access. 
Oda::kFileWrite 
0x40000000 
Write access. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.