API Reference > Classes > OdIfcFile Class > OdIfcFile Methods > readFile Method > OdIfcFile::readFile Method (OdString&)
OdIfcFile::readFile Method (OdString&)
Syntax
C++
virtual OdResult readFile(const OdString& fileName);
Parameters 
Description 
const OdString& fileName 
[in] A string that contains the full path to the input file to read data from.  

eOk if the data was successfully read; otherwise, the method returns an appropriate error code.

Reads data from a specified IFC file.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.