Class: Ctp::CThostFtdcQryErrExecOrderActionField
- Inherits:
-
Object
- Object
- Ctp::CThostFtdcQryErrExecOrderActionField
- Defined in:
- ext/ctp/ctp.cxx
Instance Method Summary collapse
- #BrokerID(*args) ⇒ Object
- #BrokerID=(*args) ⇒ Object
- #initialize(*args) ⇒ Object constructor
- #InvestorID(*args) ⇒ Object
- #InvestorID=(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ Object
78843 78844 78845 78846 78847 78848 78849 78850 78851 78852 78853 78854 78855 78856 |
# File 'ext/ctp/ctp.cxx', line 78843
SWIGINTERN VALUE
_wrap_new_CThostFtdcQryErrExecOrderActionField(int argc, VALUE *argv, VALUE self) {
const char *classname SWIGUNUSED = "Ctp::CThostFtdcQryErrExecOrderActionField";
CThostFtdcQryErrExecOrderActionField *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
result = (CThostFtdcQryErrExecOrderActionField *)new CThostFtdcQryErrExecOrderActionField();
DATA_PTR(self) = result;
return self;
fail:
return Qnil;
}
|
Instance Method Details
#BrokerID(*args) ⇒ Object
78738 78739 78740 78741 78742 78743 78744 78745 78746 78747 78748 78749 78750 78751 78752 78753 78754 78755 78756 78757 78758 78759 78760 78761 78762 78763 78764 78765 |
# File 'ext/ctp/ctp.cxx', line 78738
SWIGINTERN VALUE
_wrap_CThostFtdcQryErrExecOrderActionField_BrokerID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryErrExecOrderActionField *arg1 = (CThostFtdcQryErrExecOrderActionField *) 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_CThostFtdcQryErrExecOrderActionField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryErrExecOrderActionField *","BrokerID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryErrExecOrderActionField * >(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
78708 78709 78710 78711 78712 78713 78714 78715 78716 78717 78718 78719 78720 78721 78722 78723 78724 78725 78726 78727 78728 78729 78730 78731 78732 78733 78734 78735 |
# File 'ext/ctp/ctp.cxx', line 78708
SWIGINTERN VALUE
_wrap_CThostFtdcQryErrExecOrderActionField_BrokerID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryErrExecOrderActionField *arg1 = (CThostFtdcQryErrExecOrderActionField *) 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_CThostFtdcQryErrExecOrderActionField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryErrExecOrderActionField *","BrokerID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryErrExecOrderActionField * >(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;
}
|
#InvestorID(*args) ⇒ Object
78798 78799 78800 78801 78802 78803 78804 78805 78806 78807 78808 78809 78810 78811 78812 78813 78814 78815 78816 78817 78818 78819 78820 78821 78822 78823 78824 78825 |
# File 'ext/ctp/ctp.cxx', line 78798
SWIGINTERN VALUE
_wrap_CThostFtdcQryErrExecOrderActionField_InvestorID_get(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryErrExecOrderActionField *arg1 = (CThostFtdcQryErrExecOrderActionField *) 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_CThostFtdcQryErrExecOrderActionField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryErrExecOrderActionField *","InvestorID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryErrExecOrderActionField * >(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
78768 78769 78770 78771 78772 78773 78774 78775 78776 78777 78778 78779 78780 78781 78782 78783 78784 78785 78786 78787 78788 78789 78790 78791 78792 78793 78794 78795 |
# File 'ext/ctp/ctp.cxx', line 78768
SWIGINTERN VALUE
_wrap_CThostFtdcQryErrExecOrderActionField_InvestorID_set(int argc, VALUE *argv, VALUE self) {
CThostFtdcQryErrExecOrderActionField *arg1 = (CThostFtdcQryErrExecOrderActionField *) 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_CThostFtdcQryErrExecOrderActionField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "CThostFtdcQryErrExecOrderActionField *","InvestorID", 1, self ));
}
arg1 = reinterpret_cast< CThostFtdcQryErrExecOrderActionField * >(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;
}
|