API Reference > OdBcf Namespace > OdBcf::Utils Namespace > Functions > OdBcf::Utils::parseBool Function
OdBcf::Utils::parseBool Function
Syntax
C++
bool parseBool(const OdString & value);

BcfUtils.h

Parameters 
Description 
const OdString & value 
[in] A string probably containing a boolean value.  

true if the string is equal to one of the values mentioned above; otherwise, the method returns false.

Checks if the specified string is equal to the "true" or "1".

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