Now C++ developer can write simpler code as
ArrayOfValues_Ptr pValues = new ArrayOfValues(); pValues->AddItem( toValue_varchar(mName) ); pValues->AddItem( toValue_double(70.5) ); pValues->AddItem( toValue_long(size) );
Instead of:
ArrayOfValues_Ptr pValues = new ArrayOfValues(); Value_varchar* pValueName = new Value_varchar(); pValueName->put_String( mName.begin(), mName.end() ); pValues->AddItem( pValueName ); Value_double* pValueD = new Value_double(); pValueD->put_Double( 70.5 ); pValues->AddItem( pValueD ); ...