Example #1
0
CRowSet* CFilterRowSet::NewRowset( PyRep* key )
{
    DBRowDescriptor* rowDesc = _GetRowDesc();
    PyIncRef( rowDesc );

    CRowSet* row = new CRowSet( &rowDesc );

    dict().SetItem( key , row );
    return row;
}
Example #2
0
PyPackedRow* CRowSet::NewRow()
{
    DBRowDescriptor* rowDesc = _GetRowDesc();
    PyIncRef( rowDesc );

    PyPackedRow* row = new PyPackedRow( rowDesc );

    list().AddItem( row );
	return row;
}
Example #3
0
PyPackedRow* CIndexedRowSet::NewRow( PyRep* key )
{
    DBRowDescriptor* rowDesc = _GetRowDesc();
    PyIncRef( rowDesc );

    PyPackedRow* row = new PyPackedRow( rowDesc );

    dict().SetItem( key , row );
    return row;
}