Skip to content

File main.cpp

FileList > astrea > snapshot > snapshot > drivers > main.cpp

Go to the source code of this file

  • #include <algorithm>
  • #include <fstream>
  • #include <iostream>
  • #include <sqlite3.h>
  • #include <stdexcept>
  • #include <string>
  • #include <nlohmann/json.hpp>
  • #include <sqlite_orm/sqlite_orm.h>
  • #include <astro/state/orbital_data_formats/instances/GeneralPerturbations.hpp>
  • #include <astro/time/Date.hpp>
  • #include <snapshot/database/Database.hpp>
  • #include <snapshot/http-queries/spacetrack/SpaceTrackClient.hpp>

Public Functions

Type Name
int main (int argc, char ** argv)
Main entry point for the SpaceTrack data retrieval application. This will query SpaceTrack using the provided credentials, retrieve all available General Perturbations (GP) data, and store it in a local SQLite database.

Public Functions Documentation

function main

Main entry point for the SpaceTrack data retrieval application. This will query SpaceTrack using the provided credentials, retrieve all available General Perturbations (GP) data, and store it in a local SQLite database.

int main (
    int argc,
    char ** argv
) 

Parameters:

  • argc Command line argument count
  • argv Command line argument vector, where argv[1] is the SpaceTrack username and argv[2] is the password

Returns:

int Exit status code (0 for success)



The documentation for this class was generated from the following file astrea/snapshot/snapshot/drivers/main.cpp