General Purpose Geodetic Library
|
#include <signal.h>
#include <string.h>
#include <unistd.h>
#include <QtCore/QCoreApplication>
#include <QtCore/QDir>
#include <QtCore/QFileInfo>
#include <QtCore/QSettings>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtGui/QApplication>
#include <SgIdentities.h>
#include <SgLogger.h>
#include <SgVgosDb.h>
#include <SgVlbiSession.h>
#include "vgosDbCalc.h"
#include "VcCalc2SessionIfc.h"
Go to the source code of this file.
Functions | |
void | kai_ (short &kruc, UNUSED short &in, UNUSED short &iout, UNUSED short &istp, char *lkynm_chr, short &iveri, char *lkout_chr, UNUSED char *lfto_chr, short &ivero, UNUSED char *lfio_chr, short &kerr, size_t len1, size_t len2, UNUSED size_t len3, UNUSED size_t len4) |
void | wridr_ () |
void | ask_ (const char *lcode, const short &ntoc, const short &dim1, const short &dim2, const short &dim3, const short &nver, UNUSED const char *ltext_chr, UNUSED const short &ktype, short &kerr, UNUSED size_t len1, UNUSED size_t len2) |
void | mvrec_ (short &ntoc, short &kmode, short &knum, short &kerr) |
void | phist_ (short &nhist, const char *lhist_chr, size_t len) |
void | finis_ (UNUSED short par) |
void | datsv_ () |
void | adda_ (const short &ntoc, const char *lcode, const char *descrText, const short &dim1, const short &dim2, const short &dim3, size_t len1, size_t len2) |
void | addi_ (const short &ntoc, const char *lcode, const char *descrText, const short &dim1, const short &dim2, const short &dim3, size_t len1, size_t len2) |
void | addj_ (const short &ntoc, const char *lcode, const char *descrText, const short &dim1, const short &dim2, const short &dim3, size_t len1, size_t len2) |
void | add4_ (const short &ntoc, const char *lcode, const char *descrText, const short &dim1, const short &dim2, const short &dim3, size_t len1, size_t len2) |
void | addr_ (const short &ntoc, const char *lcode, const char *descrText, const short &dim1, const short &dim2, const short &dim3, size_t len1, size_t len2) |
void | dela_ (const short &ntoc, const char *lcode, size_t len) |
void | delr_ (const short &ntoc, const char *lcode, size_t len) |
void | geta_ (const char *lcode, char values[], const short &dim1, const short &dim2, const short &dim3, short numDims[], short &kerr, size_t len) |
void | geti_ (const char *lcode, short values[], const short &dim1, const short &dim2, const short &dim3, short numDims[], short &kerr, size_t len) |
void | get4_ (const char *lcode, double values[], const short &dim1, const short &dim2, const short &dim3, short numDims[], short &kerr, size_t len) |
void | puta_ (const char *lcode, const char vals[], const short &dim1, const short &dim2, const short &dim3, size_t len) |
void | puti_ (const char *lcode, const short vals[], const short &dim1, const short &dim2, const short &dim3, size_t len) |
void | putr_ (const char *lcode, const double vals[], const short &dim1, const short &dim2, const short &dim3, size_t len) |
void | put4_ (const char *lcode, const double vals[], const short &dim1, const short &dim2, const short &dim3, size_t len) |
void | puti_ (UNUSED char(&lcode)[14], UNUSED short valu[], UNUSED short *dim1, UNUSED short *dim2, UNUSED short *dim3, UNUSED size_t len) |
short | gethostname_ (char *hostName, size_t len) |
short | trimlen_ (char *chrs, size_t len) |
void | quit_calc_ (UNUSED short iPar[]) |
QString | fortArray2QString (const char *chrs, size_t len) |
void | qString2fortArray (const QString &str, char *chrs, size_t len) |
void | mimicCalcMain (UNUSED int iArg1, int iArg2, const char *sArg3, const char *sArg4) |
void | mimicCalcMain2 (UNUSED int iArg1, int iArg2, const char *sArg3, const char *sArg4, const QList< QString > &bands) |
Variables | |
VcCalc2SessionIfc | c2s |
QString | histIntroRec |
void add4_ | ( | const short & | ntoc, |
const char * | lcode, | ||
const char * | descrText, | ||
const short & | dim1, | ||
const short & | dim2, | ||
const short & | dim3, | ||
size_t | len1, | ||
size_t | len2 | ||
) |
Definition at line 220 of file vgosDbCalcSupport.cpp.
References c2s, fortArray2QString(), SgLogger::IO, logger, VcCalc2SessionIfc::mimicAdd4(), SgLogger::write(), and SgLogger::WRN.
void adda_ | ( | const short & | ntoc, |
const char * | lcode, | ||
const char * | descrText, | ||
const short & | dim1, | ||
const short & | dim2, | ||
const short & | dim3, | ||
size_t | len1, | ||
size_t | len2 | ||
) |
Definition at line 163 of file vgosDbCalcSupport.cpp.
References c2s, fortArray2QString(), SgLogger::IO, logger, VcCalc2SessionIfc::mimicAddA(), SgLogger::write(), and SgLogger::WRN.
void addi_ | ( | const short & | ntoc, |
const char * | lcode, | ||
const char * | descrText, | ||
const short & | dim1, | ||
const short & | dim2, | ||
const short & | dim3, | ||
size_t | len1, | ||
size_t | len2 | ||
) |
Definition at line 182 of file vgosDbCalcSupport.cpp.
References c2s, fortArray2QString(), SgLogger::IO, logger, VcCalc2SessionIfc::mimicAddI(), SgLogger::write(), and SgLogger::WRN.
void addj_ | ( | const short & | ntoc, |
const char * | lcode, | ||
const char * | descrText, | ||
const short & | dim1, | ||
const short & | dim2, | ||
const short & | dim3, | ||
size_t | len1, | ||
size_t | len2 | ||
) |
Definition at line 201 of file vgosDbCalcSupport.cpp.
References c2s, fortArray2QString(), SgLogger::IO, logger, VcCalc2SessionIfc::mimicAddJ(), SgLogger::write(), and SgLogger::WRN.
void addr_ | ( | const short & | ntoc, |
const char * | lcode, | ||
const char * | descrText, | ||
const short & | dim1, | ||
const short & | dim2, | ||
const short & | dim3, | ||
size_t | len1, | ||
size_t | len2 | ||
) |
Definition at line 239 of file vgosDbCalcSupport.cpp.
References c2s, fortArray2QString(), SgLogger::IO, logger, VcCalc2SessionIfc::mimicAddR(), SgLogger::write(), and SgLogger::WRN.
void ask_ | ( | const char * | lcode, |
const short & | ntoc, | ||
const short & | dim1, | ||
const short & | dim2, | ||
const short & | dim3, | ||
const short & | nver, | ||
UNUSED const char * | ltext_chr, | ||
UNUSED const short & | ktype, | ||
short & | kerr, | ||
UNUSED size_t | len1, | ||
UNUSED size_t | len2 | ||
) |
Definition at line 99 of file vgosDbCalcSupport.cpp.
References fortArray2QString(), SgLogger::IO, logger, SgLogger::write(), and SgLogger::WRN.
void datsv_ | ( | ) |
Definition at line 156 of file vgosDbCalcSupport.cpp.
Referenced by mimicCalcMain(), and mimicCalcMain2().
void dela_ | ( | const short & | ntoc, |
const char * | lcode, | ||
size_t | len | ||
) |
Definition at line 262 of file vgosDbCalcSupport.cpp.
References c2s, fortArray2QString(), SgLogger::IO, logger, VcCalc2SessionIfc::mimicDelA(), SgLogger::write(), and SgLogger::WRN.
void delr_ | ( | const short & | ntoc, |
const char * | lcode, | ||
size_t | len | ||
) |
Definition at line 275 of file vgosDbCalcSupport.cpp.
References c2s, fortArray2QString(), SgLogger::IO, logger, VcCalc2SessionIfc::mimicDelR(), SgLogger::write(), and SgLogger::WRN.
void finis_ | ( | UNUSED short | par | ) |
Definition at line 148 of file vgosDbCalcSupport.cpp.
References c2s, and VcCalc2SessionIfc::mimic_Finis().
QString fortArray2QString | ( | const char * | chrs, |
size_t | len | ||
) |
Definition at line 496 of file vgosDbCalcSupport.cpp.
Referenced by add4_(), adda_(), addi_(), addj_(), addr_(), ask_(), dela_(), delr_(), get4_(), geta_(), geti_(), phist_(), put4_(), puta_(), VcCalc2SessionIfc::putA_ati_cFlg(), VcCalc2SessionIfc::putA_ati_mess(), VcCalc2SessionIfc::putA_atm_cFlg(), VcCalc2SessionIfc::putA_atm_mess(), VcCalc2SessionIfc::putA_axo_cFlg(), VcCalc2SessionIfc::putA_axo_mess(), VcCalc2SessionIfc::putA_calcFlgN(), VcCalc2SessionIfc::putA_cti_cFlg(), VcCalc2SessionIfc::putA_cti_mess(), VcCalc2SessionIfc::putA_etd_cFlg(), VcCalc2SessionIfc::putA_etd_mess(), VcCalc2SessionIfc::putA_fUt1Text(), VcCalc2SessionIfc::putA_fWobText(), VcCalc2SessionIfc::putA_nut_cFlg(), VcCalc2SessionIfc::putA_nut_mess(), VcCalc2SessionIfc::putA_oce_cFlg(), VcCalc2SessionIfc::putA_oce_mess(), VcCalc2SessionIfc::putA_oce_stat(), VcCalc2SessionIfc::putA_pan_mess(), VcCalc2SessionIfc::putA_pep_mess(), VcCalc2SessionIfc::putA_plx_cFlg(), VcCalc2SessionIfc::putA_plx_mess(), VcCalc2SessionIfc::putA_ptd_cFlg(), VcCalc2SessionIfc::putA_ptd_mess(), VcCalc2SessionIfc::putA_rel_cFlg(), VcCalc2SessionIfc::putA_sit_mess(), VcCalc2SessionIfc::putA_star_ref(), VcCalc2SessionIfc::putA_str_cFlg(), VcCalc2SessionIfc::putA_str_mess(), VcCalc2SessionIfc::putA_tectPlNm(), VcCalc2SessionIfc::putA_the_mess(), VcCalc2SessionIfc::putA_ut1_cFlg(), VcCalc2SessionIfc::putA_ut1_mess(), VcCalc2SessionIfc::putA_ut1Intrp(), VcCalc2SessionIfc::putA_wob_cFlg(), VcCalc2SessionIfc::putA_wob_mess(), VcCalc2SessionIfc::putA_wobIntrp(), puti_(), and putr_().
void get4_ | ( | const char * | lcode, |
double | values[], | ||
const short & | dim1, | ||
const short & | dim2, | ||
const short & | dim3, | ||
short | numDims[], | ||
short & | kerr, | ||
size_t | len | ||
) |
Definition at line 341 of file vgosDbCalcSupport.cpp.
References c2s, fortArray2QString(), SgLogger::IO, logger, VcCalc2SessionIfc::mimicGet4(), SgLogger::write(), and SgLogger::WRN.
void geta_ | ( | const char * | lcode, |
char | values[], | ||
const short & | dim1, | ||
const short & | dim2, | ||
const short & | dim3, | ||
short | numDims[], | ||
short & | kerr, | ||
size_t | len | ||
) |
Definition at line 291 of file vgosDbCalcSupport.cpp.
References c2s, fortArray2QString(), SgLogger::IO, logger, VcCalc2SessionIfc::mimicGetA(), SgLogger::write(), and SgLogger::WRN.
short gethostname_ | ( | char * | hostName, |
size_t | len | ||
) |
Definition at line 455 of file vgosDbCalcSupport.cpp.
void geti_ | ( | const char * | lcode, |
short | values[], | ||
const short & | dim1, | ||
const short & | dim2, | ||
const short & | dim3, | ||
short | numDims[], | ||
short & | kerr, | ||
size_t | len | ||
) |
Definition at line 313 of file vgosDbCalcSupport.cpp.
References c2s, fortArray2QString(), SgLogger::IO, logger, VcCalc2SessionIfc::mimicGetI(), SgLogger::write(), and SgLogger::WRN.
void kai_ | ( | short & | kruc, |
UNUSED short & | in, | ||
UNUSED short & | iout, | ||
UNUSED short & | istp, | ||
char * | lkynm_chr, | ||
short & | iveri, | ||
char * | lkout_chr, | ||
UNUSED char * | lfto_chr, | ||
short & | ivero, | ||
UNUSED char * | lfio_chr, | ||
short & | kerr, | ||
size_t | len1, | ||
size_t | len2, | ||
UNUSED size_t | len3, | ||
UNUSED size_t | len4 | ||
) |
Definition at line 63 of file vgosDbCalcSupport.cpp.
References c2s, and VcCalc2SessionIfc::mimic_Kai().
void mimicCalcMain | ( | UNUSED int | iArg1, |
int | iArg2, | ||
const char * | sArg3, | ||
const char * | sArg4 | ||
) |
Definition at line 524 of file vgosDbCalcSupport.cpp.
References c2s, VcCalc2SessionIfc::CCM_Modern, datsv_(), drivr_(), extrnl_, f_true, VcCalc2SessionIfc::getCalcCallingMode(), initl_(), obsnt_(), start_(), tocup_(), and wridr_().
void mimicCalcMain2 | ( | UNUSED int | iArg1, |
int | iArg2, | ||
const char * | sArg3, | ||
const char * | sArg4, | ||
const QList< QString > & | bands | ||
) |
Definition at line 582 of file vgosDbCalcSupport.cpp.
References c2s, datsv_(), SgLogger::DBG, drivr_(), extrnl_, f_true, initl_(), logger, obsnt_(), VcCalc2SessionIfc::rewind(), SgLogger::SESSION, VcCalc2SessionIfc::setBandList(), VcCalc2SessionIfc::setCurrentBand(), start_(), tocup_(), wridr_(), and SgLogger::write().
void mvrec_ | ( | short & | ntoc, |
short & | kmode, | ||
short & | knum, | ||
short & | kerr | ||
) |
Definition at line 115 of file vgosDbCalcSupport.cpp.
References c2s, and VcCalc2SessionIfc::mimic_MvRec().
void phist_ | ( | short & | nhist, |
const char * | lhist_chr, | ||
size_t | len | ||
) |
Definition at line 123 of file vgosDbCalcSupport.cpp.
References c2s, fortArray2QString(), histIntroRec, and VcCalc2SessionIfc::mimic_pHist().
void put4_ | ( | const char * | lcode, |
const double | vals[], | ||
const short & | dim1, | ||
const short & | dim2, | ||
const short & | dim3, | ||
size_t | len | ||
) |
Definition at line 408 of file vgosDbCalcSupport.cpp.
References c2s, fortArray2QString(), SgLogger::IO, logger, VcCalc2SessionIfc::mimicPut4(), SgLogger::write(), and SgLogger::WRN.
void puta_ | ( | const char * | lcode, |
const char | vals[], | ||
const short & | dim1, | ||
const short & | dim2, | ||
const short & | dim3, | ||
size_t | len | ||
) |
Definition at line 366 of file vgosDbCalcSupport.cpp.
References c2s, fortArray2QString(), SgLogger::IO, logger, VcCalc2SessionIfc::mimicPutA(), SgLogger::write(), and SgLogger::WRN.
void puti_ | ( | const char * | lcode, |
const short | vals[], | ||
const short & | dim1, | ||
const short & | dim2, | ||
const short & | dim3, | ||
size_t | len | ||
) |
Definition at line 380 of file vgosDbCalcSupport.cpp.
References c2s, fortArray2QString(), SgLogger::IO, logger, VcCalc2SessionIfc::mimicPutI(), SgLogger::write(), and SgLogger::WRN.
void puti_ | ( | UNUSED char(&) | lcode[14], |
UNUSED short | valu[], | ||
UNUSED short * | dim1, | ||
UNUSED short * | dim2, | ||
UNUSED short * | dim3, | ||
UNUSED size_t | len | ||
) |
Definition at line 423 of file vgosDbCalcSupport.cpp.
void putr_ | ( | const char * | lcode, |
const double | vals[], | ||
const short & | dim1, | ||
const short & | dim2, | ||
const short & | dim3, | ||
size_t | len | ||
) |
Definition at line 394 of file vgosDbCalcSupport.cpp.
References c2s, fortArray2QString(), SgLogger::IO, logger, VcCalc2SessionIfc::mimicPutR(), SgLogger::write(), and SgLogger::WRN.
void qString2fortArray | ( | const QString & | str, |
char * | chrs, | ||
size_t | len | ||
) |
Definition at line 506 of file vgosDbCalcSupport.cpp.
void quit_calc_ | ( | UNUSED short | iPar[] | ) |
Definition at line 474 of file vgosDbCalcSupport.cpp.
References c2s, VcCalc2SessionIfc::CCM_Legacy, SgLogger::DBG, VcCalc2SessionIfc::getCalcCallingMode(), SgLogger::IO, logger, and SgLogger::write().
short trimlen_ | ( | char * | chrs, |
size_t | len | ||
) |
Definition at line 463 of file vgosDbCalcSupport.cpp.
void wridr_ | ( | ) |
Definition at line 91 of file vgosDbCalcSupport.cpp.
Referenced by mimicCalcMain(), and mimicCalcMain2().
QString histIntroRec |
Definition at line 56 of file vgosDbCalcSupport.cpp.
Referenced by createCalcOnnFile(), and phist_().