DBRowDescriptor::DBRowDescriptor( const DBResultRow& row ) : PyObjectEx_Type1( new PyToken( "blue.DBRowDescriptor" ), _CreateArgs(), NULL ) { uint32 cc = row.ColumnCount(); for( uint32 i = 0; i < cc; i++ ) AddColumn( row.ColumnName( i ), row.ColumnType( i ) ); }
DBRowDescriptor::DBRowDescriptor( const DBQueryResult& res ) : PyObjectEx_Type1( new PyToken( "blue.DBRowDescriptor" ), _CreateArgs() ) { uint32 cc = res.ColumnCount(); for( uint32 i = 0; i < cc; i++ ) AddColumn( res.ColumnName( i ), res.ColumnType( i ) ); }
PasswordString::PasswordString( PyWString* password ) : PyObjectEx_Type2( _CreateArgs( password ), NULL ) { }
DBRowDescriptor::DBRowDescriptor() : PyObjectEx_Type1( new PyToken( "blue.DBRowDescriptor" ), _CreateArgs(), NULL ) { }
CRowSet::CRowSet( DBRowDescriptor** rowDesc ) : PyObjectEx_Type2( _CreateArgs(), _CreateKeywords( *rowDesc ) ) { *rowDesc = NULL; }
DBRowDescriptor::DBRowDescriptor(PyList* keywords) : PyObjectEx_Type1( new PyToken( "blue.DBRowDescriptor" ), _CreateArgs(), keywords ) { }
UserError::UserError( const char* msg ) : PyObjectEx_Type1( new PyToken( "ccp_exceptions.UserError" ), _CreateArgs( msg ), _CreateKeywords( msg ) ) { }
GPSTransportClosed::GPSTransportClosed( std::string& reason ) : PyObjectEx_Type1( new PyToken( "exceptions.GPSTransportClosed" ), _CreateArgs( reason.c_str() ), _CreateKeywords( reason.c_str() ) ) { }
GPSTransportClosed::GPSTransportClosed( const char* reason ) : PyObjectEx_Type1( new PyToken( "exceptions.GPSTransportClosed" ), _CreateArgs( reason ), _CreateKeywords( reason ) ) { }