Class: Ctp::CThostFtdcChangeAccountField
- Inherits:
-
Object
- Object
- Ctp::CThostFtdcChangeAccountField
- Defined in:
- ext/ctp/ctp.cxx
Instance Method Summary collapse
- #AccountID(*args) ⇒ Object
- #AccountID=(*args) ⇒ Object
- #Address(*args) ⇒ Object
- #Address=(*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
- #BankSerial(*args) ⇒ Object
- #BankSerial=(*args) ⇒ Object
- #BrokerBranchID(*args) ⇒ Object
- #BrokerBranchID=(*args) ⇒ Object
- #BrokerID(*args) ⇒ Object
- #BrokerID=(*args) ⇒ Object
- #BrokerIDByBank(*args) ⇒ Object
- #BrokerIDByBank=(*args) ⇒ Object
- #CountryCode(*args) ⇒ Object
- #CountryCode=(*args) ⇒ Object
- #CurrencyID(*args) ⇒ Object
- #CurrencyID=(*args) ⇒ Object
- #CustomerName(*args) ⇒ Object
- #CustomerName=(*args) ⇒ Object
- #CustType(*args) ⇒ Object
- #CustType=(*args) ⇒ Object
- #Digest(*args) ⇒ Object
- #Digest=(*args) ⇒ Object
- #EMail(*args) ⇒ Object
- #EMail=(*args) ⇒ Object
- #ErrorID(*args) ⇒ Object
- #ErrorID=(*args) ⇒ Object
- #ErrorMsg(*args) ⇒ Object
- #ErrorMsg=(*args) ⇒ Object
- #Fax(*args) ⇒ Object
- #Fax=(*args) ⇒ Object
- #Gender(*args) ⇒ Object
- #Gender=(*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
- #MobilePhone(*args) ⇒ Object
- #MobilePhone=(*args) ⇒ Object
- #MoneyAccountStatus(*args) ⇒ Object
- #MoneyAccountStatus=(*args) ⇒ Object
- #NewBankAccount(*args) ⇒ Object
- #NewBankAccount=(*args) ⇒ Object
- #NewBankPassWord(*args) ⇒ Object
- #NewBankPassWord=(*args) ⇒ Object
- #Password(*args) ⇒ Object
- #Password=(*args) ⇒ Object
- #PlateSerial(*args) ⇒ Object
- #PlateSerial=(*args) ⇒ Object
- #SecuPwdFlag(*args) ⇒ Object
- #SecuPwdFlag=(*args) ⇒ Object
- #SessionID(*args) ⇒ Object
- #SessionID=(*args) ⇒ Object
- #Telephone(*args) ⇒ Object
- #Telephone=(*args) ⇒ Object
- #TID(*args) ⇒ Object
- #TID=(*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
- #VerifyCertNoFlag(*args) ⇒ Object
- #VerifyCertNoFlag=(*args) ⇒ Object
- #ZipCode(*args) ⇒ Object
- #ZipCode=(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ Object
189120 189121 189122 189123 189124 189125 189126 189127 189128 189129 189130 189131 189132 189133 |
# File 'ext/ctp/ctp.cxx', line 189120
SWIGINTERN VALUE
_wrap_new_CThostFtdcChangeAccountField(int argc, VALUE *argv, VALUE self) {
const char *classname SWIGUNUSED = "Ctp::CThostFtdcChangeAccountField";
CThostFtdcChangeAccountField *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
result = (CThostFtdcChangeAccountField *)new CThostFtdcChangeAccountField();
DATA_PTR(self) = result;
return self;
fail:
return Qnil;
}
|
Instance Method Details
#AccountID(*args) ⇒ Object
188404 188405 188406 188407 188408 188409 188410 188411 188412 188413 188414 188415 188416 188417 188418 188419 188420 188421 188422 188423 188424 188425 188426 188427 188428 188429 188430 188431 |
# File 'ext/ctp/ctp.cxx', line 188404
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_AccountID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","AccountID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
188374 188375 188376 188377 188378 188379 188380 188381 188382 188383 188384 188385 188386 188387 188388 188389 188390 188391 188392 188393 188394 188395 188396 188397 188398 188399 188400 188401 |
# File 'ext/ctp/ctp.cxx', line 188374
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_AccountID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","AccountID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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;
}
|
#Address(*args) ⇒ Object
187751 187752 187753 187754 187755 187756 187757 187758 187759 187760 187761 187762 187763 187764 187765 187766 187767 187768 187769 187770 187771 187772 187773 187774 187775 187776 187777 187778 |
# File 'ext/ctp/ctp.cxx', line 187751
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_Address_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","Address", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (char *) ((arg1)->Address);
{
size_t size = SWIG_strnlen(result, 101);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#Address=(*args) ⇒ Object
187721 187722 187723 187724 187725 187726 187727 187728 187729 187730 187731 187732 187733 187734 187735 187736 187737 187738 187739 187740 187741 187742 187743 187744 187745 187746 187747 187748 |
# File 'ext/ctp/ctp.cxx', line 187721
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_Address_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[101] ;
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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","Address", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 101);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [101]","Address", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->Address,arg2,101*sizeof(char));
else memset(arg1->Address,0,101*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#BankAccount(*args) ⇒ Object
188164 188165 188166 188167 188168 188169 188170 188171 188172 188173 188174 188175 188176 188177 188178 188179 188180 188181 188182 188183 188184 188185 188186 188187 188188 188189 188190 188191 |
# File 'ext/ctp/ctp.cxx', line 188164
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_BankAccount_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","BankAccount", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
188134 188135 188136 188137 188138 188139 188140 188141 188142 188143 188144 188145 188146 188147 188148 188149 188150 188151 188152 188153 188154 188155 188156 188157 188158 188159 188160 188161 |
# File 'ext/ctp/ctp.cxx', line 188134
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_BankAccount_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","BankAccount", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
188523 188524 188525 188526 188527 188528 188529 188530 188531 188532 188533 188534 188535 188536 188537 188538 188539 188540 188541 188542 188543 188544 |
# File 'ext/ctp/ctp.cxx', line 188523
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_BankAccType_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","BankAccType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (TThostFtdcBankAccTypeType) ((arg1)->BankAccType);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#BankAccType=(*args) ⇒ Object
188494 188495 188496 188497 188498 188499 188500 188501 188502 188503 188504 188505 188506 188507 188508 188509 188510 188511 188512 188513 188514 188515 188516 188517 188518 188519 188520 |
# File 'ext/ctp/ctp.cxx', line 188494
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_BankAccType_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","BankAccType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
186833 186834 186835 186836 186837 186838 186839 186840 186841 186842 186843 186844 186845 186846 186847 186848 186849 186850 186851 186852 186853 186854 186855 186856 186857 186858 186859 186860 |
# File 'ext/ctp/ctp.cxx', line 186833
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_BankBranchID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","BankBranchID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
186803 186804 186805 186806 186807 186808 186809 186810 186811 186812 186813 186814 186815 186816 186817 186818 186819 186820 186821 186822 186823 186824 186825 186826 186827 186828 186829 186830 |
# File 'ext/ctp/ctp.cxx', line 186803
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_BankBranchID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","BankBranchID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
186773 186774 186775 186776 186777 186778 186779 186780 186781 186782 186783 186784 186785 186786 186787 186788 186789 186790 186791 186792 186793 186794 186795 186796 186797 186798 186799 186800 |
# File 'ext/ctp/ctp.cxx', line 186773
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_BankID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","BankID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
186743 186744 186745 186746 186747 186748 186749 186750 186751 186752 186753 186754 186755 186756 186757 186758 186759 186760 186761 186762 186763 186764 186765 186766 186767 186768 186769 186770 |
# File 'ext/ctp/ctp.cxx', line 186743
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_BankID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","BankID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
188224 188225 188226 188227 188228 188229 188230 188231 188232 188233 188234 188235 188236 188237 188238 188239 188240 188241 188242 188243 188244 188245 188246 188247 188248 188249 188250 188251 |
# File 'ext/ctp/ctp.cxx', line 188224
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_BankPassWord_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","BankPassWord", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
188194 188195 188196 188197 188198 188199 188200 188201 188202 188203 188204 188205 188206 188207 188208 188209 188210 188211 188212 188213 188214 188215 188216 188217 188218 188219 188220 188221 |
# File 'ext/ctp/ctp.cxx', line 188194
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_BankPassWord_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","BankPassWord", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
188802 188803 188804 188805 188806 188807 188808 188809 188810 188811 188812 188813 188814 188815 188816 188817 188818 188819 188820 188821 188822 188823 |
# File 'ext/ctp/ctp.cxx', line 188802
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_BankPwdFlag_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","BankPwdFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (TThostFtdcPwdFlagType) ((arg1)->BankPwdFlag);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#BankPwdFlag=(*args) ⇒ Object
188773 188774 188775 188776 188777 188778 188779 188780 188781 188782 188783 188784 188785 188786 188787 188788 188789 188790 188791 188792 188793 188794 188795 188796 188797 188798 188799 |
# File 'ext/ctp/ctp.cxx', line 188773
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_BankPwdFlag_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","BankPwdFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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;
}
|
#BankSerial(*args) ⇒ Object
187133 187134 187135 187136 187137 187138 187139 187140 187141 187142 187143 187144 187145 187146 187147 187148 187149 187150 187151 187152 187153 187154 187155 187156 187157 187158 187159 187160 |
# File 'ext/ctp/ctp.cxx', line 187133
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_BankSerial_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","BankSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
187103 187104 187105 187106 187107 187108 187109 187110 187111 187112 187113 187114 187115 187116 187117 187118 187119 187120 187121 187122 187123 187124 187125 187126 187127 187128 187129 187130 |
# File 'ext/ctp/ctp.cxx', line 187103
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_BankSerial_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","BankSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
186953 186954 186955 186956 186957 186958 186959 186960 186961 186962 186963 186964 186965 186966 186967 186968 186969 186970 186971 186972 186973 186974 186975 186976 186977 186978 186979 186980 |
# File 'ext/ctp/ctp.cxx', line 186953
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_BrokerBranchID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","BrokerBranchID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
186923 186924 186925 186926 186927 186928 186929 186930 186931 186932 186933 186934 186935 186936 186937 186938 186939 186940 186941 186942 186943 186944 186945 186946 186947 186948 186949 186950 |
# File 'ext/ctp/ctp.cxx', line 186923
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_BrokerBranchID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","BrokerBranchID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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;
}
|
#BrokerID(*args) ⇒ Object
186893 186894 186895 186896 186897 186898 186899 186900 186901 186902 186903 186904 186905 186906 186907 186908 186909 186910 186911 186912 186913 186914 186915 186916 186917 186918 186919 186920 |
# File 'ext/ctp/ctp.cxx', line 186893
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_BrokerID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","BrokerID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
186863 186864 186865 186866 186867 186868 186869 186870 186871 186872 186873 186874 186875 186876 186877 186878 186879 186880 186881 186882 186883 186884 186885 186886 186887 186888 186889 186890 |
# File 'ext/ctp/ctp.cxx', line 186863
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_BrokerID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","BrokerID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
188743 188744 188745 188746 188747 188748 188749 188750 188751 188752 188753 188754 188755 188756 188757 188758 188759 188760 188761 188762 188763 188764 188765 188766 188767 188768 188769 188770 |
# File 'ext/ctp/ctp.cxx', line 188743
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_BrokerIDByBank_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","BrokerIDByBank", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
188713 188714 188715 188716 188717 188718 188719 188720 188721 188722 188723 188724 188725 188726 188727 188728 188729 188730 188731 188732 188733 188734 188735 188736 188737 188738 188739 188740 |
# File 'ext/ctp/ctp.cxx', line 188713
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_BrokerIDByBank_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","BrokerIDByBank", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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;
}
|
#CountryCode(*args) ⇒ Object
187638 187639 187640 187641 187642 187643 187644 187645 187646 187647 187648 187649 187650 187651 187652 187653 187654 187655 187656 187657 187658 187659 187660 187661 187662 187663 187664 187665 |
# File 'ext/ctp/ctp.cxx', line 187638
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_CountryCode_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","CountryCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (char *) ((arg1)->CountryCode);
{
size_t size = SWIG_strnlen(result, 21);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#CountryCode=(*args) ⇒ Object
187608 187609 187610 187611 187612 187613 187614 187615 187616 187617 187618 187619 187620 187621 187622 187623 187624 187625 187626 187627 187628 187629 187630 187631 187632 187633 187634 187635 |
# File 'ext/ctp/ctp.cxx', line 187608
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_CountryCode_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[21] ;
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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","CountryCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 21);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [21]","CountryCode", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->CountryCode,arg2,21*sizeof(char));
else memset(arg1->CountryCode,0,21*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#CurrencyID(*args) ⇒ Object
188683 188684 188685 188686 188687 188688 188689 188690 188691 188692 188693 188694 188695 188696 188697 188698 188699 188700 188701 188702 188703 188704 188705 188706 188707 188708 188709 188710 |
# File 'ext/ctp/ctp.cxx', line 188683
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_CurrencyID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","CurrencyID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
188653 188654 188655 188656 188657 188658 188659 188660 188661 188662 188663 188664 188665 188666 188667 188668 188669 188670 188671 188672 188673 188674 188675 188676 188677 188678 188679 188680 |
# File 'ext/ctp/ctp.cxx', line 188653
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_CurrencyID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","CurrencyID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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;
}
|
#CustomerName(*args) ⇒ Object
187412 187413 187414 187415 187416 187417 187418 187419 187420 187421 187422 187423 187424 187425 187426 187427 187428 187429 187430 187431 187432 187433 187434 187435 187436 187437 187438 187439 |
# File 'ext/ctp/ctp.cxx', line 187412
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_CustomerName_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","CustomerName", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
187382 187383 187384 187385 187386 187387 187388 187389 187390 187391 187392 187393 187394 187395 187396 187397 187398 187399 187400 187401 187402 187403 187404 187405 187406 187407 187408 187409 |
# File 'ext/ctp/ctp.cxx', line 187382
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_CustomerName_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","CustomerName", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
187697 187698 187699 187700 187701 187702 187703 187704 187705 187706 187707 187708 187709 187710 187711 187712 187713 187714 187715 187716 187717 187718 |
# File 'ext/ctp/ctp.cxx', line 187697
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_CustType_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","CustType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (TThostFtdcCustTypeType) ((arg1)->CustType);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#CustType=(*args) ⇒ Object
187668 187669 187670 187671 187672 187673 187674 187675 187676 187677 187678 187679 187680 187681 187682 187683 187684 187685 187686 187687 187688 187689 187690 187691 187692 187693 187694 |
# File 'ext/ctp/ctp.cxx', line 187668
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_CustType_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","CustType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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;
}
|
#Digest(*args) ⇒ Object
188962 188963 188964 188965 188966 188967 188968 188969 188970 188971 188972 188973 188974 188975 188976 188977 188978 188979 188980 188981 188982 188983 188984 188985 188986 188987 188988 188989 |
# File 'ext/ctp/ctp.cxx', line 188962
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_Digest_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","Digest", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
188932 188933 188934 188935 188936 188937 188938 188939 188940 188941 188942 188943 188944 188945 188946 188947 188948 188949 188950 188951 188952 188953 188954 188955 188956 188957 188958 188959 |
# File 'ext/ctp/ctp.cxx', line 188932
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_Digest_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","Digest", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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;
}
|
#EMail(*args) ⇒ Object
188051 188052 188053 188054 188055 188056 188057 188058 188059 188060 188061 188062 188063 188064 188065 188066 188067 188068 188069 188070 188071 188072 188073 188074 188075 188076 188077 188078 |
# File 'ext/ctp/ctp.cxx', line 188051
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_EMail_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","EMail", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (char *) ((arg1)->EMail);
{
size_t size = SWIG_strnlen(result, 41);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#EMail=(*args) ⇒ Object
188021 188022 188023 188024 188025 188026 188027 188028 188029 188030 188031 188032 188033 188034 188035 188036 188037 188038 188039 188040 188041 188042 188043 188044 188045 188046 188047 188048 |
# File 'ext/ctp/ctp.cxx', line 188021
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_EMail_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","EMail", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 41);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [41]","EMail", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->EMail,arg2,41*sizeof(char));
else memset(arg1->EMail,0,41*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#ErrorID(*args) ⇒ Object
189021 189022 189023 189024 189025 189026 189027 189028 189029 189030 189031 189032 189033 189034 189035 189036 189037 189038 189039 189040 189041 189042 |
# File 'ext/ctp/ctp.cxx', line 189021
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_ErrorID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","ErrorID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (TThostFtdcErrorIDType) ((arg1)->ErrorID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#ErrorID=(*args) ⇒ Object
188992 188993 188994 188995 188996 188997 188998 188999 189000 189001 189002 189003 189004 189005 189006 189007 189008 189009 189010 189011 189012 189013 189014 189015 189016 189017 189018 |
# File 'ext/ctp/ctp.cxx', line 188992
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_ErrorID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","ErrorID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
189075 189076 189077 189078 189079 189080 189081 189082 189083 189084 189085 189086 189087 189088 189089 189090 189091 189092 189093 189094 189095 189096 189097 189098 189099 189100 189101 189102 |
# File 'ext/ctp/ctp.cxx', line 189075
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_ErrorMsg_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","ErrorMsg", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
189045 189046 189047 189048 189049 189050 189051 189052 189053 189054 189055 189056 189057 189058 189059 189060 189061 189062 189063 189064 189065 189066 189067 189068 189069 189070 189071 189072 |
# File 'ext/ctp/ctp.cxx', line 189045
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_ErrorMsg_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","ErrorMsg", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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;
}
|
#Fax(*args) ⇒ Object
187991 187992 187993 187994 187995 187996 187997 187998 187999 188000 188001 188002 188003 188004 188005 188006 188007 188008 188009 188010 188011 188012 188013 188014 188015 188016 188017 188018 |
# File 'ext/ctp/ctp.cxx', line 187991
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_Fax_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","Fax", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (char *) ((arg1)->Fax);
{
size_t size = SWIG_strnlen(result, 41);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#Fax=(*args) ⇒ Object
187961 187962 187963 187964 187965 187966 187967 187968 187969 187970 187971 187972 187973 187974 187975 187976 187977 187978 187979 187980 187981 187982 187983 187984 187985 187986 187987 187988 |
# File 'ext/ctp/ctp.cxx', line 187961
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_Fax_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","Fax", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 41);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [41]","Fax", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->Fax,arg2,41*sizeof(char));
else memset(arg1->Fax,0,41*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#Gender(*args) ⇒ Object
187584 187585 187586 187587 187588 187589 187590 187591 187592 187593 187594 187595 187596 187597 187598 187599 187600 187601 187602 187603 187604 187605 |
# File 'ext/ctp/ctp.cxx', line 187584
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_Gender_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcGenderType 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","Gender", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (TThostFtdcGenderType) ((arg1)->Gender);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#Gender=(*args) ⇒ Object
187555 187556 187557 187558 187559 187560 187561 187562 187563 187564 187565 187566 187567 187568 187569 187570 187571 187572 187573 187574 187575 187576 187577 187578 187579 187580 187581 |
# File 'ext/ctp/ctp.cxx', line 187555
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_Gender_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 0 ;
TThostFtdcGenderType 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","Gender", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcGenderType","Gender", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcGenderType >(val2);
if (arg1) (arg1)->Gender = arg2;
return Qnil;
fail:
return Qnil;
}
|
#IdCardType(*args) ⇒ Object
187471 187472 187473 187474 187475 187476 187477 187478 187479 187480 187481 187482 187483 187484 187485 187486 187487 187488 187489 187490 187491 187492 |
# File 'ext/ctp/ctp.cxx', line 187471
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_IdCardType_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","IdCardType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (TThostFtdcIdCardTypeType) ((arg1)->IdCardType);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#IdCardType=(*args) ⇒ Object
187442 187443 187444 187445 187446 187447 187448 187449 187450 187451 187452 187453 187454 187455 187456 187457 187458 187459 187460 187461 187462 187463 187464 187465 187466 187467 187468 |
# File 'ext/ctp/ctp.cxx', line 187442
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_IdCardType_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","IdCardType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
187525 187526 187527 187528 187529 187530 187531 187532 187533 187534 187535 187536 187537 187538 187539 187540 187541 187542 187543 187544 187545 187546 187547 187548 187549 187550 187551 187552 |
# File 'ext/ctp/ctp.cxx', line 187525
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_IdentifiedCardNo_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","IdentifiedCardNo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
187495 187496 187497 187498 187499 187500 187501 187502 187503 187504 187505 187506 187507 187508 187509 187510 187511 187512 187513 187514 187515 187516 187517 187518 187519 187520 187521 187522 |
# File 'ext/ctp/ctp.cxx', line 187495
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_IdentifiedCardNo_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","IdentifiedCardNo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
188576 188577 188578 188579 188580 188581 188582 188583 188584 188585 188586 188587 188588 188589 188590 188591 188592 188593 188594 188595 188596 188597 |
# File 'ext/ctp/ctp.cxx', line 188576
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_InstallID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","InstallID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (TThostFtdcInstallIDType) ((arg1)->InstallID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#InstallID=(*args) ⇒ Object
188547 188548 188549 188550 188551 188552 188553 188554 188555 188556 188557 188558 188559 188560 188561 188562 188563 188564 188565 188566 188567 188568 188569 188570 188571 188572 188573 |
# File 'ext/ctp/ctp.cxx', line 188547
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_InstallID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","InstallID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
187305 187306 187307 187308 187309 187310 187311 187312 187313 187314 187315 187316 187317 187318 187319 187320 187321 187322 187323 187324 187325 187326 |
# File 'ext/ctp/ctp.cxx', line 187305
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_LastFragment_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","LastFragment", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (TThostFtdcLastFragmentType) ((arg1)->LastFragment);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#LastFragment=(*args) ⇒ Object
187276 187277 187278 187279 187280 187281 187282 187283 187284 187285 187286 187287 187288 187289 187290 187291 187292 187293 187294 187295 187296 187297 187298 187299 187300 187301 187302 |
# File 'ext/ctp/ctp.cxx', line 187276
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_LastFragment_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","LastFragment", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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;
}
|
#MobilePhone(*args) ⇒ Object
187931 187932 187933 187934 187935 187936 187937 187938 187939 187940 187941 187942 187943 187944 187945 187946 187947 187948 187949 187950 187951 187952 187953 187954 187955 187956 187957 187958 |
# File 'ext/ctp/ctp.cxx', line 187931
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_MobilePhone_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","MobilePhone", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (char *) ((arg1)->MobilePhone);
{
size_t size = SWIG_strnlen(result, 21);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#MobilePhone=(*args) ⇒ Object
187901 187902 187903 187904 187905 187906 187907 187908 187909 187910 187911 187912 187913 187914 187915 187916 187917 187918 187919 187920 187921 187922 187923 187924 187925 187926 187927 187928 |
# File 'ext/ctp/ctp.cxx', line 187901
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_MobilePhone_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[21] ;
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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","MobilePhone", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 21);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [21]","MobilePhone", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->MobilePhone,arg2,21*sizeof(char));
else memset(arg1->MobilePhone,0,21*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#MoneyAccountStatus(*args) ⇒ Object
188110 188111 188112 188113 188114 188115 188116 188117 188118 188119 188120 188121 188122 188123 188124 188125 188126 188127 188128 188129 188130 188131 |
# File 'ext/ctp/ctp.cxx', line 188110
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_MoneyAccountStatus_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcMoneyAccountStatusType 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","MoneyAccountStatus", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (TThostFtdcMoneyAccountStatusType) ((arg1)->MoneyAccountStatus);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#MoneyAccountStatus=(*args) ⇒ Object
188081 188082 188083 188084 188085 188086 188087 188088 188089 188090 188091 188092 188093 188094 188095 188096 188097 188098 188099 188100 188101 188102 188103 188104 188105 188106 188107 |
# File 'ext/ctp/ctp.cxx', line 188081
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_MoneyAccountStatus_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 0 ;
TThostFtdcMoneyAccountStatusType 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","MoneyAccountStatus", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcMoneyAccountStatusType","MoneyAccountStatus", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcMoneyAccountStatusType >(val2);
if (arg1) (arg1)->MoneyAccountStatus = arg2;
return Qnil;
fail:
return Qnil;
}
|
#NewBankAccount(*args) ⇒ Object
188284 188285 188286 188287 188288 188289 188290 188291 188292 188293 188294 188295 188296 188297 188298 188299 188300 188301 188302 188303 188304 188305 188306 188307 188308 188309 188310 188311 |
# File 'ext/ctp/ctp.cxx', line 188284
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_NewBankAccount_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","NewBankAccount", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (char *) ((arg1)->NewBankAccount);
{
size_t size = SWIG_strnlen(result, 41);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#NewBankAccount=(*args) ⇒ Object
188254 188255 188256 188257 188258 188259 188260 188261 188262 188263 188264 188265 188266 188267 188268 188269 188270 188271 188272 188273 188274 188275 188276 188277 188278 188279 188280 188281 |
# File 'ext/ctp/ctp.cxx', line 188254
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_NewBankAccount_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","NewBankAccount", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 41);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [41]","NewBankAccount", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->NewBankAccount,arg2,41*sizeof(char));
else memset(arg1->NewBankAccount,0,41*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#NewBankPassWord(*args) ⇒ Object
188344 188345 188346 188347 188348 188349 188350 188351 188352 188353 188354 188355 188356 188357 188358 188359 188360 188361 188362 188363 188364 188365 188366 188367 188368 188369 188370 188371 |
# File 'ext/ctp/ctp.cxx', line 188344
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_NewBankPassWord_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","NewBankPassWord", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (char *) ((arg1)->NewBankPassWord);
{
size_t size = SWIG_strnlen(result, 41);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#NewBankPassWord=(*args) ⇒ Object
188314 188315 188316 188317 188318 188319 188320 188321 188322 188323 188324 188325 188326 188327 188328 188329 188330 188331 188332 188333 188334 188335 188336 188337 188338 188339 188340 188341 |
# File 'ext/ctp/ctp.cxx', line 188314
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_NewBankPassWord_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","NewBankPassWord", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 41);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [41]","NewBankPassWord", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->NewBankPassWord,arg2,41*sizeof(char));
else memset(arg1->NewBankPassWord,0,41*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#Password(*args) ⇒ Object
188464 188465 188466 188467 188468 188469 188470 188471 188472 188473 188474 188475 188476 188477 188478 188479 188480 188481 188482 188483 188484 188485 188486 188487 188488 188489 188490 188491 |
# File 'ext/ctp/ctp.cxx', line 188464
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_Password_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","Password", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
188434 188435 188436 188437 188438 188439 188440 188441 188442 188443 188444 188445 188446 188447 188448 188449 188450 188451 188452 188453 188454 188455 188456 188457 188458 188459 188460 188461 |
# File 'ext/ctp/ctp.cxx', line 188434
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_Password_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","Password", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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;
}
|
#PlateSerial(*args) ⇒ Object
187252 187253 187254 187255 187256 187257 187258 187259 187260 187261 187262 187263 187264 187265 187266 187267 187268 187269 187270 187271 187272 187273 |
# File 'ext/ctp/ctp.cxx', line 187252
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_PlateSerial_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","PlateSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (TThostFtdcSerialType) ((arg1)->PlateSerial);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#PlateSerial=(*args) ⇒ Object
187223 187224 187225 187226 187227 187228 187229 187230 187231 187232 187233 187234 187235 187236 187237 187238 187239 187240 187241 187242 187243 187244 187245 187246 187247 187248 187249 |
# File 'ext/ctp/ctp.cxx', line 187223
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_PlateSerial_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","PlateSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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;
}
|
#SecuPwdFlag(*args) ⇒ Object
188855 188856 188857 188858 188859 188860 188861 188862 188863 188864 188865 188866 188867 188868 188869 188870 188871 188872 188873 188874 188875 188876 |
# File 'ext/ctp/ctp.cxx', line 188855
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_SecuPwdFlag_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","SecuPwdFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (TThostFtdcPwdFlagType) ((arg1)->SecuPwdFlag);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#SecuPwdFlag=(*args) ⇒ Object
188826 188827 188828 188829 188830 188831 188832 188833 188834 188835 188836 188837 188838 188839 188840 188841 188842 188843 188844 188845 188846 188847 188848 188849 188850 188851 188852 |
# File 'ext/ctp/ctp.cxx', line 188826
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_SecuPwdFlag_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","SecuPwdFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
187358 187359 187360 187361 187362 187363 187364 187365 187366 187367 187368 187369 187370 187371 187372 187373 187374 187375 187376 187377 187378 187379 |
# File 'ext/ctp/ctp.cxx', line 187358
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_SessionID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","SessionID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (TThostFtdcSessionIDType) ((arg1)->SessionID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#SessionID=(*args) ⇒ Object
187329 187330 187331 187332 187333 187334 187335 187336 187337 187338 187339 187340 187341 187342 187343 187344 187345 187346 187347 187348 187349 187350 187351 187352 187353 187354 187355 |
# File 'ext/ctp/ctp.cxx', line 187329
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_SessionID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","SessionID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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;
}
|
#Telephone(*args) ⇒ Object
187871 187872 187873 187874 187875 187876 187877 187878 187879 187880 187881 187882 187883 187884 187885 187886 187887 187888 187889 187890 187891 187892 187893 187894 187895 187896 187897 187898 |
# File 'ext/ctp/ctp.cxx', line 187871
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_Telephone_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","Telephone", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (char *) ((arg1)->Telephone);
{
size_t size = SWIG_strnlen(result, 41);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#Telephone=(*args) ⇒ Object
187841 187842 187843 187844 187845 187846 187847 187848 187849 187850 187851 187852 187853 187854 187855 187856 187857 187858 187859 187860 187861 187862 187863 187864 187865 187866 187867 187868 |
# File 'ext/ctp/ctp.cxx', line 187841
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_Telephone_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","Telephone", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 41);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [41]","Telephone", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->Telephone,arg2,41*sizeof(char));
else memset(arg1->Telephone,0,41*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#TID(*args) ⇒ Object
188908 188909 188910 188911 188912 188913 188914 188915 188916 188917 188918 188919 188920 188921 188922 188923 188924 188925 188926 188927 188928 188929 |
# File 'ext/ctp/ctp.cxx', line 188908
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_TID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","TID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (TThostFtdcTIDType) ((arg1)->TID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#TID=(*args) ⇒ Object
188879 188880 188881 188882 188883 188884 188885 188886 188887 188888 188889 188890 188891 188892 188893 188894 188895 188896 188897 188898 188899 188900 188901 188902 188903 188904 188905 |
# File 'ext/ctp/ctp.cxx', line 188879
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_TID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","TID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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;
}
|
#TradeCode(*args) ⇒ Object
186713 186714 186715 186716 186717 186718 186719 186720 186721 186722 186723 186724 186725 186726 186727 186728 186729 186730 186731 186732 186733 186734 186735 186736 186737 186738 186739 186740 |
# File 'ext/ctp/ctp.cxx', line 186713
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_TradeCode_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","TradeCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
186683 186684 186685 186686 186687 186688 186689 186690 186691 186692 186693 186694 186695 186696 186697 186698 186699 186700 186701 186702 186703 186704 186705 186706 186707 186708 186709 186710 |
# File 'ext/ctp/ctp.cxx', line 186683
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_TradeCode_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","TradeCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
187013 187014 187015 187016 187017 187018 187019 187020 187021 187022 187023 187024 187025 187026 187027 187028 187029 187030 187031 187032 187033 187034 187035 187036 187037 187038 187039 187040 |
# File 'ext/ctp/ctp.cxx', line 187013
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_TradeDate_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","TradeDate", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
186983 186984 186985 186986 186987 186988 186989 186990 186991 186992 186993 186994 186995 186996 186997 186998 186999 187000 187001 187002 187003 187004 187005 187006 187007 187008 187009 187010 |
# File 'ext/ctp/ctp.cxx', line 186983
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_TradeDate_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","TradeDate", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
187073 187074 187075 187076 187077 187078 187079 187080 187081 187082 187083 187084 187085 187086 187087 187088 187089 187090 187091 187092 187093 187094 187095 187096 187097 187098 187099 187100 |
# File 'ext/ctp/ctp.cxx', line 187073
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_TradeTime_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","TradeTime", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
187043 187044 187045 187046 187047 187048 187049 187050 187051 187052 187053 187054 187055 187056 187057 187058 187059 187060 187061 187062 187063 187064 187065 187066 187067 187068 187069 187070 |
# File 'ext/ctp/ctp.cxx', line 187043
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_TradeTime_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","TradeTime", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
187193 187194 187195 187196 187197 187198 187199 187200 187201 187202 187203 187204 187205 187206 187207 187208 187209 187210 187211 187212 187213 187214 187215 187216 187217 187218 187219 187220 |
# File 'ext/ctp/ctp.cxx', line 187193
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_TradingDay_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","TradingDay", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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
187163 187164 187165 187166 187167 187168 187169 187170 187171 187172 187173 187174 187175 187176 187177 187178 187179 187180 187181 187182 187183 187184 187185 187186 187187 187188 187189 187190 |
# File 'ext/ctp/ctp.cxx', line 187163
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_TradingDay_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","TradingDay", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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;
}
|
#VerifyCertNoFlag(*args) ⇒ Object
188629 188630 188631 188632 188633 188634 188635 188636 188637 188638 188639 188640 188641 188642 188643 188644 188645 188646 188647 188648 188649 188650 |
# File 'ext/ctp/ctp.cxx', line 188629
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_VerifyCertNoFlag_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","VerifyCertNoFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (TThostFtdcYesNoIndicatorType) ((arg1)->VerifyCertNoFlag);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#VerifyCertNoFlag=(*args) ⇒ Object
188600 188601 188602 188603 188604 188605 188606 188607 188608 188609 188610 188611 188612 188613 188614 188615 188616 188617 188618 188619 188620 188621 188622 188623 188624 188625 188626 |
# File 'ext/ctp/ctp.cxx', line 188600
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_VerifyCertNoFlag_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","VerifyCertNoFlag", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(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;
}
|
#ZipCode(*args) ⇒ Object
187811 187812 187813 187814 187815 187816 187817 187818 187819 187820 187821 187822 187823 187824 187825 187826 187827 187828 187829 187830 187831 187832 187833 187834 187835 187836 187837 187838 |
# File 'ext/ctp/ctp.cxx', line 187811
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_ZipCode_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","ZipCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
result = (char *) ((arg1)->ZipCode);
{
size_t size = SWIG_strnlen(result, 7);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#ZipCode=(*args) ⇒ Object
187781 187782 187783 187784 187785 187786 187787 187788 187789 187790 187791 187792 187793 187794 187795 187796 187797 187798 187799 187800 187801 187802 187803 187804 187805 187806 187807 187808 |
# File 'ext/ctp/ctp.cxx', line 187781
SWIGINTERN VALUE
_wrap_CThostFtdcChangeAccountField_ZipCode_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcChangeAccountField *arg1 = (CThostFtdcChangeAccountField *) 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_CThostFtdcChangeAccountField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcChangeAccountField *","ZipCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcChangeAccountField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 7);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [7]","ZipCode", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->ZipCode,arg2,7*sizeof(char));
else memset(arg1->ZipCode,0,7*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|