API Reference > OdDAI Namespace > Classes > Repository Class > Repository Methods > readHeaderSection Method > Repository::readHeaderSection Method (OdString&)
Repository::readHeaderSection Method (OdString&)
Syntax
C++
static OdHeaderSectionPtr readHeaderSection(const OdString& fileName);
Parameters 
Description 
const OdString& fileName 
[in] A string that contains an IFC file's name.  

Returns a smart pointer to an instance of the OdHeaderSection class that contains read data.

Reads the header section data of a specified IFC file.

This method is used to extract information about the IFC file without reading all of its content.

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