Class: Ctp::CThostFtdcNotifyFutureSignInField
- Inherits:
-
Object
- Object
- Ctp::CThostFtdcNotifyFutureSignInField
- Defined in:
- ext/ctp/ctp.cxx
Instance Method Summary collapse
- #BankBranchID(*args) ⇒ Object
- #BankBranchID=(*args) ⇒ Object
- #BankID(*args) ⇒ Object
- #BankID=(*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
- #CurrencyID(*args) ⇒ Object
- #CurrencyID=(*args) ⇒ Object
- #DeviceID(*args) ⇒ Object
- #DeviceID=(*args) ⇒ Object
- #Digest(*args) ⇒ Object
- #Digest=(*args) ⇒ Object
- #ErrorID(*args) ⇒ Object
- #ErrorID=(*args) ⇒ Object
- #ErrorMsg(*args) ⇒ Object
- #ErrorMsg=(*args) ⇒ Object
- #initialize(*args) ⇒ Object constructor
- #InstallID(*args) ⇒ Object
- #InstallID=(*args) ⇒ Object
- #LastFragment(*args) ⇒ Object
- #LastFragment=(*args) ⇒ Object
- #MacKey(*args) ⇒ Object
- #MacKey=(*args) ⇒ Object
- #OperNo(*args) ⇒ Object
- #OperNo=(*args) ⇒ Object
- #PinKey(*args) ⇒ Object
- #PinKey=(*args) ⇒ Object
- #PlateSerial(*args) ⇒ Object
- #PlateSerial=(*args) ⇒ Object
- #RequestID(*args) ⇒ Object
- #RequestID=(*args) ⇒ Object
- #SessionID(*args) ⇒ Object
- #SessionID=(*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
- #UserID(*args) ⇒ Object
- #UserID=(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ Object
177242 177243 177244 177245 177246 177247 177248 177249 177250 177251 177252 177253 177254 177255 |
# File 'ext/ctp/ctp.cxx', line 177242
SWIGINTERN VALUE
_wrap_new_CThostFtdcNotifyFutureSignInField(int argc, VALUE *argv, VALUE self) {
const char *classname SWIGUNUSED = "Ctp::CThostFtdcNotifyFutureSignInField";
CThostFtdcNotifyFutureSignInField *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
result = (CThostFtdcNotifyFutureSignInField *)new CThostFtdcNotifyFutureSignInField();
DATA_PTR(self) = result;
return self;
fail:
return Qnil;
}
|
Instance Method Details
#BankBranchID(*args) ⇒ Object
175926 175927 175928 175929 175930 175931 175932 175933 175934 175935 175936 175937 175938 175939 175940 175941 175942 175943 175944 175945 175946 175947 175948 175949 175950 175951 175952 175953 |
# File 'ext/ctp/ctp.cxx', line 175926
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_BankBranchID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","BankBranchID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
175896 175897 175898 175899 175900 175901 175902 175903 175904 175905 175906 175907 175908 175909 175910 175911 175912 175913 175914 175915 175916 175917 175918 175919 175920 175921 175922 175923 |
# File 'ext/ctp/ctp.cxx', line 175896
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_BankBranchID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","BankBranchID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
175866 175867 175868 175869 175870 175871 175872 175873 175874 175875 175876 175877 175878 175879 175880 175881 175882 175883 175884 175885 175886 175887 175888 175889 175890 175891 175892 175893 |
# File 'ext/ctp/ctp.cxx', line 175866
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_BankID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","BankID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
175836 175837 175838 175839 175840 175841 175842 175843 175844 175845 175846 175847 175848 175849 175850 175851 175852 175853 175854 175855 175856 175857 175858 175859 175860 175861 175862 175863 |
# File 'ext/ctp/ctp.cxx', line 175836
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_BankID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","BankID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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;
}
|
#BankSerial(*args) ⇒ Object
176226 176227 176228 176229 176230 176231 176232 176233 176234 176235 176236 176237 176238 176239 176240 176241 176242 176243 176244 176245 176246 176247 176248 176249 176250 176251 176252 176253 |
# File 'ext/ctp/ctp.cxx', line 176226
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_BankSerial_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","BankSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
176196 176197 176198 176199 176200 176201 176202 176203 176204 176205 176206 176207 176208 176209 176210 176211 176212 176213 176214 176215 176216 176217 176218 176219 176220 176221 176222 176223 |
# File 'ext/ctp/ctp.cxx', line 176196
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_BankSerial_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","BankSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
176046 176047 176048 176049 176050 176051 176052 176053 176054 176055 176056 176057 176058 176059 176060 176061 176062 176063 176064 176065 176066 176067 176068 176069 176070 176071 176072 176073 |
# File 'ext/ctp/ctp.cxx', line 176046
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_BrokerBranchID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","BrokerBranchID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
176016 176017 176018 176019 176020 176021 176022 176023 176024 176025 176026 176027 176028 176029 176030 176031 176032 176033 176034 176035 176036 176037 176038 176039 176040 176041 176042 176043 |
# File 'ext/ctp/ctp.cxx', line 176016
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_BrokerBranchID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","BrokerBranchID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
175986 175987 175988 175989 175990 175991 175992 175993 175994 175995 175996 175997 175998 175999 176000 176001 176002 176003 176004 176005 176006 176007 176008 176009 176010 176011 176012 176013 |
# File 'ext/ctp/ctp.cxx', line 175986
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_BrokerID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","BrokerID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
175956 175957 175958 175959 175960 175961 175962 175963 175964 175965 175966 175967 175968 175969 175970 175971 175972 175973 175974 175975 175976 175977 175978 175979 175980 175981 175982 175983 |
# File 'ext/ctp/ctp.cxx', line 175956
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_BrokerID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","BrokerID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
176798 176799 176800 176801 176802 176803 176804 176805 176806 176807 176808 176809 176810 176811 176812 176813 176814 176815 176816 176817 176818 176819 176820 176821 176822 176823 176824 176825 |
# File 'ext/ctp/ctp.cxx', line 176798
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_BrokerIDByBank_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","BrokerIDByBank", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
176768 176769 176770 176771 176772 176773 176774 176775 176776 176777 176778 176779 176780 176781 176782 176783 176784 176785 176786 176787 176788 176789 176790 176791 176792 176793 176794 176795 |
# File 'ext/ctp/ctp.cxx', line 176768
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_BrokerIDByBank_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","BrokerIDByBank", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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;
}
|
#CurrencyID(*args) ⇒ Object
176678 176679 176680 176681 176682 176683 176684 176685 176686 176687 176688 176689 176690 176691 176692 176693 176694 176695 176696 176697 176698 176699 176700 176701 176702 176703 176704 176705 |
# File 'ext/ctp/ctp.cxx', line 176678
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_CurrencyID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","CurrencyID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
176648 176649 176650 176651 176652 176653 176654 176655 176656 176657 176658 176659 176660 176661 176662 176663 176664 176665 176666 176667 176668 176669 176670 176671 176672 176673 176674 176675 |
# File 'ext/ctp/ctp.cxx', line 176648
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_CurrencyID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","CurrencyID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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;
}
|
#DeviceID(*args) ⇒ Object
176738 176739 176740 176741 176742 176743 176744 176745 176746 176747 176748 176749 176750 176751 176752 176753 176754 176755 176756 176757 176758 176759 176760 176761 176762 176763 176764 176765 |
# File 'ext/ctp/ctp.cxx', line 176738
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_DeviceID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","DeviceID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(argp1);
result = (char *) ((arg1)->DeviceID);
{
size_t size = SWIG_strnlen(result, 3);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#DeviceID=(*args) ⇒ Object
176708 176709 176710 176711 176712 176713 176714 176715 176716 176717 176718 176719 176720 176721 176722 176723 176724 176725 176726 176727 176728 176729 176730 176731 176732 176733 176734 176735 |
# File 'ext/ctp/ctp.cxx', line 176708
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_DeviceID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[3] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","DeviceID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 3);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [3]","DeviceID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->DeviceID,arg2,3*sizeof(char));
else memset(arg1->DeviceID,0,3*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#Digest(*args) ⇒ Object
176618 176619 176620 176621 176622 176623 176624 176625 176626 176627 176628 176629 176630 176631 176632 176633 176634 176635 176636 176637 176638 176639 176640 176641 176642 176643 176644 176645 |
# File 'ext/ctp/ctp.cxx', line 176618
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_Digest_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","Digest", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
176588 176589 176590 176591 176592 176593 176594 176595 176596 176597 176598 176599 176600 176601 176602 176603 176604 176605 176606 176607 176608 176609 176610 176611 176612 176613 176614 176615 |
# File 'ext/ctp/ctp.cxx', line 176588
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_Digest_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","Digest", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 36);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [36]","Digest", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->Digest,arg2,36*sizeof(char));
else memset(arg1->Digest,0,36*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#ErrorID(*args) ⇒ Object
177023 177024 177025 177026 177027 177028 177029 177030 177031 177032 177033 177034 177035 177036 177037 177038 177039 177040 177041 177042 177043 177044 |
# File 'ext/ctp/ctp.cxx', line 177023
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_ErrorID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","ErrorID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(argp1);
result = (TThostFtdcErrorIDType) ((arg1)->ErrorID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#ErrorID=(*args) ⇒ Object
176994 176995 176996 176997 176998 176999 177000 177001 177002 177003 177004 177005 177006 177007 177008 177009 177010 177011 177012 177013 177014 177015 177016 177017 177018 177019 177020 |
# File 'ext/ctp/ctp.cxx', line 176994
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_ErrorID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","ErrorID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
177077 177078 177079 177080 177081 177082 177083 177084 177085 177086 177087 177088 177089 177090 177091 177092 177093 177094 177095 177096 177097 177098 177099 177100 177101 177102 177103 177104 |
# File 'ext/ctp/ctp.cxx', line 177077
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_ErrorMsg_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","ErrorMsg", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
177047 177048 177049 177050 177051 177052 177053 177054 177055 177056 177057 177058 177059 177060 177061 177062 177063 177064 177065 177066 177067 177068 177069 177070 177071 177072 177073 177074 |
# File 'ext/ctp/ctp.cxx', line 177047
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_ErrorMsg_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","ErrorMsg", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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;
}
|
#InstallID(*args) ⇒ Object
176504 176505 176506 176507 176508 176509 176510 176511 176512 176513 176514 176515 176516 176517 176518 176519 176520 176521 176522 176523 176524 176525 |
# File 'ext/ctp/ctp.cxx', line 176504
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_InstallID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","InstallID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(argp1);
result = (TThostFtdcInstallIDType) ((arg1)->InstallID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#InstallID=(*args) ⇒ Object
176475 176476 176477 176478 176479 176480 176481 176482 176483 176484 176485 176486 176487 176488 176489 176490 176491 176492 176493 176494 176495 176496 176497 176498 176499 176500 176501 |
# File 'ext/ctp/ctp.cxx', line 176475
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_InstallID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","InstallID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
176398 176399 176400 176401 176402 176403 176404 176405 176406 176407 176408 176409 176410 176411 176412 176413 176414 176415 176416 176417 176418 176419 |
# File 'ext/ctp/ctp.cxx', line 176398
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_LastFragment_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","LastFragment", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(argp1);
result = (TThostFtdcLastFragmentType) ((arg1)->LastFragment);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#LastFragment=(*args) ⇒ Object
176369 176370 176371 176372 176373 176374 176375 176376 176377 176378 176379 176380 176381 176382 176383 176384 176385 176386 176387 176388 176389 176390 176391 176392 176393 176394 176395 |
# File 'ext/ctp/ctp.cxx', line 176369
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_LastFragment_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","LastFragment", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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;
}
|
#MacKey(*args) ⇒ Object
177197 177198 177199 177200 177201 177202 177203 177204 177205 177206 177207 177208 177209 177210 177211 177212 177213 177214 177215 177216 177217 177218 177219 177220 177221 177222 177223 177224 |
# File 'ext/ctp/ctp.cxx', line 177197
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_MacKey_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","MacKey", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(argp1);
result = (char *) ((arg1)->MacKey);
{
size_t size = SWIG_strnlen(result, 129);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#MacKey=(*args) ⇒ Object
177167 177168 177169 177170 177171 177172 177173 177174 177175 177176 177177 177178 177179 177180 177181 177182 177183 177184 177185 177186 177187 177188 177189 177190 177191 177192 177193 177194 |
# File 'ext/ctp/ctp.cxx', line 177167
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_MacKey_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[129] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","MacKey", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 129);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [129]","MacKey", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->MacKey,arg2,129*sizeof(char));
else memset(arg1->MacKey,0,129*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#OperNo(*args) ⇒ Object
176858 176859 176860 176861 176862 176863 176864 176865 176866 176867 176868 176869 176870 176871 176872 176873 176874 176875 176876 176877 176878 176879 176880 176881 176882 176883 176884 176885 |
# File 'ext/ctp/ctp.cxx', line 176858
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_OperNo_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","OperNo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(argp1);
result = (char *) ((arg1)->OperNo);
{
size_t size = SWIG_strnlen(result, 17);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#OperNo=(*args) ⇒ Object
176828 176829 176830 176831 176832 176833 176834 176835 176836 176837 176838 176839 176840 176841 176842 176843 176844 176845 176846 176847 176848 176849 176850 176851 176852 176853 176854 176855 |
# File 'ext/ctp/ctp.cxx', line 176828
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_OperNo_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[17] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","OperNo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 17);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [17]","OperNo", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->OperNo,arg2,17*sizeof(char));
else memset(arg1->OperNo,0,17*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#PinKey(*args) ⇒ Object
177137 177138 177139 177140 177141 177142 177143 177144 177145 177146 177147 177148 177149 177150 177151 177152 177153 177154 177155 177156 177157 177158 177159 177160 177161 177162 177163 177164 |
# File 'ext/ctp/ctp.cxx', line 177137
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_PinKey_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","PinKey", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(argp1);
result = (char *) ((arg1)->PinKey);
{
size_t size = SWIG_strnlen(result, 129);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#PinKey=(*args) ⇒ Object
177107 177108 177109 177110 177111 177112 177113 177114 177115 177116 177117 177118 177119 177120 177121 177122 177123 177124 177125 177126 177127 177128 177129 177130 177131 177132 177133 177134 |
# File 'ext/ctp/ctp.cxx', line 177107
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_PinKey_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[129] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","PinKey", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 129);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [129]","PinKey", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->PinKey,arg2,129*sizeof(char));
else memset(arg1->PinKey,0,129*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#PlateSerial(*args) ⇒ Object
176345 176346 176347 176348 176349 176350 176351 176352 176353 176354 176355 176356 176357 176358 176359 176360 176361 176362 176363 176364 176365 176366 |
# File 'ext/ctp/ctp.cxx', line 176345
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_PlateSerial_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","PlateSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(argp1);
result = (TThostFtdcSerialType) ((arg1)->PlateSerial);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#PlateSerial=(*args) ⇒ Object
176316 176317 176318 176319 176320 176321 176322 176323 176324 176325 176326 176327 176328 176329 176330 176331 176332 176333 176334 176335 176336 176337 176338 176339 176340 176341 176342 |
# File 'ext/ctp/ctp.cxx', line 176316
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_PlateSerial_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","PlateSerial", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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;
}
|
#RequestID(*args) ⇒ Object
176917 176918 176919 176920 176921 176922 176923 176924 176925 176926 176927 176928 176929 176930 176931 176932 176933 176934 176935 176936 176937 176938 |
# File 'ext/ctp/ctp.cxx', line 176917
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_RequestID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcRequestIDType result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","RequestID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(argp1);
result = (TThostFtdcRequestIDType) ((arg1)->RequestID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#RequestID=(*args) ⇒ Object
176888 176889 176890 176891 176892 176893 176894 176895 176896 176897 176898 176899 176900 176901 176902 176903 176904 176905 176906 176907 176908 176909 176910 176911 176912 176913 176914 |
# File 'ext/ctp/ctp.cxx', line 176888
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_RequestID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 0 ;
TThostFtdcRequestIDType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","RequestID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcRequestIDType","RequestID", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcRequestIDType >(val2);
if (arg1) (arg1)->RequestID = arg2;
return Qnil;
fail:
return Qnil;
}
|
#SessionID(*args) ⇒ Object
176451 176452 176453 176454 176455 176456 176457 176458 176459 176460 176461 176462 176463 176464 176465 176466 176467 176468 176469 176470 176471 176472 |
# File 'ext/ctp/ctp.cxx', line 176451
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_SessionID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","SessionID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(argp1);
result = (TThostFtdcSessionIDType) ((arg1)->SessionID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#SessionID=(*args) ⇒ Object
176422 176423 176424 176425 176426 176427 176428 176429 176430 176431 176432 176433 176434 176435 176436 176437 176438 176439 176440 176441 176442 176443 176444 176445 176446 176447 176448 |
# File 'ext/ctp/ctp.cxx', line 176422
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_SessionID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","SessionID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcSessionIDType","SessionID", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcSessionIDType >(val2);
if (arg1) (arg1)->SessionID = arg2;
return Qnil;
fail:
return Qnil;
}
|
#TID(*args) ⇒ Object
176970 176971 176972 176973 176974 176975 176976 176977 176978 176979 176980 176981 176982 176983 176984 176985 176986 176987 176988 176989 176990 176991 |
# File 'ext/ctp/ctp.cxx', line 176970
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_TID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","TID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(argp1);
result = (TThostFtdcTIDType) ((arg1)->TID);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#TID=(*args) ⇒ Object
176941 176942 176943 176944 176945 176946 176947 176948 176949 176950 176951 176952 176953 176954 176955 176956 176957 176958 176959 176960 176961 176962 176963 176964 176965 176966 176967 |
# File 'ext/ctp/ctp.cxx', line 176941
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_TID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","TID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
175806 175807 175808 175809 175810 175811 175812 175813 175814 175815 175816 175817 175818 175819 175820 175821 175822 175823 175824 175825 175826 175827 175828 175829 175830 175831 175832 175833 |
# File 'ext/ctp/ctp.cxx', line 175806
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_TradeCode_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","TradeCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
175776 175777 175778 175779 175780 175781 175782 175783 175784 175785 175786 175787 175788 175789 175790 175791 175792 175793 175794 175795 175796 175797 175798 175799 175800 175801 175802 175803 |
# File 'ext/ctp/ctp.cxx', line 175776
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_TradeCode_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","TradeCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
176106 176107 176108 176109 176110 176111 176112 176113 176114 176115 176116 176117 176118 176119 176120 176121 176122 176123 176124 176125 176126 176127 176128 176129 176130 176131 176132 176133 |
# File 'ext/ctp/ctp.cxx', line 176106
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_TradeDate_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","TradeDate", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
176076 176077 176078 176079 176080 176081 176082 176083 176084 176085 176086 176087 176088 176089 176090 176091 176092 176093 176094 176095 176096 176097 176098 176099 176100 176101 176102 176103 |
# File 'ext/ctp/ctp.cxx', line 176076
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_TradeDate_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","TradeDate", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
176166 176167 176168 176169 176170 176171 176172 176173 176174 176175 176176 176177 176178 176179 176180 176181 176182 176183 176184 176185 176186 176187 176188 176189 176190 176191 176192 176193 |
# File 'ext/ctp/ctp.cxx', line 176166
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_TradeTime_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","TradeTime", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
176136 176137 176138 176139 176140 176141 176142 176143 176144 176145 176146 176147 176148 176149 176150 176151 176152 176153 176154 176155 176156 176157 176158 176159 176160 176161 176162 176163 |
# File 'ext/ctp/ctp.cxx', line 176136
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_TradeTime_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","TradeTime", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
176286 176287 176288 176289 176290 176291 176292 176293 176294 176295 176296 176297 176298 176299 176300 176301 176302 176303 176304 176305 176306 176307 176308 176309 176310 176311 176312 176313 |
# File 'ext/ctp/ctp.cxx', line 176286
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_TradingDay_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","TradingDay", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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
176256 176257 176258 176259 176260 176261 176262 176263 176264 176265 176266 176267 176268 176269 176270 176271 176272 176273 176274 176275 176276 176277 176278 176279 176280 176281 176282 176283 |
# File 'ext/ctp/ctp.cxx', line 176256
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_TradingDay_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","TradingDay", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(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;
}
|
#UserID(*args) ⇒ Object
176558 176559 176560 176561 176562 176563 176564 176565 176566 176567 176568 176569 176570 176571 176572 176573 176574 176575 176576 176577 176578 176579 176580 176581 176582 176583 176584 176585 |
# File 'ext/ctp/ctp.cxx', line 176558
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_UserID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 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_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","UserID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(argp1);
result = (char *) ((arg1)->UserID);
{
size_t size = SWIG_strnlen(result, 16);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#UserID=(*args) ⇒ Object
176528 176529 176530 176531 176532 176533 176534 176535 176536 176537 176538 176539 176540 176541 176542 176543 176544 176545 176546 176547 176548 176549 176550 176551 176552 176553 176554 176555 |
# File 'ext/ctp/ctp.cxx', line 176528
SWIGINTERN VALUE
_wrap_CThostFtdcNotifyFutureSignInField_UserID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcNotifyFutureSignInField *arg1 = (CThostFtdcNotifyFutureSignInField *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
char temp2[16] ;
int res2 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_CThostFtdcNotifyFutureSignInField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcNotifyFutureSignInField *","UserID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcNotifyFutureSignInField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 16);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [16]","UserID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->UserID,arg2,16*sizeof(char));
else memset(arg1->UserID,0,16*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|