company logo

Application :: unregisterTextDatabase - Unregister text database

The function is called in order to unregister a text database.

Notes:

Text databases are ungegistered by path name, i.e. a database handle referring to database with the same database path as the one passed as parameter will be removed. Text databases do not count registration calls, i.e. the text database will be removed, also when it had been registered several times.

Implementation details

Application  :: unregisterTextDatabase ( odaba::Database &cDatabase )

The text database passed in cDatabase will be removed from the list of registered text databases for the application.

Notes:

Text databases are ungegistered by path name, i.e. a database handle referring to database with the same database path as the one passed as parameter will be removed. Text databases do not count registration calls, i.e. the text database will be removed, also when it had been registered several times.

  • cDatabase - Database handle

    The database handle refers to an (usually) opened database. Calling functions with invalid database handles may cause an exception. For checking the database handle, isValid() can be called.