FlightGear next
|
#include <iomanip>
#include <sstream>
#include <iostream>
#include <string.h>
#include <time.h>
#include <cstdlib>
#include <cstdio>
#include <simgear/environment/metar.hxx>
#include <simgear/structure/exception.hxx>
#include <simgear/io/HTTPClient.hxx>
#include <simgear/io/HTTPMemoryRequest.hxx>
#include <simgear/io/raw_socket.hxx>
#include <simgear/timing/timestamp.hxx>
#include <simgear/misc/strutils.hxx>
Go to the source code of this file.
Macros | |
#define | R "" |
#define | G "" |
#define | Y "" |
#define | B "" |
#define | M "" |
#define | C "" |
#define | W "" |
#define | N "" |
#define | NaN SGMetarNaN |
Functions | |
const char * | azimuthName (double d) |
double | rnd (double r, int g=0) |
ostream & | operator<< (ostream &s, const SGMetarVisibility &v) |
void | printReport (SGMetar *m) |
void | printArgs (SGMetar *m, double airport_elevation) |
void | getproxy (string &host, string &port) |
void | usage () |
int | main (int argc, char *argv[]) |
#define B "" |
Definition at line 58 of file metar_main.cxx.
#define C "" |
Definition at line 60 of file metar_main.cxx.
#define G "" |
Definition at line 56 of file metar_main.cxx.
#define M "" |
Definition at line 59 of file metar_main.cxx.
#define N "" |
Definition at line 62 of file metar_main.cxx.
#define NaN SGMetarNaN |
#define R "" |
Definition at line 55 of file metar_main.cxx.
#define W "" |
Definition at line 61 of file metar_main.cxx.
#define Y "" |
Definition at line 57 of file metar_main.cxx.
const char * azimuthName | ( | double | d | ) |
Definition at line 67 of file metar_main.cxx.
void getproxy | ( | string & | host, |
string & | port ) |
Definition at line 245 of file metar_main.cxx.
int main | ( | int | argc, |
char * | argv[] ) |
Definition at line 304 of file metar_main.cxx.
ostream & operator<< | ( | ostream & | s, |
const SGMetarVisibility & | v ) |
Definition at line 92 of file metar_main.cxx.
void printArgs | ( | SGMetar * | m, |
double | airport_elevation ) |
Definition at line 128 of file metar_main.cxx.
void printReport | ( | SGMetar * | m | ) |
Definition at line 122 of file metar_main.cxx.
double rnd | ( | double | r, |
int | g = 0 ) |
Definition at line 85 of file metar_main.cxx.
void usage | ( | ) |
Definition at line 278 of file metar_main.cxx.