Class: Ctp::CThostFtdcRspRepealField
- Inherits:
-
Object
- Object
- Ctp::CThostFtdcRspRepealField
- Defined in:
- ext/ctp/ctp.cxx
Instance Method Summary collapse
- #AccountID(*args) ⇒ Object
- #AccountID=(*args) ⇒ Object
- #BankAccount(*args) ⇒ Object
- #BankAccount=(*args) ⇒ Object
- #BankAccType(*args) ⇒ Object
- #BankAccType=(*args) ⇒ Object
- #BankBranchID(*args) ⇒ Object
- #BankBranchID=(*args) ⇒ Object
- #BankID(*args) ⇒ Object
- #BankID=(*args) ⇒ Object
- #BankPassWord(*args) ⇒ Object
- #BankPassWord=(*args) ⇒ Object
- #BankPwdFlag(*args) ⇒ Object
- #BankPwdFlag=(*args) ⇒ Object
- #BankRepealFlag(*args) ⇒ Object
- #BankRepealFlag=(*args) ⇒ Object
- #BankRepealSerial(*args) ⇒ Object
- #BankRepealSerial=(*args) ⇒ Object
- #BankSecuAcc(*args) ⇒ Object
- #BankSecuAcc=(*args) ⇒ Object
- #BankSecuAccType(*args) ⇒ Object
- #BankSecuAccType=(*args) ⇒ Object
- #BankSerial(*args) ⇒ Object
- #BankSerial=(*args) ⇒ Object
- #BrokerBranchID(*args) ⇒ Object
- #BrokerBranchID=(*args) ⇒ Object
- #BrokerFee(*args) ⇒ Object
- #BrokerFee=(*args) ⇒ Object
- #BrokerID(*args) ⇒ Object
- #BrokerID=(*args) ⇒ Object
- #BrokerIDByBank(*args) ⇒ Object
- #BrokerIDByBank=(*args) ⇒ Object
- #BrokerRepealFlag(*args) ⇒ Object
- #BrokerRepealFlag=(*args) ⇒ Object
- #CurrencyID(*args) ⇒ Object
- #CurrencyID=(*args) ⇒ Object
- #CustFee(*args) ⇒ Object
- #CustFee=(*args) ⇒ Object
- #CustomerName(*args) ⇒ Object
- #CustomerName=(*args) ⇒ Object
- #CustType(*args) ⇒ Object
- #CustType=(*args) ⇒ Object
- #DeviceID(*args) ⇒ Object
- #DeviceID=(*args) ⇒ Object
- #Digest(*args) ⇒ Object
- #Digest=(*args) ⇒ Object
- #ErrorID(*args) ⇒ Object
- #ErrorID=(*args) ⇒ Object
- #ErrorMsg(*args) ⇒ Object
- #ErrorMsg=(*args) ⇒ Object
- #FeePayFlag(*args) ⇒ Object
- #FeePayFlag=(*args) ⇒ Object
- #FutureFetchAmount(*args) ⇒ Object
- #FutureFetchAmount=(*args) ⇒ Object
- #FutureRepealSerial(*args) ⇒ Object
- #FutureRepealSerial=(*args) ⇒ Object
- #FutureSerial(*args) ⇒ Object
- #FutureSerial=(*args) ⇒ Object
- #IdCardType(*args) ⇒ Object
- #IdCardType=(*args) ⇒ Object
- #IdentifiedCardNo(*args) ⇒ Object
- #IdentifiedCardNo=(*args) ⇒ Object
- #initialize(*args) ⇒ Object constructor
- #InstallID(*args) ⇒ Object
- #InstallID=(*args) ⇒ Object
- #LastFragment(*args) ⇒ Object
- #LastFragment=(*args) ⇒ Object
- #Message(*args) ⇒ Object
- #Message=(*args) ⇒ Object
- #OperNo(*args) ⇒ Object
- #OperNo=(*args) ⇒ Object
- #Password(*args) ⇒ Object
- #Password=(*args) ⇒ Object
- #PlateRepealSerial(*args) ⇒ Object
- #PlateRepealSerial=(*args) ⇒ Object
- #PlateSerial(*args) ⇒ Object
- #PlateSerial=(*args) ⇒ Object
- #RepealedTimes(*args) ⇒ Object
- #RepealedTimes=(*args) ⇒ Object
- #RepealTimeInterval(*args) ⇒ Object
- #RepealTimeInterval=(*args) ⇒ Object
- #RequestID(*args) ⇒ Object
- #RequestID=(*args) ⇒ Object
- #SecuPwdFlag(*args) ⇒ Object
- #SecuPwdFlag=(*args) ⇒ Object
- #SessionID(*args) ⇒ Object
- #SessionID=(*args) ⇒ Object
- #TID(*args) ⇒ Object
- #TID=(*args) ⇒ Object
- #TradeAmount(*args) ⇒ Object
- #TradeAmount=(*args) ⇒ Object
- #TradeCode(*args) ⇒ Object
- #TradeCode=(*args) ⇒ Object
- #TradeDate(*args) ⇒ Object
- #TradeDate=(*args) ⇒ Object
- #TradeTime(*args) ⇒ Object
- #TradeTime=(*args) ⇒ Object
- #TradingDay(*args) ⇒ Object
- #TradingDay=(*args) ⇒ Object
- #TransferStatus(*args) ⇒ Object
- #TransferStatus=(*args) ⇒ Object
- #UserID(*args) ⇒ Object
- #UserID=(*args) ⇒ Object
- #VerifyCertNoFlag(*args) ⇒ Object
- #VerifyCertNoFlag=(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ Object
152920 152921 152922 152923 152924 152925 152926 152927 152928 152929 152930 152931 152932 152933 |
# File 'ext/ctp/ctp.cxx', line 152920
SWIGINTERN VALUE
_wrap_new_CThostFtdcRspRepealField(int argc, VALUE *argv, VALUE self) {
const char *classname SWIGUNUSED = "Ctp::CThostFtdcRspRepealField";
CThostFtdcRspRepealField *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
result = (CThostFtdcRspRepealField *)new CThostFtdcRspRepealField();
DATA_PTR(self) = result;
return self;
fail:
return Qnil;
}
|
Instance Method Details
#AccountID(*args) ⇒ Object
151427 151428 151429 151430 151431 151432 151433 151434 151435 151436 151437 151438 151439 151440 151441 151442 151443 151444 151445 151446 151447 151448 151449 151450 151451 151452 151453 151454 |
# File 'ext/ctp/ctp.cxx', line 151427
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_AccountID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","AccountID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->AccountID);
{
size_t size = SWIG_strnlen(result, 13);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#AccountID=(*args) ⇒ Object
151397 151398 151399 151400 151401 151402 151403 151404 151405 151406 151407 151408 151409 151410 151411 151412 151413 151414 151415 151416 151417 151418 151419 151420 151421 151422 151423 151424 |
# File 'ext/ctp/ctp.cxx', line 151397
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_AccountID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[13] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","AccountID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 13);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [13]","AccountID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->AccountID,arg2,13*sizeof(char));
else memset(arg1->AccountID,0,13*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BankAccount(*args) ⇒ Object
151307 151308 151309 151310 151311 151312 151313 151314 151315 151316 151317 151318 151319 151320 151321 151322 151323 151324 151325 151326 151327 151328 151329 151330 151331 151332 151333 151334 |
# File 'ext/ctp/ctp.cxx', line 151307
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankAccount_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankAccount", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->BankAccount);
{
size_t size = SWIG_strnlen(result, 41);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BankAccount=(*args) ⇒ Object
151277 151278 151279 151280 151281 151282 151283 151284 151285 151286 151287 151288 151289 151290 151291 151292 151293 151294 151295 151296 151297 151298 151299 151300 151301 151302 151303 151304 |
# File 'ext/ctp/ctp.cxx', line 151277
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankAccount_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[41] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankAccount", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 41);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [41]","BankAccount", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BankAccount,arg2,41*sizeof(char));
else memset(arg1->BankAccount,0,41*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BankAccType(*args) ⇒ Object
152210 152211 152212 152213 152214 152215 152216 152217 152218 152219 152220 152221 152222 152223 152224 152225 152226 152227 152228 152229 152230 152231 |
# File 'ext/ctp/ctp.cxx', line 152210
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankAccType_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcBankAccTypeType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankAccType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcBankAccTypeType) ((arg1)->BankAccType);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#BankAccType=(*args) ⇒ Object
152181 152182 152183 152184 152185 152186 152187 152188 152189 152190 152191 152192 152193 152194 152195 152196 152197 152198 152199 152200 152201 152202 152203 152204 152205 152206 152207 |
# File 'ext/ctp/ctp.cxx', line 152181
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankAccType_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcBankAccTypeType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankAccType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcBankAccTypeType","BankAccType", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcBankAccTypeType >(val2);
if (arg1) (arg1)->BankAccType = arg2;
return Qnil;
fail:
return Qnil;
}
|
#BankBranchID(*args) ⇒ Object
150502 150503 150504 150505 150506 150507 150508 150509 150510 150511 150512 150513 150514 150515 150516 150517 150518 150519 150520 150521 150522 150523 150524 150525 150526 150527 150528 150529 |
# File 'ext/ctp/ctp.cxx', line 150502
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankBranchID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankBranchID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->BankBranchID);
{
size_t size = SWIG_strnlen(result, 5);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BankBranchID=(*args) ⇒ Object
150472 150473 150474 150475 150476 150477 150478 150479 150480 150481 150482 150483 150484 150485 150486 150487 150488 150489 150490 150491 150492 150493 150494 150495 150496 150497 150498 150499 |
# File 'ext/ctp/ctp.cxx', line 150472
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankBranchID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[5] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankBranchID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 5);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [5]","BankBranchID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BankBranchID,arg2,5*sizeof(char));
else memset(arg1->BankBranchID,0,5*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BankID(*args) ⇒ Object
150442 150443 150444 150445 150446 150447 150448 150449 150450 150451 150452 150453 150454 150455 150456 150457 150458 150459 150460 150461 150462 150463 150464 150465 150466 150467 150468 150469 |
# File 'ext/ctp/ctp.cxx', line 150442
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->BankID);
{
size_t size = SWIG_strnlen(result, 4);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BankID=(*args) ⇒ Object
150412 150413 150414 150415 150416 150417 150418 150419 150420 150421 150422 150423 150424 150425 150426 150427 150428 150429 150430 150431 150432 150433 150434 150435 150436 150437 150438 150439 |
# File 'ext/ctp/ctp.cxx', line 150412
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[4] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 4);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [4]","BankID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BankID,arg2,4*sizeof(char));
else memset(arg1->BankID,0,4*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BankPassWord(*args) ⇒ Object
151367 151368 151369 151370 151371 151372 151373 151374 151375 151376 151377 151378 151379 151380 151381 151382 151383 151384 151385 151386 151387 151388 151389 151390 151391 151392 151393 151394 |
# File 'ext/ctp/ctp.cxx', line 151367
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankPassWord_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankPassWord", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->BankPassWord);
{
size_t size = SWIG_strnlen(result, 41);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BankPassWord=(*args) ⇒ Object
151337 151338 151339 151340 151341 151342 151343 151344 151345 151346 151347 151348 151349 151350 151351 151352 151353 151354 151355 151356 151357 151358 151359 151360 151361 151362 151363 151364 |
# File 'ext/ctp/ctp.cxx', line 151337
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankPassWord_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[41] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankPassWord", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 41);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [41]","BankPassWord", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BankPassWord,arg2,41*sizeof(char));
else memset(arg1->BankPassWord,0,41*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BankPwdFlag(*args) ⇒ Object
152496 152497 152498 152499 152500 152501 152502 152503 152504 152505 152506 152507 152508 152509 152510 152511 152512 152513 152514 152515 152516 152517 |
# File 'ext/ctp/ctp.cxx', line 152496
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankPwdFlag_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcPwdFlagType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankPwdFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcPwdFlagType) ((arg1)->BankPwdFlag);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#BankPwdFlag=(*args) ⇒ Object
152467 152468 152469 152470 152471 152472 152473 152474 152475 152476 152477 152478 152479 152480 152481 152482 152483 152484 152485 152486 152487 152488 152489 152490 152491 152492 152493 |
# File 'ext/ctp/ctp.cxx', line 152467
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankPwdFlag_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcPwdFlagType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankPwdFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcPwdFlagType","BankPwdFlag", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcPwdFlagType >(val2);
if (arg1) (arg1)->BankPwdFlag = arg2;
return Qnil;
fail:
return Qnil;
}
|
#BankRepealFlag(*args) ⇒ Object
150109 150110 150111 150112 150113 150114 150115 150116 150117 150118 150119 150120 150121 150122 150123 150124 150125 150126 150127 150128 150129 150130 |
# File 'ext/ctp/ctp.cxx', line 150109
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankRepealFlag_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcBankRepealFlagType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankRepealFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcBankRepealFlagType) ((arg1)->BankRepealFlag);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#BankRepealFlag=(*args) ⇒ Object
150080 150081 150082 150083 150084 150085 150086 150087 150088 150089 150090 150091 150092 150093 150094 150095 150096 150097 150098 150099 150100 150101 150102 150103 150104 150105 150106 |
# File 'ext/ctp/ctp.cxx', line 150080
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankRepealFlag_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcBankRepealFlagType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankRepealFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcBankRepealFlagType","BankRepealFlag", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcBankRepealFlagType >(val2);
if (arg1) (arg1)->BankRepealFlag = arg2;
return Qnil;
fail:
return Qnil;
}
|
#BankRepealSerial(*args) ⇒ Object
150269 150270 150271 150272 150273 150274 150275 150276 150277 150278 150279 150280 150281 150282 150283 150284 150285 150286 150287 150288 150289 150290 150291 150292 150293 150294 150295 150296 |
# File 'ext/ctp/ctp.cxx', line 150269
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankRepealSerial_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankRepealSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->BankRepealSerial);
{
size_t size = SWIG_strnlen(result, 13);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BankRepealSerial=(*args) ⇒ Object
150239 150240 150241 150242 150243 150244 150245 150246 150247 150248 150249 150250 150251 150252 150253 150254 150255 150256 150257 150258 150259 150260 150261 150262 150263 150264 150265 150266 |
# File 'ext/ctp/ctp.cxx', line 150239
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankRepealSerial_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[13] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankRepealSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 13);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [13]","BankRepealSerial", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BankRepealSerial,arg2,13*sizeof(char));
else memset(arg1->BankRepealSerial,0,13*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BankSecuAcc(*args) ⇒ Object
152437 152438 152439 152440 152441 152442 152443 152444 152445 152446 152447 152448 152449 152450 152451 152452 152453 152454 152455 152456 152457 152458 152459 152460 152461 152462 152463 152464 |
# File 'ext/ctp/ctp.cxx', line 152437
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankSecuAcc_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankSecuAcc", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->BankSecuAcc);
{
size_t size = SWIG_strnlen(result, 41);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BankSecuAcc=(*args) ⇒ Object
152407 152408 152409 152410 152411 152412 152413 152414 152415 152416 152417 152418 152419 152420 152421 152422 152423 152424 152425 152426 152427 152428 152429 152430 152431 152432 152433 152434 |
# File 'ext/ctp/ctp.cxx', line 152407
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankSecuAcc_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[41] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankSecuAcc", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 41);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [41]","BankSecuAcc", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BankSecuAcc,arg2,41*sizeof(char));
else memset(arg1->BankSecuAcc,0,41*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BankSecuAccType(*args) ⇒ Object
152323 152324 152325 152326 152327 152328 152329 152330 152331 152332 152333 152334 152335 152336 152337 152338 152339 152340 152341 152342 152343 152344 |
# File 'ext/ctp/ctp.cxx', line 152323
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankSecuAccType_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcBankAccTypeType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankSecuAccType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcBankAccTypeType) ((arg1)->BankSecuAccType);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#BankSecuAccType=(*args) ⇒ Object
152294 152295 152296 152297 152298 152299 152300 152301 152302 152303 152304 152305 152306 152307 152308 152309 152310 152311 152312 152313 152314 152315 152316 152317 152318 152319 152320 |
# File 'ext/ctp/ctp.cxx', line 152294
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankSecuAccType_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcBankAccTypeType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankSecuAccType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcBankAccTypeType","BankSecuAccType", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcBankAccTypeType >(val2);
if (arg1) (arg1)->BankSecuAccType = arg2;
return Qnil;
fail:
return Qnil;
}
|
#BankSerial(*args) ⇒ Object
150802 150803 150804 150805 150806 150807 150808 150809 150810 150811 150812 150813 150814 150815 150816 150817 150818 150819 150820 150821 150822 150823 150824 150825 150826 150827 150828 150829 |
# File 'ext/ctp/ctp.cxx', line 150802
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankSerial_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->BankSerial);
{
size_t size = SWIG_strnlen(result, 13);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BankSerial=(*args) ⇒ Object
150772 150773 150774 150775 150776 150777 150778 150779 150780 150781 150782 150783 150784 150785 150786 150787 150788 150789 150790 150791 150792 150793 150794 150795 150796 150797 150798 150799 |
# File 'ext/ctp/ctp.cxx', line 150772
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BankSerial_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[13] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BankSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 13);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [13]","BankSerial", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BankSerial,arg2,13*sizeof(char));
else memset(arg1->BankSerial,0,13*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BrokerBranchID(*args) ⇒ Object
150622 150623 150624 150625 150626 150627 150628 150629 150630 150631 150632 150633 150634 150635 150636 150637 150638 150639 150640 150641 150642 150643 150644 150645 150646 150647 150648 150649 |
# File 'ext/ctp/ctp.cxx', line 150622
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BrokerBranchID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BrokerBranchID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->BrokerBranchID);
{
size_t size = SWIG_strnlen(result, 31);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BrokerBranchID=(*args) ⇒ Object
150592 150593 150594 150595 150596 150597 150598 150599 150600 150601 150602 150603 150604 150605 150606 150607 150608 150609 150610 150611 150612 150613 150614 150615 150616 150617 150618 150619 |
# File 'ext/ctp/ctp.cxx', line 150592
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BrokerBranchID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[31] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BrokerBranchID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 31);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [31]","BrokerBranchID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BrokerBranchID,arg2,31*sizeof(char));
else memset(arg1->BrokerBranchID,0,31*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BrokerFee(*args) ⇒ Object
152037 152038 152039 152040 152041 152042 152043 152044 152045 152046 152047 152048 152049 152050 152051 152052 152053 152054 152055 152056 152057 152058 |
# File 'ext/ctp/ctp.cxx', line 152037
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BrokerFee_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcFutureFeeType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BrokerFee", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcFutureFeeType) ((arg1)->BrokerFee);
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#BrokerFee=(*args) ⇒ Object
152008 152009 152010 152011 152012 152013 152014 152015 152016 152017 152018 152019 152020 152021 152022 152023 152024 152025 152026 152027 152028 152029 152030 152031 152032 152033 152034 |
# File 'ext/ctp/ctp.cxx', line 152008
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BrokerFee_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcFutureFeeType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BrokerFee", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcFutureFeeType","BrokerFee", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcFutureFeeType >(val2);
if (arg1) (arg1)->BrokerFee = arg2;
return Qnil;
fail:
return Qnil;
}
|
#BrokerID(*args) ⇒ Object
150562 150563 150564 150565 150566 150567 150568 150569 150570 150571 150572 150573 150574 150575 150576 150577 150578 150579 150580 150581 150582 150583 150584 150585 150586 150587 150588 150589 |
# File 'ext/ctp/ctp.cxx', line 150562
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BrokerID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BrokerID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->BrokerID);
{
size_t size = SWIG_strnlen(result, 11);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BrokerID=(*args) ⇒ Object
150532 150533 150534 150535 150536 150537 150538 150539 150540 150541 150542 150543 150544 150545 150546 150547 150548 150549 150550 150551 150552 150553 150554 150555 150556 150557 150558 150559 |
# File 'ext/ctp/ctp.cxx', line 150532
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BrokerID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[11] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BrokerID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 11);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [11]","BrokerID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BrokerID,arg2,11*sizeof(char));
else memset(arg1->BrokerID,0,11*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BrokerIDByBank(*args) ⇒ Object
152377 152378 152379 152380 152381 152382 152383 152384 152385 152386 152387 152388 152389 152390 152391 152392 152393 152394 152395 152396 152397 152398 152399 152400 152401 152402 152403 152404 |
# File 'ext/ctp/ctp.cxx', line 152377
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BrokerIDByBank_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BrokerIDByBank", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->BrokerIDByBank);
{
size_t size = SWIG_strnlen(result, 33);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#BrokerIDByBank=(*args) ⇒ Object
152347 152348 152349 152350 152351 152352 152353 152354 152355 152356 152357 152358 152359 152360 152361 152362 152363 152364 152365 152366 152367 152368 152369 152370 152371 152372 152373 152374 |
# File 'ext/ctp/ctp.cxx', line 152347
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BrokerIDByBank_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[33] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BrokerIDByBank", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 33);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [33]","BrokerIDByBank", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->BrokerIDByBank,arg2,33*sizeof(char));
else memset(arg1->BrokerIDByBank,0,33*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BrokerRepealFlag(*args) ⇒ Object
150162 150163 150164 150165 150166 150167 150168 150169 150170 150171 150172 150173 150174 150175 150176 150177 150178 150179 150180 150181 150182 150183 |
# File 'ext/ctp/ctp.cxx', line 150162
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BrokerRepealFlag_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcBrokerRepealFlagType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BrokerRepealFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcBrokerRepealFlagType) ((arg1)->BrokerRepealFlag);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#BrokerRepealFlag=(*args) ⇒ Object
150133 150134 150135 150136 150137 150138 150139 150140 150141 150142 150143 150144 150145 150146 150147 150148 150149 150150 150151 150152 150153 150154 150155 150156 150157 150158 150159 |
# File 'ext/ctp/ctp.cxx', line 150133
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_BrokerRepealFlag_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcBrokerRepealFlagType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","BrokerRepealFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcBrokerRepealFlagType","BrokerRepealFlag", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcBrokerRepealFlagType >(val2);
if (arg1) (arg1)->BrokerRepealFlag = arg2;
return Qnil;
fail:
return Qnil;
}
|
#CurrencyID(*args) ⇒ Object
151766 151767 151768 151769 151770 151771 151772 151773 151774 151775 151776 151777 151778 151779 151780 151781 151782 151783 151784 151785 151786 151787 151788 151789 151790 151791 151792 151793 |
# File 'ext/ctp/ctp.cxx', line 151766
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_CurrencyID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","CurrencyID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->CurrencyID);
{
size_t size = SWIG_strnlen(result, 4);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#CurrencyID=(*args) ⇒ Object
151736 151737 151738 151739 151740 151741 151742 151743 151744 151745 151746 151747 151748 151749 151750 151751 151752 151753 151754 151755 151756 151757 151758 151759 151760 151761 151762 151763 |
# File 'ext/ctp/ctp.cxx', line 151736
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_CurrencyID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[4] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","CurrencyID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 4);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [4]","CurrencyID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->CurrencyID,arg2,4*sizeof(char));
else memset(arg1->CurrencyID,0,4*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#CustFee(*args) ⇒ Object
151984 151985 151986 151987 151988 151989 151990 151991 151992 151993 151994 151995 151996 151997 151998 151999 152000 152001 152002 152003 152004 152005 |
# File 'ext/ctp/ctp.cxx', line 151984
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_CustFee_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcCustFeeType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","CustFee", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcCustFeeType) ((arg1)->CustFee);
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#CustFee=(*args) ⇒ Object
151955 151956 151957 151958 151959 151960 151961 151962 151963 151964 151965 151966 151967 151968 151969 151970 151971 151972 151973 151974 151975 151976 151977 151978 151979 151980 151981 |
# File 'ext/ctp/ctp.cxx', line 151955
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_CustFee_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcCustFeeType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","CustFee", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcCustFeeType","CustFee", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcCustFeeType >(val2);
if (arg1) (arg1)->CustFee = arg2;
return Qnil;
fail:
return Qnil;
}
|
#CustomerName(*args) ⇒ Object
151081 151082 151083 151084 151085 151086 151087 151088 151089 151090 151091 151092 151093 151094 151095 151096 151097 151098 151099 151100 151101 151102 151103 151104 151105 151106 151107 151108 |
# File 'ext/ctp/ctp.cxx', line 151081
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_CustomerName_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","CustomerName", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->CustomerName);
{
size_t size = SWIG_strnlen(result, 51);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#CustomerName=(*args) ⇒ Object
151051 151052 151053 151054 151055 151056 151057 151058 151059 151060 151061 151062 151063 151064 151065 151066 151067 151068 151069 151070 151071 151072 151073 151074 151075 151076 151077 151078 |
# File 'ext/ctp/ctp.cxx', line 151051
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_CustomerName_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[51] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","CustomerName", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 51);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [51]","CustomerName", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->CustomerName,arg2,51*sizeof(char));
else memset(arg1->CustomerName,0,51*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#CustType(*args) ⇒ Object
151253 151254 151255 151256 151257 151258 151259 151260 151261 151262 151263 151264 151265 151266 151267 151268 151269 151270 151271 151272 151273 151274 |
# File 'ext/ctp/ctp.cxx', line 151253
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_CustType_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcCustTypeType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","CustType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcCustTypeType) ((arg1)->CustType);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#CustType=(*args) ⇒ Object
151224 151225 151226 151227 151228 151229 151230 151231 151232 151233 151234 151235 151236 151237 151238 151239 151240 151241 151242 151243 151244 151245 151246 151247 151248 151249 151250 |
# File 'ext/ctp/ctp.cxx', line 151224
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_CustType_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcCustTypeType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","CustType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcCustTypeType","CustType", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcCustTypeType >(val2);
if (arg1) (arg1)->CustType = arg2;
return Qnil;
fail:
return Qnil;
}
|
#DeviceID(*args) ⇒ Object
152264 152265 152266 152267 152268 152269 152270 152271 152272 152273 152274 152275 152276 152277 152278 152279 152280 152281 152282 152283 152284 152285 152286 152287 152288 152289 152290 152291 |
# File 'ext/ctp/ctp.cxx', line 152264
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_DeviceID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","DeviceID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->DeviceID);
{
size_t size = SWIG_strnlen(result, 3);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#DeviceID=(*args) ⇒ Object
152234 152235 152236 152237 152238 152239 152240 152241 152242 152243 152244 152245 152246 152247 152248 152249 152250 152251 152252 152253 152254 152255 152256 152257 152258 152259 152260 152261 |
# File 'ext/ctp/ctp.cxx', line 152234
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_DeviceID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[3] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","DeviceID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 3);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [3]","DeviceID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->DeviceID,arg2,3*sizeof(char));
else memset(arg1->DeviceID,0,3*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#Digest(*args) ⇒ Object
152151 152152 152153 152154 152155 152156 152157 152158 152159 152160 152161 152162 152163 152164 152165 152166 152167 152168 152169 152170 152171 152172 152173 152174 152175 152176 152177 152178 |
# File 'ext/ctp/ctp.cxx', line 152151
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_Digest_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","Digest", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->Digest);
{
size_t size = SWIG_strnlen(result, 36);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#Digest=(*args) ⇒ Object
152121 152122 152123 152124 152125 152126 152127 152128 152129 152130 152131 152132 152133 152134 152135 152136 152137 152138 152139 152140 152141 152142 152143 152144 152145 152146 152147 152148 |
# File 'ext/ctp/ctp.cxx', line 152121
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_Digest_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[36] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","Digest", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 36);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [36]","Digest", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->Digest,arg2,36*sizeof(char));
else memset(arg1->Digest,0,36*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#ErrorID(*args) ⇒ Object
152821 152822 152823 152824 152825 152826 152827 152828 152829 152830 152831 152832 152833 152834 152835 152836 152837 152838 152839 152840 152841 152842 |
# File 'ext/ctp/ctp.cxx', line 152821
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_ErrorID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcErrorIDType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","ErrorID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcErrorIDType) ((arg1)->ErrorID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#ErrorID=(*args) ⇒ Object
152792 152793 152794 152795 152796 152797 152798 152799 152800 152801 152802 152803 152804 152805 152806 152807 152808 152809 152810 152811 152812 152813 152814 152815 152816 152817 152818 |
# File 'ext/ctp/ctp.cxx', line 152792
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_ErrorID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcErrorIDType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","ErrorID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcErrorIDType","ErrorID", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcErrorIDType >(val2);
if (arg1) (arg1)->ErrorID = arg2;
return Qnil;
fail:
return Qnil;
}
|
#ErrorMsg(*args) ⇒ Object
152875 152876 152877 152878 152879 152880 152881 152882 152883 152884 152885 152886 152887 152888 152889 152890 152891 152892 152893 152894 152895 152896 152897 152898 152899 152900 152901 152902 |
# File 'ext/ctp/ctp.cxx', line 152875
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_ErrorMsg_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","ErrorMsg", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->ErrorMsg);
{
size_t size = SWIG_strnlen(result, 81);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#ErrorMsg=(*args) ⇒ Object
152845 152846 152847 152848 152849 152850 152851 152852 152853 152854 152855 152856 152857 152858 152859 152860 152861 152862 152863 152864 152865 152866 152867 152868 152869 152870 152871 152872 |
# File 'ext/ctp/ctp.cxx', line 152845
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_ErrorMsg_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[81] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","ErrorMsg", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 81);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [81]","ErrorMsg", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->ErrorMsg,arg2,81*sizeof(char));
else memset(arg1->ErrorMsg,0,81*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#FeePayFlag(*args) ⇒ Object
151931 151932 151933 151934 151935 151936 151937 151938 151939 151940 151941 151942 151943 151944 151945 151946 151947 151948 151949 151950 151951 151952 |
# File 'ext/ctp/ctp.cxx', line 151931
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_FeePayFlag_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcFeePayFlagType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","FeePayFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcFeePayFlagType) ((arg1)->FeePayFlag);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#FeePayFlag=(*args) ⇒ Object
151902 151903 151904 151905 151906 151907 151908 151909 151910 151911 151912 151913 151914 151915 151916 151917 151918 151919 151920 151921 151922 151923 151924 151925 151926 151927 151928 |
# File 'ext/ctp/ctp.cxx', line 151902
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_FeePayFlag_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcFeePayFlagType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","FeePayFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcFeePayFlagType","FeePayFlag", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcFeePayFlagType >(val2);
if (arg1) (arg1)->FeePayFlag = arg2;
return Qnil;
fail:
return Qnil;
}
|
#FutureFetchAmount(*args) ⇒ Object
151878 151879 151880 151881 151882 151883 151884 151885 151886 151887 151888 151889 151890 151891 151892 151893 151894 151895 151896 151897 151898 151899 |
# File 'ext/ctp/ctp.cxx', line 151878
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_FutureFetchAmount_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcTradeAmountType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","FutureFetchAmount", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcTradeAmountType) ((arg1)->FutureFetchAmount);
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#FutureFetchAmount=(*args) ⇒ Object
151849 151850 151851 151852 151853 151854 151855 151856 151857 151858 151859 151860 151861 151862 151863 151864 151865 151866 151867 151868 151869 151870 151871 151872 151873 151874 151875 |
# File 'ext/ctp/ctp.cxx', line 151849
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_FutureFetchAmount_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcTradeAmountType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","FutureFetchAmount", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcTradeAmountType","FutureFetchAmount", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcTradeAmountType >(val2);
if (arg1) (arg1)->FutureFetchAmount = arg2;
return Qnil;
fail:
return Qnil;
}
|
#FutureRepealSerial(*args) ⇒ Object
150328 150329 150330 150331 150332 150333 150334 150335 150336 150337 150338 150339 150340 150341 150342 150343 150344 150345 150346 150347 150348 150349 |
# File 'ext/ctp/ctp.cxx', line 150328
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_FutureRepealSerial_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcFutureSerialType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","FutureRepealSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcFutureSerialType) ((arg1)->FutureRepealSerial);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#FutureRepealSerial=(*args) ⇒ Object
150299 150300 150301 150302 150303 150304 150305 150306 150307 150308 150309 150310 150311 150312 150313 150314 150315 150316 150317 150318 150319 150320 150321 150322 150323 150324 150325 |
# File 'ext/ctp/ctp.cxx', line 150299
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_FutureRepealSerial_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcFutureSerialType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","FutureRepealSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcFutureSerialType","FutureRepealSerial", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcFutureSerialType >(val2);
if (arg1) (arg1)->FutureRepealSerial = arg2;
return Qnil;
fail:
return Qnil;
}
|
#FutureSerial(*args) ⇒ Object
151599 151600 151601 151602 151603 151604 151605 151606 151607 151608 151609 151610 151611 151612 151613 151614 151615 151616 151617 151618 151619 151620 |
# File 'ext/ctp/ctp.cxx', line 151599
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_FutureSerial_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcFutureSerialType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","FutureSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcFutureSerialType) ((arg1)->FutureSerial);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#FutureSerial=(*args) ⇒ Object
151570 151571 151572 151573 151574 151575 151576 151577 151578 151579 151580 151581 151582 151583 151584 151585 151586 151587 151588 151589 151590 151591 151592 151593 151594 151595 151596 |
# File 'ext/ctp/ctp.cxx', line 151570
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_FutureSerial_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcFutureSerialType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","FutureSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcFutureSerialType","FutureSerial", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcFutureSerialType >(val2);
if (arg1) (arg1)->FutureSerial = arg2;
return Qnil;
fail:
return Qnil;
}
|
#IdCardType(*args) ⇒ Object
151140 151141 151142 151143 151144 151145 151146 151147 151148 151149 151150 151151 151152 151153 151154 151155 151156 151157 151158 151159 151160 151161 |
# File 'ext/ctp/ctp.cxx', line 151140
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_IdCardType_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcIdCardTypeType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","IdCardType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcIdCardTypeType) ((arg1)->IdCardType);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#IdCardType=(*args) ⇒ Object
151111 151112 151113 151114 151115 151116 151117 151118 151119 151120 151121 151122 151123 151124 151125 151126 151127 151128 151129 151130 151131 151132 151133 151134 151135 151136 151137 |
# File 'ext/ctp/ctp.cxx', line 151111
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_IdCardType_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcIdCardTypeType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","IdCardType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcIdCardTypeType","IdCardType", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcIdCardTypeType >(val2);
if (arg1) (arg1)->IdCardType = arg2;
return Qnil;
fail:
return Qnil;
}
|
#IdentifiedCardNo(*args) ⇒ Object
151194 151195 151196 151197 151198 151199 151200 151201 151202 151203 151204 151205 151206 151207 151208 151209 151210 151211 151212 151213 151214 151215 151216 151217 151218 151219 151220 151221 |
# File 'ext/ctp/ctp.cxx', line 151194
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_IdentifiedCardNo_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","IdentifiedCardNo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->IdentifiedCardNo);
{
size_t size = SWIG_strnlen(result, 51);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#IdentifiedCardNo=(*args) ⇒ Object
151164 151165 151166 151167 151168 151169 151170 151171 151172 151173 151174 151175 151176 151177 151178 151179 151180 151181 151182 151183 151184 151185 151186 151187 151188 151189 151190 151191 |
# File 'ext/ctp/ctp.cxx', line 151164
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_IdentifiedCardNo_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[51] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","IdentifiedCardNo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 51);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [51]","IdentifiedCardNo", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->IdentifiedCardNo,arg2,51*sizeof(char));
else memset(arg1->IdentifiedCardNo,0,51*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#InstallID(*args) ⇒ Object
151546 151547 151548 151549 151550 151551 151552 151553 151554 151555 151556 151557 151558 151559 151560 151561 151562 151563 151564 151565 151566 151567 |
# File 'ext/ctp/ctp.cxx', line 151546
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_InstallID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcInstallIDType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","InstallID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcInstallIDType) ((arg1)->InstallID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#InstallID=(*args) ⇒ Object
151517 151518 151519 151520 151521 151522 151523 151524 151525 151526 151527 151528 151529 151530 151531 151532 151533 151534 151535 151536 151537 151538 151539 151540 151541 151542 151543 |
# File 'ext/ctp/ctp.cxx', line 151517
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_InstallID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcInstallIDType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","InstallID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcInstallIDType","InstallID", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcInstallIDType >(val2);
if (arg1) (arg1)->InstallID = arg2;
return Qnil;
fail:
return Qnil;
}
|
#LastFragment(*args) ⇒ Object
150974 150975 150976 150977 150978 150979 150980 150981 150982 150983 150984 150985 150986 150987 150988 150989 150990 150991 150992 150993 150994 150995 |
# File 'ext/ctp/ctp.cxx', line 150974
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_LastFragment_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcLastFragmentType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","LastFragment", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcLastFragmentType) ((arg1)->LastFragment);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#LastFragment=(*args) ⇒ Object
150945 150946 150947 150948 150949 150950 150951 150952 150953 150954 150955 150956 150957 150958 150959 150960 150961 150962 150963 150964 150965 150966 150967 150968 150969 150970 150971 |
# File 'ext/ctp/ctp.cxx', line 150945
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_LastFragment_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcLastFragmentType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","LastFragment", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcLastFragmentType","LastFragment", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcLastFragmentType >(val2);
if (arg1) (arg1)->LastFragment = arg2;
return Qnil;
fail:
return Qnil;
}
|
#Message(*args) ⇒ Object
152091 152092 152093 152094 152095 152096 152097 152098 152099 152100 152101 152102 152103 152104 152105 152106 152107 152108 152109 152110 152111 152112 152113 152114 152115 152116 152117 152118 |
# File 'ext/ctp/ctp.cxx', line 152091
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_Message_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","Message", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->Message);
{
size_t size = SWIG_strnlen(result, 129);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#Message=(*args) ⇒ Object
152061 152062 152063 152064 152065 152066 152067 152068 152069 152070 152071 152072 152073 152074 152075 152076 152077 152078 152079 152080 152081 152082 152083 152084 152085 152086 152087 152088 |
# File 'ext/ctp/ctp.cxx', line 152061
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_Message_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[129] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","Message", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 129);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [129]","Message", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->Message,arg2,129*sizeof(char));
else memset(arg1->Message,0,129*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#OperNo(*args) ⇒ Object
152603 152604 152605 152606 152607 152608 152609 152610 152611 152612 152613 152614 152615 152616 152617 152618 152619 152620 152621 152622 152623 152624 152625 152626 152627 152628 152629 152630 |
# File 'ext/ctp/ctp.cxx', line 152603
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_OperNo_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","OperNo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->OperNo);
{
size_t size = SWIG_strnlen(result, 17);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#OperNo=(*args) ⇒ Object
152573 152574 152575 152576 152577 152578 152579 152580 152581 152582 152583 152584 152585 152586 152587 152588 152589 152590 152591 152592 152593 152594 152595 152596 152597 152598 152599 152600 |
# File 'ext/ctp/ctp.cxx', line 152573
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_OperNo_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[17] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","OperNo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 17);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [17]","OperNo", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->OperNo,arg2,17*sizeof(char));
else memset(arg1->OperNo,0,17*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#Password(*args) ⇒ Object
151487 151488 151489 151490 151491 151492 151493 151494 151495 151496 151497 151498 151499 151500 151501 151502 151503 151504 151505 151506 151507 151508 151509 151510 151511 151512 151513 151514 |
# File 'ext/ctp/ctp.cxx', line 151487
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_Password_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","Password", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->Password);
{
size_t size = SWIG_strnlen(result, 41);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#Password=(*args) ⇒ Object
151457 151458 151459 151460 151461 151462 151463 151464 151465 151466 151467 151468 151469 151470 151471 151472 151473 151474 151475 151476 151477 151478 151479 151480 151481 151482 151483 151484 |
# File 'ext/ctp/ctp.cxx', line 151457
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_Password_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[41] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","Password", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 41);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [41]","Password", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->Password,arg2,41*sizeof(char));
else memset(arg1->Password,0,41*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#PlateRepealSerial(*args) ⇒ Object
150215 150216 150217 150218 150219 150220 150221 150222 150223 150224 150225 150226 150227 150228 150229 150230 150231 150232 150233 150234 150235 150236 |
# File 'ext/ctp/ctp.cxx', line 150215
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_PlateRepealSerial_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcPlateSerialType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","PlateRepealSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcPlateSerialType) ((arg1)->PlateRepealSerial);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#PlateRepealSerial=(*args) ⇒ Object
150186 150187 150188 150189 150190 150191 150192 150193 150194 150195 150196 150197 150198 150199 150200 150201 150202 150203 150204 150205 150206 150207 150208 150209 150210 150211 150212 |
# File 'ext/ctp/ctp.cxx', line 150186
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_PlateRepealSerial_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcPlateSerialType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","PlateRepealSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcPlateSerialType","PlateRepealSerial", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcPlateSerialType >(val2);
if (arg1) (arg1)->PlateRepealSerial = arg2;
return Qnil;
fail:
return Qnil;
}
|
#PlateSerial(*args) ⇒ Object
150921 150922 150923 150924 150925 150926 150927 150928 150929 150930 150931 150932 150933 150934 150935 150936 150937 150938 150939 150940 150941 150942 |
# File 'ext/ctp/ctp.cxx', line 150921
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_PlateSerial_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcSerialType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","PlateSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcSerialType) ((arg1)->PlateSerial);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#PlateSerial=(*args) ⇒ Object
150892 150893 150894 150895 150896 150897 150898 150899 150900 150901 150902 150903 150904 150905 150906 150907 150908 150909 150910 150911 150912 150913 150914 150915 150916 150917 150918 |
# File 'ext/ctp/ctp.cxx', line 150892
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_PlateSerial_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcSerialType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","PlateSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcSerialType","PlateSerial", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcSerialType >(val2);
if (arg1) (arg1)->PlateSerial = arg2;
return Qnil;
fail:
return Qnil;
}
|
#RepealedTimes(*args) ⇒ Object
150056 150057 150058 150059 150060 150061 150062 150063 150064 150065 150066 150067 150068 150069 150070 150071 150072 150073 150074 150075 150076 150077 |
# File 'ext/ctp/ctp.cxx', line 150056
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_RepealedTimes_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcRepealedTimesType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","RepealedTimes", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcRepealedTimesType) ((arg1)->RepealedTimes);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#RepealedTimes=(*args) ⇒ Object
150027 150028 150029 150030 150031 150032 150033 150034 150035 150036 150037 150038 150039 150040 150041 150042 150043 150044 150045 150046 150047 150048 150049 150050 150051 150052 150053 |
# File 'ext/ctp/ctp.cxx', line 150027
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_RepealedTimes_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcRepealedTimesType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","RepealedTimes", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcRepealedTimesType","RepealedTimes", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcRepealedTimesType >(val2);
if (arg1) (arg1)->RepealedTimes = arg2;
return Qnil;
fail:
return Qnil;
}
|
#RepealTimeInterval(*args) ⇒ Object
150003 150004 150005 150006 150007 150008 150009 150010 150011 150012 150013 150014 150015 150016 150017 150018 150019 150020 150021 150022 150023 150024 |
# File 'ext/ctp/ctp.cxx', line 150003
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_RepealTimeInterval_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcRepealTimeIntervalType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","RepealTimeInterval", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcRepealTimeIntervalType) ((arg1)->RepealTimeInterval);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#RepealTimeInterval=(*args) ⇒ Object
149974 149975 149976 149977 149978 149979 149980 149981 149982 149983 149984 149985 149986 149987 149988 149989 149990 149991 149992 149993 149994 149995 149996 149997 149998 149999 150000 |
# File 'ext/ctp/ctp.cxx', line 149974
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_RepealTimeInterval_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcRepealTimeIntervalType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","RepealTimeInterval", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcRepealTimeIntervalType","RepealTimeInterval", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcRepealTimeIntervalType >(val2);
if (arg1) (arg1)->RepealTimeInterval = arg2;
return Qnil;
fail:
return Qnil;
}
|
#RequestID(*args) ⇒ Object
152662 152663 152664 152665 152666 152667 152668 152669 152670 152671 152672 152673 152674 152675 152676 152677 152678 152679 152680 152681 152682 152683 |
# File 'ext/ctp/ctp.cxx', line 152662
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_RequestID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcRequestIDType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","RequestID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcRequestIDType) ((arg1)->RequestID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#RequestID=(*args) ⇒ Object
152633 152634 152635 152636 152637 152638 152639 152640 152641 152642 152643 152644 152645 152646 152647 152648 152649 152650 152651 152652 152653 152654 152655 152656 152657 152658 152659 |
# File 'ext/ctp/ctp.cxx', line 152633
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_RequestID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcRequestIDType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","RequestID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcRequestIDType","RequestID", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcRequestIDType >(val2);
if (arg1) (arg1)->RequestID = arg2;
return Qnil;
fail:
return Qnil;
}
|
#SecuPwdFlag(*args) ⇒ Object
152549 152550 152551 152552 152553 152554 152555 152556 152557 152558 152559 152560 152561 152562 152563 152564 152565 152566 152567 152568 152569 152570 |
# File 'ext/ctp/ctp.cxx', line 152549
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_SecuPwdFlag_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcPwdFlagType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","SecuPwdFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcPwdFlagType) ((arg1)->SecuPwdFlag);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#SecuPwdFlag=(*args) ⇒ Object
152520 152521 152522 152523 152524 152525 152526 152527 152528 152529 152530 152531 152532 152533 152534 152535 152536 152537 152538 152539 152540 152541 152542 152543 152544 152545 152546 |
# File 'ext/ctp/ctp.cxx', line 152520
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_SecuPwdFlag_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcPwdFlagType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","SecuPwdFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcPwdFlagType","SecuPwdFlag", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcPwdFlagType >(val2);
if (arg1) (arg1)->SecuPwdFlag = arg2;
return Qnil;
fail:
return Qnil;
}
|
#SessionID(*args) ⇒ Object
151027 151028 151029 151030 151031 151032 151033 151034 151035 151036 151037 151038 151039 151040 151041 151042 151043 151044 151045 151046 151047 151048 |
# File 'ext/ctp/ctp.cxx', line 151027
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_SessionID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcSessionIDType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","SessionID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcSessionIDType) ((arg1)->SessionID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#SessionID=(*args) ⇒ Object
150998 150999 151000 151001 151002 151003 151004 151005 151006 151007 151008 151009 151010 151011 151012 151013 151014 151015 151016 151017 151018 151019 151020 151021 151022 151023 151024 |
# File 'ext/ctp/ctp.cxx', line 150998
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_SessionID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcSessionIDType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","SessionID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcSessionIDType","SessionID", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcSessionIDType >(val2);
if (arg1) (arg1)->SessionID = arg2;
return Qnil;
fail:
return Qnil;
}
|
#TID(*args) ⇒ Object
152715 152716 152717 152718 152719 152720 152721 152722 152723 152724 152725 152726 152727 152728 152729 152730 152731 152732 152733 152734 152735 152736 |
# File 'ext/ctp/ctp.cxx', line 152715
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_TID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcTIDType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","TID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcTIDType) ((arg1)->TID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#TID=(*args) ⇒ Object
152686 152687 152688 152689 152690 152691 152692 152693 152694 152695 152696 152697 152698 152699 152700 152701 152702 152703 152704 152705 152706 152707 152708 152709 152710 152711 152712 |
# File 'ext/ctp/ctp.cxx', line 152686
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_TID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcTIDType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","TID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcTIDType","TID", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcTIDType >(val2);
if (arg1) (arg1)->TID = arg2;
return Qnil;
fail:
return Qnil;
}
|
#TradeAmount(*args) ⇒ Object
151825 151826 151827 151828 151829 151830 151831 151832 151833 151834 151835 151836 151837 151838 151839 151840 151841 151842 151843 151844 151845 151846 |
# File 'ext/ctp/ctp.cxx', line 151825
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_TradeAmount_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcTradeAmountType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","TradeAmount", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcTradeAmountType) ((arg1)->TradeAmount);
vresult = SWIG_From_double(static_cast< double >(result));
return vresult;
fail:
return Qnil;
}
|
#TradeAmount=(*args) ⇒ Object
151796 151797 151798 151799 151800 151801 151802 151803 151804 151805 151806 151807 151808 151809 151810 151811 151812 151813 151814 151815 151816 151817 151818 151819 151820 151821 151822 |
# File 'ext/ctp/ctp.cxx', line 151796
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_TradeAmount_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcTradeAmountType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
double val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","TradeAmount", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcTradeAmountType","TradeAmount", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcTradeAmountType >(val2);
if (arg1) (arg1)->TradeAmount = arg2;
return Qnil;
fail:
return Qnil;
}
|
#TradeCode(*args) ⇒ Object
150382 150383 150384 150385 150386 150387 150388 150389 150390 150391 150392 150393 150394 150395 150396 150397 150398 150399 150400 150401 150402 150403 150404 150405 150406 150407 150408 150409 |
# File 'ext/ctp/ctp.cxx', line 150382
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_TradeCode_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","TradeCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->TradeCode);
{
size_t size = SWIG_strnlen(result, 7);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#TradeCode=(*args) ⇒ Object
150352 150353 150354 150355 150356 150357 150358 150359 150360 150361 150362 150363 150364 150365 150366 150367 150368 150369 150370 150371 150372 150373 150374 150375 150376 150377 150378 150379 |
# File 'ext/ctp/ctp.cxx', line 150352
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_TradeCode_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[7] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","TradeCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 7);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [7]","TradeCode", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->TradeCode,arg2,7*sizeof(char));
else memset(arg1->TradeCode,0,7*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#TradeDate(*args) ⇒ Object
150682 150683 150684 150685 150686 150687 150688 150689 150690 150691 150692 150693 150694 150695 150696 150697 150698 150699 150700 150701 150702 150703 150704 150705 150706 150707 150708 150709 |
# File 'ext/ctp/ctp.cxx', line 150682
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_TradeDate_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","TradeDate", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->TradeDate);
{
size_t size = SWIG_strnlen(result, 9);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#TradeDate=(*args) ⇒ Object
150652 150653 150654 150655 150656 150657 150658 150659 150660 150661 150662 150663 150664 150665 150666 150667 150668 150669 150670 150671 150672 150673 150674 150675 150676 150677 150678 150679 |
# File 'ext/ctp/ctp.cxx', line 150652
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_TradeDate_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[9] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","TradeDate", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 9);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [9]","TradeDate", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->TradeDate,arg2,9*sizeof(char));
else memset(arg1->TradeDate,0,9*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#TradeTime(*args) ⇒ Object
150742 150743 150744 150745 150746 150747 150748 150749 150750 150751 150752 150753 150754 150755 150756 150757 150758 150759 150760 150761 150762 150763 150764 150765 150766 150767 150768 150769 |
# File 'ext/ctp/ctp.cxx', line 150742
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_TradeTime_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","TradeTime", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->TradeTime);
{
size_t size = SWIG_strnlen(result, 9);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#TradeTime=(*args) ⇒ Object
150712 150713 150714 150715 150716 150717 150718 150719 150720 150721 150722 150723 150724 150725 150726 150727 150728 150729 150730 150731 150732 150733 150734 150735 150736 150737 150738 150739 |
# File 'ext/ctp/ctp.cxx', line 150712
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_TradeTime_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[9] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","TradeTime", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 9);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [9]","TradeTime", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->TradeTime,arg2,9*sizeof(char));
else memset(arg1->TradeTime,0,9*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#TradingDay(*args) ⇒ Object
150862 150863 150864 150865 150866 150867 150868 150869 150870 150871 150872 150873 150874 150875 150876 150877 150878 150879 150880 150881 150882 150883 150884 150885 150886 150887 150888 150889 |
# File 'ext/ctp/ctp.cxx', line 150862
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_TradingDay_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","TradingDay", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->TradingDay);
{
size_t size = SWIG_strnlen(result, 9);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#TradingDay=(*args) ⇒ Object
150832 150833 150834 150835 150836 150837 150838 150839 150840 150841 150842 150843 150844 150845 150846 150847 150848 150849 150850 150851 150852 150853 150854 150855 150856 150857 150858 150859 |
# File 'ext/ctp/ctp.cxx', line 150832
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_TradingDay_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[9] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","TradingDay", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 9);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [9]","TradingDay", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->TradingDay,arg2,9*sizeof(char));
else memset(arg1->TradingDay,0,9*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#TransferStatus(*args) ⇒ Object
152768 152769 152770 152771 152772 152773 152774 152775 152776 152777 152778 152779 152780 152781 152782 152783 152784 152785 152786 152787 152788 152789 |
# File 'ext/ctp/ctp.cxx', line 152768
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_TransferStatus_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcTransferStatusType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","TransferStatus", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcTransferStatusType) ((arg1)->TransferStatus);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#TransferStatus=(*args) ⇒ Object
152739 152740 152741 152742 152743 152744 152745 152746 152747 152748 152749 152750 152751 152752 152753 152754 152755 152756 152757 152758 152759 152760 152761 152762 152763 152764 152765 |
# File 'ext/ctp/ctp.cxx', line 152739
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_TransferStatus_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcTransferStatusType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","TransferStatus", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcTransferStatusType","TransferStatus", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcTransferStatusType >(val2);
if (arg1) (arg1)->TransferStatus = arg2;
return Qnil;
fail:
return Qnil;
}
|
#UserID(*args) ⇒ Object
151653 151654 151655 151656 151657 151658 151659 151660 151661 151662 151663 151664 151665 151666 151667 151668 151669 151670 151671 151672 151673 151674 151675 151676 151677 151678 151679 151680 |
# File 'ext/ctp/ctp.cxx', line 151653
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_UserID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","UserID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (char *) ((arg1)->UserID);
{
size_t size = SWIG_strnlen(result, 16);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#UserID=(*args) ⇒ Object
151623 151624 151625 151626 151627 151628 151629 151630 151631 151632 151633 151634 151635 151636 151637 151638 151639 151640 151641 151642 151643 151644 151645 151646 151647 151648 151649 151650 |
# File 'ext/ctp/ctp.cxx', line 151623
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_UserID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[16] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","UserID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 16);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [16]","UserID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->UserID,arg2,16*sizeof(char));
else memset(arg1->UserID,0,16*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#VerifyCertNoFlag(*args) ⇒ Object
151712 151713 151714 151715 151716 151717 151718 151719 151720 151721 151722 151723 151724 151725 151726 151727 151728 151729 151730 151731 151732 151733 |
# File 'ext/ctp/ctp.cxx', line 151712
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_VerifyCertNoFlag_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcYesNoIndicatorType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","VerifyCertNoFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
result = (TThostFtdcYesNoIndicatorType) ((arg1)->VerifyCertNoFlag);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#VerifyCertNoFlag=(*args) ⇒ Object
151683 151684 151685 151686 151687 151688 151689 151690 151691 151692 151693 151694 151695 151696 151697 151698 151699 151700 151701 151702 151703 151704 151705 151706 151707 151708 151709 |
# File 'ext/ctp/ctp.cxx', line 151683
SWIGINTERN VALUE
_wrap_CThostFtdcRspRepealField_VerifyCertNoFlag_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcRspRepealField *arg1 = (CThostFtdcRspRepealField *) 0 ;
TThostFtdcYesNoIndicatorType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcRspRepealField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcRspRepealField *","VerifyCertNoFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcRspRepealField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcYesNoIndicatorType","VerifyCertNoFlag", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcYesNoIndicatorType >(val2);
if (arg1) (arg1)->VerifyCertNoFlag = arg2;
return Qnil;
fail:
return Qnil;
}
|