model_server/els/src/str_utils.cxx
/* copy genArrCharPtr and allocate storage for all strings that need to be copied */
copy genArrCharPtr and allocate storage for all strings that need to be copied
copy genArrCharPtr and allocate storage for all strings that need to be copied
void copy_gen_arr(genArrCharPtr& to, const genArrCharPtr& from)
{
    to.reset();
    to.provide(from.size());
    for (int i = 0; i < from.size(); i++)
    {
	char* temp = NULL;
	my_strcpy(temp, *from[i]);
	to.append(&temp);
    }
}
void copy_gen_arr ( genArrCharPtr & to , const genArrCharPtr & from ) { to . reset ( ) ; to . provide ( from . size ( ) ) ; for ( int i = 0 ; i < from . size ( ) ; i ++ ) { char * temp = NULL ; my_strcpy ( temp , * from [ i ] ) ; to . append ( & temp ) ; } }
copy genArrCharPtr and allocate storage for all strings that need to be copied
copy genArrCharPtr and allocate storage for all strings that need to be copied