Examples/ArenaC/C_Explore_NodeTypes/C_Explore_NodeTypes.c
AC_ERROR ExploreBoolean(acNodeMap hNodeMap, acNode hNode, const char* nodeName)
{
	AC_ERROR err = AC_ERR_SUCCESS;

	// Retrieve value
	bool8_t value = false;

	err = acNodeMapGetBooleanValue(hNodeMap, nodeName, &value);
	if (err != AC_ERR_SUCCESS)
		return err;
	printf("%sValue: %i\n", TAB3, value);

	// Set value
	//{
	//	bool8_t boolValue = true;
	//	err = acBooleanSetValue(hNode, boolValue);
	//	if (err != AC_ERR_SUCCESS)
	//		return err;
	//}

	return err;
}
// explores nodes of boolean type
// (1) retrieves value
// (2) demonstrates value setter in a comment
explores nodes of boolean type
(1) retrieves value
(2) demonstrates value setter in a comment
explores nodes of boolean type ( 1 ) retrieves value ( 2 ) demonstrates value setter in a comment
AC_ERROR ExploreBoolean(acNodeMap hNodeMap, acNode hNode, const char* nodeName)
{
	AC_ERROR err = AC_ERR_SUCCESS;
	bool8_t value = false;
	err = acNodeMapGetBooleanValue(hNodeMap, nodeName, &value);
	if (err != AC_ERR_SUCCESS)
		return err;
	printf("%sValue: %i\n", TAB3, value);
	return err;
}
AC_ERROR ExploreBoolean ( acNodeMap hNodeMap , acNode hNode , const char * nodeName ) { AC_ERROR err = AC_ERR_SUCCESS ; bool8_t value = false ; err = acNodeMapGetBooleanValue ( hNodeMap , nodeName , & value ) ; if ( err != AC_ERR_SUCCESS ) return err ; printf ( " \n " , TAB3 , value ) ; return err ; }
explores nodes of boolean type
(1) retrieves value
(2) demonstrates value setter in a comment
explores nodes of boolean type ( 1 ) retrieves value ( 2 ) demonstrates value setter in a comment
// Retrieve value // Set value //{ //	bool8_t boolValue = true; //	err = acBooleanSetValue(hNode, boolValue); //	if (err != AC_ERR_SUCCESS) //		return err; //}