CppEphem
Functions
convcoord.cpp File Reference
#include <stdio.h>
#include <getopt.h>
#include <map>
#include <string>
#include <time.h>
#include <algorithm>
#include "CppEphem.h"
#include "CEExecOptions.h"
Include dependency graph for convcoord.cpp:

Go to the source code of this file.

Functions

CEExecOptions DefineOpts ()
 Define the command line options for this program. More...
 
CESkyCoord GetInCoord (CEExecOptions &opts)
 Get the user supplied coordinates. More...
 
CESkyCoordType GetOutType (CEExecOptions &opts)
 
int main (int argc, char **argv)
 
void PrintCoordConvResults (const CESkyCoord &outcoord, const CESkyCoord &incoord, const CEDate &date, const CEObserver &obs)
 

Function Documentation

◆ DefineOpts()

CEExecOptions DefineOpts ( )

Define the command line options for this program.

Definition at line 36 of file convcoord.cpp.

◆ GetInCoord()

CESkyCoord GetInCoord ( CEExecOptions opts)
inline

Get the user supplied coordinates.

Definition at line 65 of file convcoord.cpp.

◆ GetOutType()

CESkyCoordType GetOutType ( CEExecOptions opts)

Definition at line 117 of file convcoord.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 194 of file convcoord.cpp.

◆ PrintCoordConvResults()

void PrintCoordConvResults ( const CESkyCoord outcoord,
const CESkyCoord incoord,
const CEDate date,
const CEObserver obs 
)

Definition at line 147 of file convcoord.cpp.