SkyComponentsImport

SkyComponentsImport Namespace Reference

Functions

std::tuple< bool, QString, CatalogsDB::CatalogObjectVector > get_objects (QSqlDatabase db, const std::list< int > &ids={ 1, 2 })
 
std::pair< bool, QSqlDatabaseget_skycomp_db ()
 
std::pair< bool, QSqlDatabaseget_skycomp_db (const QString &path)
 

Detailed Description

Some glue code to import _Internet_Resolved and _Manual_Additions into the new DSO database.

Function Documentation

◆ get_objects()

std::tuple< bool, QString, CatalogsDB::CatalogObjectVector > SkyComponentsImport::get_objects ( QSqlDatabase  db,
const std::list< int > &  ids = { 1, 2 } 
)
Returns
wether the operation succeeded, an error message and if it was successful the objects from the catalogs with ids.

Definition at line 35 of file import_skycomp.cpp.

◆ get_skycomp_db() [1/2]

std::pair< bool, QSqlDatabase > SkyComponentsImport::get_skycomp_db ( )

Get the skycomponent database from the standard path.

Returns
wether the database could be found and read and the database itself.

Definition at line 29 of file import_skycomp.cpp.

◆ get_skycomp_db() [2/2]

std::pair< bool, QSqlDatabase > SkyComponentsImport::get_skycomp_db ( const QString path)

Get the skycomponent database from the specified path.

Returns
wether the database could be found and read and the database itself.

Definition at line 15 of file import_skycomp.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue Aug 16 2022 04:01:04 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.