?? gpstk_wrap_mod.cxx
字號(hào):
#define SWIGTYPE_p_gpstk__ObjectNotFound swig_types[13] #define SWIGTYPE_p_std__ostream swig_types[14] #define SWIGTYPE_p_gpstk__InvalidArgumentException swig_types[15] #define SWIGTYPE_p_gpstk__IndexOutOfBoundsException swig_types[16] #define SWIGTYPE_p_gpstk__Exception swig_types[17] #define SWIGTYPE_p_gpstk__ConfigurationException swig_types[18] #define SWIGTYPE_p_gpstk__FileMissingException swig_types[19] #define SWIGTYPE_p_gpstk__SystemSemaphoreException swig_types[20] #define SWIGTYPE_p_gpstk__SystemPipeException swig_types[21] #define SWIGTYPE_p_gpstk__SystemQueueException swig_types[22] #define SWIGTYPE_p_timeval swig_types[23] #define SWIGTYPE_std__ptrdiff_t swig_types[24] #define SWIGTYPE_ptrdiff_t swig_types[25] #define SWIGTYPE_p_gpstk__InvalidRequest swig_types[26] #define SWIGTYPE_p_gpstk__AssertionFailure swig_types[27] #define SWIGTYPE_p_int swig_types[28] static swig_type_info *swig_types[30];/* -------- TYPES TABLE (END) -------- */#define SWIG_init Gpstk_Init#define SWIG_name "gpstk"#define SWIG_prefix ""#define SWIG_version "0.0"#ifdef __cplusplusextern "C" {#endif#ifdef MAC_TCL#pragma export on#endifSWIGEXPORT(int) SWIG_init(Tcl_Interp *);#ifdef MAC_TCL#pragma export off#endif#ifdef __cplusplus}#endif/* Includes the header in the wrapper code */#include "../../src/Exception.hpp"/* Includes the header in the wrapper code */#include "../../src/GPSZcount.hpp"/* Includes the header in the wrapper code */#include "../../src/DayTime.hpp"using namespace gpstk;#ifdef __cplusplusextern "C" {#endifstatic int_wrap_new_ExceptionLocation__SWIG_0(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { std::string *arg1 = 0 ; std::string *arg2 = 0 ; unsigned long *arg3 = 0 ; gpstk::ExceptionLocation *result; std::string temp1 ; std::string temp2 ; unsigned long temp3 ; if (SWIG_GetArgs(interp, objc, objv,"ooo:new_ExceptionLocation filename funcName lineNum ",NULL,NULL,NULL) == TCL_ERROR) SWIG_fail; { temp1 = std::string(Tcl_GetStringFromObj(objv[1],NULL)); arg1 = &temp1; } { temp2 = std::string(Tcl_GetStringFromObj(objv[2],NULL)); arg2 = &temp2; } { long ltemp; if (Tcl_GetLongFromObj(interp, objv[3], <emp) != TCL_OK) { SWIG_fail; } temp3 = (unsigned long) ltemp; arg3 = &temp3; } result = (gpstk::ExceptionLocation *)new gpstk::ExceptionLocation((std::string const &)*arg1,(std::string const &)*arg2,(unsigned long const &)*arg3); Tcl_SetObjResult(interp,SWIG_NewInstanceObj((void *) result, SWIGTYPE_p_gpstk__ExceptionLocation,0)); return TCL_OK; fail: return TCL_ERROR;}static int_wrap_new_ExceptionLocation__SWIG_1(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { std::string *arg1 = 0 ; std::string *arg2 = 0 ; gpstk::ExceptionLocation *result; std::string temp1 ; std::string temp2 ; if (SWIG_GetArgs(interp, objc, objv,"oo:new_ExceptionLocation filename funcName ",NULL,NULL) == TCL_ERROR) SWIG_fail; { temp1 = std::string(Tcl_GetStringFromObj(objv[1],NULL)); arg1 = &temp1; } { temp2 = std::string(Tcl_GetStringFromObj(objv[2],NULL)); arg2 = &temp2; } result = (gpstk::ExceptionLocation *)new gpstk::ExceptionLocation((std::string const &)*arg1,(std::string const &)*arg2); Tcl_SetObjResult(interp,SWIG_NewInstanceObj((void *) result, SWIGTYPE_p_gpstk__ExceptionLocation,0)); return TCL_OK; fail: return TCL_ERROR;}static int_wrap_new_ExceptionLocation__SWIG_2(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { std::string *arg1 = 0 ; gpstk::ExceptionLocation *result; std::string temp1 ; if (SWIG_GetArgs(interp, objc, objv,"o:new_ExceptionLocation filename ",NULL) == TCL_ERROR) SWIG_fail; { temp1 = std::string(Tcl_GetStringFromObj(objv[1],NULL)); arg1 = &temp1; } result = (gpstk::ExceptionLocation *)new gpstk::ExceptionLocation((std::string const &)*arg1); Tcl_SetObjResult(interp,SWIG_NewInstanceObj((void *) result, SWIGTYPE_p_gpstk__ExceptionLocation,0)); return TCL_OK; fail: return TCL_ERROR;}static int_wrap_new_ExceptionLocation__SWIG_3(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { gpstk::ExceptionLocation *result; if (SWIG_GetArgs(interp, objc, objv,":new_ExceptionLocation ") == TCL_ERROR) SWIG_fail; result = (gpstk::ExceptionLocation *)new gpstk::ExceptionLocation(); Tcl_SetObjResult(interp,SWIG_NewInstanceObj((void *) result, SWIGTYPE_p_gpstk__ExceptionLocation,0)); return TCL_OK; fail: return TCL_ERROR;}static int_wrap_new_ExceptionLocation(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { Tcl_Obj *CONST *argv = objv+1; int argc = objc-1; if (argc == 0) { return _wrap_new_ExceptionLocation__SWIG_3(clientData, interp, objc, objv); } if (argc == 1) { int _v; { _v = 1; } if (_v) { return _wrap_new_ExceptionLocation__SWIG_2(clientData, interp, objc, objv); } } if (argc == 2) { int _v; { _v = 1; } if (_v) { { _v = 1; } if (_v) { return _wrap_new_ExceptionLocation__SWIG_1(clientData, interp, objc, objv); } } } if (argc == 3) { int _v; { _v = 1; } if (_v) { { _v = 1; } if (_v) { { long tmp; if (Tcl_GetLongFromObj(NULL,argv[2],&tmp) == TCL_ERROR) _v = 0; else _v = 1; } if (_v) { return _wrap_new_ExceptionLocation__SWIG_0(clientData, interp, objc, objv); } } } } Tcl_SetResult(interp,(char *) "No matching function for overloaded 'new_ExceptionLocation'", TCL_STATIC); return TCL_ERROR;}static int_wrap_delete_ExceptionLocation(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { gpstk::ExceptionLocation *arg1 = (gpstk::ExceptionLocation *) 0 ; if (SWIG_GetArgs(interp, objc, objv,"o:delete_ExceptionLocation self ",NULL) == TCL_ERROR) SWIG_fail; if ((SWIG_ConvertPtr(objv[1], (void **) &arg1, SWIGTYPE_p_gpstk__ExceptionLocation,SWIG_POINTER_EXCEPTION | 0) != TCL_OK)) SWIG_fail; delete arg1; return TCL_OK; fail: return TCL_ERROR;}static int_wrap_ExceptionLocation_getFileName(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { gpstk::ExceptionLocation *arg1 = (gpstk::ExceptionLocation *) 0 ; std::string result; if (SWIG_GetArgs(interp, objc, objv,"o:ExceptionLocation_getFileName self ",NULL) == TCL_ERROR) SWIG_fail; if ((SWIG_ConvertPtr(objv[1], (void **) &arg1, SWIGTYPE_p_gpstk__ExceptionLocation,SWIG_POINTER_EXCEPTION | 0) != TCL_OK)) SWIG_fail; result = ((gpstk::ExceptionLocation const *)arg1)->getFileName(); { Tcl_SetStringObj(Tcl_GetObjResult(interp),(char*)(&result)->c_str(),(&result)->length()); } return TCL_OK; fail: return TCL_ERROR;}static int_wrap_ExceptionLocation_getFunctionName(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { gpstk::ExceptionLocation *arg1 = (gpstk::ExceptionLocation *) 0 ; std::string result; if (SWIG_GetArgs(interp, objc, objv,"o:ExceptionLocation_getFunctionName self ",NULL) == TCL_ERROR) SWIG_fail; if ((SWIG_ConvertPtr(objv[1], (void **) &arg1, SWIGTYPE_p_gpstk__ExceptionLocation,SWIG_POINTER_EXCEPTION | 0) != TCL_OK)) SWIG_fail; result = ((gpstk::ExceptionLocation const *)arg1)->getFunctionName(); { Tcl_SetStringObj(Tcl_GetObjResult(interp),(char*)(&result)->c_str(),(&result)->length()); } return TCL_OK; fail: return TCL_ERROR;}static int_wrap_ExceptionLocation_getLineNumber(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { gpstk::ExceptionLocation *arg1 = (gpstk::ExceptionLocation *) 0 ; unsigned long result; if (SWIG_GetArgs(interp, objc, objv,"o:ExceptionLocation_getLineNumber self ",NULL) == TCL_ERROR) SWIG_fail; if ((SWIG_ConvertPtr(objv[1], (void **) &arg1, SWIGTYPE_p_gpstk__ExceptionLocation,SWIG_POINTER_EXCEPTION | 0) != TCL_OK)) SWIG_fail; result = (unsigned long)((gpstk::ExceptionLocation const *)arg1)->getLineNumber(); Tcl_SetObjResult(interp,Tcl_NewIntObj((long) result)); return TCL_OK; fail: return TCL_ERROR;}static int_wrap_ExceptionLocation_dump(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { gpstk::ExceptionLocation *arg1 = (gpstk::ExceptionLocation *) 0 ; std::ostream *arg2 = 0 ; if (SWIG_GetArgs(interp, objc, objv,"oo:ExceptionLocation_dump self s ",NULL,NULL) == TCL_ERROR) SWIG_fail; if ((SWIG_ConvertPtr(objv[1], (void **) &arg1, SWIGTYPE_p_gpstk__ExceptionLocation,SWIG_POINTER_EXCEPTION | 0) != TCL_OK)) SWIG_fail; if ((SWIG_ConvertPtr(objv[2], (void **) &arg2, SWIGTYPE_p_std__ostream,SWIG_POINTER_EXCEPTION | 0) != TCL_OK)) SWIG_fail; ((gpstk::ExceptionLocation const *)arg1)->dump(*arg2); return TCL_OK; fail: return TCL_ERROR;}static int_wrap_istream__SWIG_0(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { std::ostream *arg1 = 0 ; gpstk::ExceptionLocation *arg2 = 0 ; std::ostream *result; if (SWIG_GetArgs(interp, objc, objv,"oo:istream s e ",NULL,NULL) == TCL_ERROR) SWIG_fail; if ((SWIG_ConvertPtr(objv[1], (void **) &arg1, SWIGTYPE_p_std__ostream,SWIG_POINTER_EXCEPTION | 0) != TCL_OK)) SWIG_fail; if ((SWIG_ConvertPtr(objv[2], (void **) &arg2, SWIGTYPE_p_gpstk__ExceptionLocation,SWIG_POINTER_EXCEPTION | 0) != TCL_OK)) SWIG_fail; { std::ostream &_result_ref = operator <<(*arg1,(gpstk::ExceptionLocation const &)*arg2); result = (std::ostream *) &_result_ref; } Tcl_SetObjResult(interp,SWIG_NewInstanceObj((void *) result, SWIGTYPE_p_std__ostream,0)); return TCL_OK; fail: return TCL_ERROR;}static void swig_delete_ExceptionLocation(void *obj) {gpstk::ExceptionLocation *arg1 = (gpstk::ExceptionLocation *) obj;delete arg1;}static swig_method swig_gpstk_ExceptionLocation_methods[] = { {"getFileName", _wrap_ExceptionLocation_getFileName}, {"getFunctionName", _wrap_ExceptionLocation_getFunctionName}, {"getLineNumber", _wrap_ExceptionLocation_getLineNumber}, {"dump", _wrap_ExceptionLocation_dump}, {0,0}};static swig_attribute swig_gpstk_ExceptionLocation_attributes[] = { {0,0,0}};static swig_class *swig_gpstk_ExceptionLocation_bases[] = {0};static char *swig_gpstk_ExceptionLocation_base_names[] = {0};swig_class _wrap_class_gpstk_ExceptionLocation = { "ExceptionLocation", &SWIGTYPE_p_gpstk__ExceptionLocation,_wrap_new_ExceptionLocation, swig_delete_ExceptionLocation, swig_gpstk_ExceptionLocation_methods, swig_gpstk_ExceptionLocation_attributes, swig_gpstk_ExceptionLocation_bases,swig_gpstk_ExceptionLocation_base_names };static int_wrap_new_Exception__SWIG_0(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { gpstk::Exception *result; if (SWIG_GetArgs(interp, objc, objv,":new_Exception ") == TCL_ERROR) SWIG_fail; result = (gpstk::Exception *)new gpstk::Exception(); Tcl_SetObjResult(interp,SWIG_NewInstanceObj((void *) result, SWIGTYPE_p_gpstk__Exception,0)); return TCL_OK; fail: return TCL_ERROR;}static int_wrap_new_Exception__SWIG_1(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { std::string *arg1 = 0 ; unsigned long *arg2 = 0 ; gpstk::Exception::Severity *arg3 = 0 ; gpstk::Exception *result; std::string temp1 ; unsigned long temp2 ; gpstk::Exception::Severity temp3 ; if (SWIG_GetArgs(interp, objc, objv,"ooo:new_Exception errorText errorId severity ",NULL,NULL,NULL) == TCL_ERROR) SWIG_fail; { temp1 = std::string(Tcl_GetStringFromObj(objv[1],NULL)); arg1 = &temp1; } { long ltemp; if (Tcl_GetLongFromObj(interp, objv[2], <emp) != TCL_OK) { SWIG_fail; } temp2 = (unsigned long) ltemp; arg2 = &temp2; } { long ltemp; if (Tcl_GetLongFromObj(interp, objv[3], <emp) != TCL_OK) { SWIG_fail; } temp3 = (gpstk::Exception::Severity) ltemp; arg3 = &temp3; } result = (gpstk::Exception *)new gpstk::Exception((std::string const &)*arg1,(unsigned long const &)*arg2,(enum gpstk::Exception::Severity const &)*arg3); Tcl_SetObjResult(interp,SWIG_NewInstanceObj((void *) result, SWIGTYPE_p_gpstk__Exception,0)); return TCL_OK; fail: return TCL_ERROR;}static int_wrap_new_Exception__SWIG_2(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { std::string *arg1 = 0 ; unsigned long *arg2 = 0 ; gpstk::Exception *result; std::string temp1 ; unsigned long temp2 ; if (SWIG_GetArgs(interp, objc, objv,"oo:new_Exception errorText errorId ",NULL,NULL) == TCL_ERROR) SWIG_fail; { temp1 = std::string(Tcl_GetStringFromObj(objv[1],NULL)); arg1 = &temp1; } { long ltemp; if (Tcl_GetLongFromObj(interp, objv[2], <emp) != TCL_OK) { SWIG_fail; } temp2 = (unsigned long) ltemp; arg2 = &temp2; } result = (gpstk::Exception *)new gpstk::Exception((std::string const &)*arg1,(unsigned long const &)*arg2); Tcl_SetObjResult(interp,SWIG_NewInstanceObj((void *) result, SWIGTYPE_p_gpstk__Exception,0)); return TCL_OK; fail: return TCL_ERROR;}static int_wrap_new_Exception__SWIG_3(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv[]) { std::string *arg1 = 0 ; gpstk::Exception *result; std::string temp1 ; if (SWIG_GetArgs(interp, objc, objv,"o:new_Exception errorText ",NULL) == TCL_ERROR) SWIG_fail; { temp1 = std::string(Tcl_GetStringFromObj(objv[1],NULL)); arg1 = &temp1;
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -