Namespace astrea::snapshot¶
Namespace List > astrea > snapshot
Classes¶
| Type | Name |
|---|---|
| class | DatabaseUtilityWrapper <class T> Database utility wrapper for the snapshot module. |
| class | EthzClient EthzClient class for interacting with the ETHZ satellite database API. |
| class | SpaceTrackClient SpaceTrackClient class for interacting with the SpaceTrack API. |
Public Types¶
| Type | Name |
|---|---|
| typedef uint32_t | EnumType Enumeration type for the snapshot module. |
Public Functions¶
| Type | Name |
|---|---|
| auto | get_snapshot () Gets the snapshot database instance. |
| DatabaseUtilityWrapper< typename std::decay< T >::type > | make_database (T && database) Creates a DatabaseUtilityWrapper instance for the given database. |
| auto | make_snapshot_wrapper () Creates a DatabaseUtilityWrapper for the snapshot database. |
Public Types Documentation¶
typedef EnumType¶
Enumeration type for the snapshot module.
Public Functions Documentation¶
function get_snapshot¶
Gets the snapshot database instance.
This function creates and returns a SQLite storage instance for the snapshot database.
Returns:
A sqlite_orm::Storage instance configured for the snapshot database.
function make_database¶
Creates a DatabaseUtilityWrapper instance for the given database.
template<typename T>
DatabaseUtilityWrapper < typename std::decay< T >::type > astrea::snapshot::make_database (
T && database
)
This function is a convenience wrapper to create a DatabaseUtilityWrapper for the provided database instance.
Template parameters:
TThe type of the database (e.g., sqlite_orm::Storage<GeneralPerturbations>).
Parameters:
databaseThe database instance to wrap.
Returns:
A DatabaseUtilityWrapper instance wrapping the provided database.
function make_snapshot_wrapper¶
Creates a DatabaseUtilityWrapper for the snapshot database.
This function creates a DatabaseUtilityWrapper instance for the snapshot database, allowing easy access to GeneralPerturbations data and other database operations.
Returns:
A DatabaseUtilityWrapper instance wrapping the snapshot database.
The documentation for this class was generated from the following file astrea/snapshot/snapshot/database/Database.hpp