API Reference > OdBcf Namespace > OdBcf::Utils Namespace > Functions > OdBcf::Utils::createTextChild Function
OdBcf::Utils::createTextChild Function
Syntax
C++
OdResult createTextChild(TiXmlElement * pParent, const char * name, const char * value);

BcfUtils.h

Parameters 
Description 
TiXmlElement * pParent 
[in] A raw pointer to the parent of the new element.  
const char * name 
[in] A string that contains the name of the new element.  
const char * value 
[in] A string that contains the value of the new element.  

eOk if the element was successfully created; otherwise, the method returns an appropriate error code.

Adds a new text child to a specified XML structure.

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