CRowSet* CFilterRowSet::NewRowset( PyRep* key ) { DBRowDescriptor* rowDesc = _GetRowDesc(); PyIncRef( rowDesc ); CRowSet* row = new CRowSet( &rowDesc ); dict().SetItem( key , row ); return row; }
PyPackedRow* CRowSet::NewRow() { DBRowDescriptor* rowDesc = _GetRowDesc(); PyIncRef( rowDesc ); PyPackedRow* row = new PyPackedRow( rowDesc ); list().AddItem( row ); return row; }
PyPackedRow* CIndexedRowSet::NewRow( PyRep* key ) { DBRowDescriptor* rowDesc = _GetRowDesc(); PyIncRef( rowDesc ); PyPackedRow* row = new PyPackedRow( rowDesc ); dict().SetItem( key , row ); return row; }