API Reference > Classes > PRC Base Classes > OdPrcHostAppServices Class > OdPrcHostAppServices Methods > readFile Method > OdPrcHostAppServices::readFile Method (OdString &)
OdPrcHostAppServices::readFile Method (OdString &)
Syntax
C++
virtual OdPrcFilePtr readFile(const OdString & file);
Parameters 
Description 
const OdString & file 
[in] A path to the file to read data from.  

A smart pointer to an OdPrcFile object that contains the read data.

Reads content from a specified file, creates a .prc file, and returns a smart pointer to the created OdPrcFile object. 

 

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