API Reference > OdRx Classes > OdRxSystemServices Class > OdRxSystemServices Methods > OdRxSystemServices::getFileSize Method
OdRxSystemServices::getFileSize Method
Syntax
C++
virtual OdInt64 getFileSize(const OdString& filename) = 0;
Parameters 
Description 
const OdString& filename 
[in] Filename. 

Returns the size of the specified file.

On most platforms, this function will be implemented with the stat function (stat::st_size).

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