Class: Ctp::CThostFtdcLinkManField
- Inherits:
-
Object
- Object
- Ctp::CThostFtdcLinkManField
- Defined in:
- ext/ctp/ctp.cxx
Instance Method Summary collapse
- #Address(*args) ⇒ Object
- #Address=(*args) ⇒ Object
- #BrokerID(*args) ⇒ Object
- #BrokerID=(*args) ⇒ Object
- #IdentifiedCardNo(*args) ⇒ Object
- #IdentifiedCardNo=(*args) ⇒ Object
- #IdentifiedCardType(*args) ⇒ Object
- #IdentifiedCardType=(*args) ⇒ Object
- #initialize(*args) ⇒ Object constructor
- #InvestorID(*args) ⇒ Object
- #InvestorID=(*args) ⇒ Object
- #PersonFullName(*args) ⇒ Object
- #PersonFullName=(*args) ⇒ Object
- #PersonName(*args) ⇒ Object
- #PersonName=(*args) ⇒ Object
- #PersonType(*args) ⇒ Object
- #PersonType=(*args) ⇒ Object
- #Priority(*args) ⇒ Object
- #Priority=(*args) ⇒ Object
- #Telephone(*args) ⇒ Object
- #Telephone=(*args) ⇒ Object
- #UOAZipCode(*args) ⇒ Object
- #UOAZipCode=(*args) ⇒ Object
- #ZipCode(*args) ⇒ Object
- #ZipCode=(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ Object
110709 110710 110711 110712 110713 110714 110715 110716 110717 110718 110719 110720 110721 110722 |
# File 'ext/ctp/ctp.cxx', line 110709
SWIGINTERN VALUE
_wrap_new_CThostFtdcLinkManField(int argc, VALUE *argv, VALUE self) {
const char *classname SWIGUNUSED = "Ctp::CThostFtdcLinkManField";
CThostFtdcLinkManField *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
result = (CThostFtdcLinkManField *)new CThostFtdcLinkManField();
DATA_PTR(self) = result;
return self;
fail:
return Qnil;
}
|
Instance Method Details
#Address(*args) ⇒ Object
110431 110432 110433 110434 110435 110436 110437 110438 110439 110440 110441 110442 110443 110444 110445 110446 110447 110448 110449 110450 110451 110452 110453 110454 110455 110456 110457 110458 |
# File 'ext/ctp/ctp.cxx', line 110431
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_Address_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","Address", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(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
110401 110402 110403 110404 110405 110406 110407 110408 110409 110410 110411 110412 110413 110414 110415 110416 110417 110418 110419 110420 110421 110422 110423 110424 110425 110426 110427 110428 |
# File 'ext/ctp/ctp.cxx', line 110401
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_Address_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","Address", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(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;
}
|
#BrokerID(*args) ⇒ Object
110025 110026 110027 110028 110029 110030 110031 110032 110033 110034 110035 110036 110037 110038 110039 110040 110041 110042 110043 110044 110045 110046 110047 110048 110049 110050 110051 110052 |
# File 'ext/ctp/ctp.cxx', line 110025
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_BrokerID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","BrokerID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(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
109995 109996 109997 109998 109999 110000 110001 110002 110003 110004 110005 110006 110007 110008 110009 110010 110011 110012 110013 110014 110015 110016 110017 110018 110019 110020 110021 110022 |
# File 'ext/ctp/ctp.cxx', line 109995
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_BrokerID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","BrokerID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(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;
}
|
#IdentifiedCardNo(*args) ⇒ Object
110251 110252 110253 110254 110255 110256 110257 110258 110259 110260 110261 110262 110263 110264 110265 110266 110267 110268 110269 110270 110271 110272 110273 110274 110275 110276 110277 110278 |
# File 'ext/ctp/ctp.cxx', line 110251
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_IdentifiedCardNo_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","IdentifiedCardNo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(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
110221 110222 110223 110224 110225 110226 110227 110228 110229 110230 110231 110232 110233 110234 110235 110236 110237 110238 110239 110240 110241 110242 110243 110244 110245 110246 110247 110248 |
# File 'ext/ctp/ctp.cxx', line 110221
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_IdentifiedCardNo_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","IdentifiedCardNo", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(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;
}
|
#IdentifiedCardType(*args) ⇒ Object
110197 110198 110199 110200 110201 110202 110203 110204 110205 110206 110207 110208 110209 110210 110211 110212 110213 110214 110215 110216 110217 110218 |
# File 'ext/ctp/ctp.cxx', line 110197
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_IdentifiedCardType_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","IdentifiedCardType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(argp1);
result = (TThostFtdcIdCardTypeType) ((arg1)->IdentifiedCardType);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#IdentifiedCardType=(*args) ⇒ Object
110168 110169 110170 110171 110172 110173 110174 110175 110176 110177 110178 110179 110180 110181 110182 110183 110184 110185 110186 110187 110188 110189 110190 110191 110192 110193 110194 |
# File 'ext/ctp/ctp.cxx', line 110168
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_IdentifiedCardType_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","IdentifiedCardType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcIdCardTypeType","IdentifiedCardType", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcIdCardTypeType >(val2);
if (arg1) (arg1)->IdentifiedCardType = arg2;
return Qnil;
fail:
return Qnil;
}
|
#InvestorID(*args) ⇒ Object
110085 110086 110087 110088 110089 110090 110091 110092 110093 110094 110095 110096 110097 110098 110099 110100 110101 110102 110103 110104 110105 110106 110107 110108 110109 110110 110111 110112 |
# File 'ext/ctp/ctp.cxx', line 110085
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_InvestorID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","InvestorID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(argp1);
result = (char *) ((arg1)->InvestorID);
{
size_t size = SWIG_strnlen(result, 13);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#InvestorID=(*args) ⇒ Object
110055 110056 110057 110058 110059 110060 110061 110062 110063 110064 110065 110066 110067 110068 110069 110070 110071 110072 110073 110074 110075 110076 110077 110078 110079 110080 110081 110082 |
# File 'ext/ctp/ctp.cxx', line 110055
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_InvestorID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","InvestorID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 13);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [13]","InvestorID", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->InvestorID,arg2,13*sizeof(char));
else memset(arg1->InvestorID,0,13*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#PersonFullName(*args) ⇒ Object
110664 110665 110666 110667 110668 110669 110670 110671 110672 110673 110674 110675 110676 110677 110678 110679 110680 110681 110682 110683 110684 110685 110686 110687 110688 110689 110690 110691 |
# File 'ext/ctp/ctp.cxx', line 110664
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_PersonFullName_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","PersonFullName", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(argp1);
result = (char *) ((arg1)->PersonFullName);
{
size_t size = SWIG_strnlen(result, 101);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#PersonFullName=(*args) ⇒ Object
110634 110635 110636 110637 110638 110639 110640 110641 110642 110643 110644 110645 110646 110647 110648 110649 110650 110651 110652 110653 110654 110655 110656 110657 110658 110659 110660 110661 |
# File 'ext/ctp/ctp.cxx', line 110634
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_PersonFullName_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","PersonFullName", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 101);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [101]","PersonFullName", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->PersonFullName,arg2,101*sizeof(char));
else memset(arg1->PersonFullName,0,101*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#PersonName(*args) ⇒ Object
110311 110312 110313 110314 110315 110316 110317 110318 110319 110320 110321 110322 110323 110324 110325 110326 110327 110328 110329 110330 110331 110332 110333 110334 110335 110336 110337 110338 |
# File 'ext/ctp/ctp.cxx', line 110311
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_PersonName_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","PersonName", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(argp1);
result = (char *) ((arg1)->PersonName);
{
size_t size = SWIG_strnlen(result, 81);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#PersonName=(*args) ⇒ Object
110281 110282 110283 110284 110285 110286 110287 110288 110289 110290 110291 110292 110293 110294 110295 110296 110297 110298 110299 110300 110301 110302 110303 110304 110305 110306 110307 110308 |
# File 'ext/ctp/ctp.cxx', line 110281
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_PersonName_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","PersonName", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 81);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [81]","PersonName", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->PersonName,arg2,81*sizeof(char));
else memset(arg1->PersonName,0,81*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#PersonType(*args) ⇒ Object
110144 110145 110146 110147 110148 110149 110150 110151 110152 110153 110154 110155 110156 110157 110158 110159 110160 110161 110162 110163 110164 110165 |
# File 'ext/ctp/ctp.cxx', line 110144
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_PersonType_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcPersonTypeType 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","PersonType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(argp1);
result = (TThostFtdcPersonTypeType) ((arg1)->PersonType);
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#PersonType=(*args) ⇒ Object
110115 110116 110117 110118 110119 110120 110121 110122 110123 110124 110125 110126 110127 110128 110129 110130 110131 110132 110133 110134 110135 110136 110137 110138 110139 110140 110141 |
# File 'ext/ctp/ctp.cxx', line 110115
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_PersonType_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 0 ;
TThostFtdcPersonTypeType 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","PersonType", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcPersonTypeType","PersonType", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcPersonTypeType >(val2);
if (arg1) (arg1)->PersonType = arg2;
return Qnil;
fail:
return Qnil;
}
|
#Priority(*args) ⇒ Object
110550 110551 110552 110553 110554 110555 110556 110557 110558 110559 110560 110561 110562 110563 110564 110565 110566 110567 110568 110569 110570 110571 |
# File 'ext/ctp/ctp.cxx', line 110550
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_Priority_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TThostFtdcPriorityType 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","Priority", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(argp1);
result = (TThostFtdcPriorityType) ((arg1)->Priority);
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#Priority=(*args) ⇒ Object
110521 110522 110523 110524 110525 110526 110527 110528 110529 110530 110531 110532 110533 110534 110535 110536 110537 110538 110539 110540 110541 110542 110543 110544 110545 110546 110547 |
# File 'ext/ctp/ctp.cxx', line 110521
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_Priority_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 0 ;
TThostFtdcPriorityType 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","Priority", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "TThostFtdcPriorityType","Priority", 2, argv[0] ));
}
arg2 = static_cast< TThostFtdcPriorityType >(val2);
if (arg1) (arg1)->Priority = arg2;
return Qnil;
fail:
return Qnil;
}
|
#Telephone(*args) ⇒ Object
110371 110372 110373 110374 110375 110376 110377 110378 110379 110380 110381 110382 110383 110384 110385 110386 110387 110388 110389 110390 110391 110392 110393 110394 110395 110396 110397 110398 |
# File 'ext/ctp/ctp.cxx', line 110371
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_Telephone_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","Telephone", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(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
110341 110342 110343 110344 110345 110346 110347 110348 110349 110350 110351 110352 110353 110354 110355 110356 110357 110358 110359 110360 110361 110362 110363 110364 110365 110366 110367 110368 |
# File 'ext/ctp/ctp.cxx', line 110341
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_Telephone_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","Telephone", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(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;
}
|
#UOAZipCode(*args) ⇒ Object
110604 110605 110606 110607 110608 110609 110610 110611 110612 110613 110614 110615 110616 110617 110618 110619 110620 110621 110622 110623 110624 110625 110626 110627 110628 110629 110630 110631 |
# File 'ext/ctp/ctp.cxx', line 110604
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_UOAZipCode_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","UOAZipCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(argp1);
result = (char *) ((arg1)->UOAZipCode);
{
size_t size = SWIG_strnlen(result, 11);
vresult = SWIG_FromCharPtrAndSize(result, size);
}
return vresult;
fail:
return Qnil;
}
|
#UOAZipCode=(*args) ⇒ Object
110574 110575 110576 110577 110578 110579 110580 110581 110582 110583 110584 110585 110586 110587 110588 110589 110590 110591 110592 110593 110594 110595 110596 110597 110598 110599 110600 110601 |
# File 'ext/ctp/ctp.cxx', line 110574
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_UOAZipCode_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","UOAZipCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 11);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [11]","UOAZipCode", 2, argv[0] ));
}
arg2 = reinterpret_cast< char * >(temp2);
if (arg2) memcpy(arg1->UOAZipCode,arg2,11*sizeof(char));
else memset(arg1->UOAZipCode,0,11*sizeof(char));
return Qnil;
fail:
return Qnil;
}
|
#ZipCode(*args) ⇒ Object
110491 110492 110493 110494 110495 110496 110497 110498 110499 110500 110501 110502 110503 110504 110505 110506 110507 110508 110509 110510 110511 110512 110513 110514 110515 110516 110517 110518 |
# File 'ext/ctp/ctp.cxx', line 110491
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_ZipCode_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","ZipCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(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
110461 110462 110463 110464 110465 110466 110467 110468 110469 110470 110471 110472 110473 110474 110475 110476 110477 110478 110479 110480 110481 110482 110483 110484 110485 110486 110487 110488 |
# File 'ext/ctp/ctp.cxx', line 110461
SWIGINTERN VALUE
_wrap_CThostFtdcLinkManField_ZipCode_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcLinkManField *arg1 = (CThostFtdcLinkManField *) 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_CThostFtdcLinkManField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcLinkManField *","ZipCode", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcLinkManField * >(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;
}
|