API Reference > OdBcf Namespace > OdBcf::Utils Namespace > Functions > OdBcf::Utils::formatDir Function
OdBcf::Utils::formatDir Function
Syntax
C++
BCF_EXPORT OdString formatDir(const OdString & dir);

BcfUtils.h

Parameters 
Description 
const OdString & dir 
[in] A string containing the path to the file.  

A string containing the formatted path.

Formats a specified path to a file according to the curren`t platform.

The function ensures that there is a separator on the end of the path.

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