Class: Quickfix::CharField
- Inherits:
-
((swig_class *) SWIGTYPE_p_FIX__FieldBase->clientdata)->klass
- Object
- ((swig_class *) SWIGTYPE_p_FIX__FieldBase->clientdata)->klass
- Quickfix::CharField
show all
- Defined in:
- ext/quickfix/QuickfixRuby.cpp
Direct Known Subclasses
AdvSide, AggressorSide, AllocCommissionBasis, AllocPositionEffect, AllocTransType, AsOfIndicator, AssignmentMethod, BasisPxType, Benchmark, BidRequestTransType, BidTradeType, BookingUnit, CancellationRights, CashMargin, CollateralFXRateCalc, CommType, CommissionBasis, ComplexEventCreditEventQualifier, CxlRejResponseTo, CxlType, DKReason, DayBookingInst, DealingCapacity, DeleteReason, DerivativeInstrmtAssignmentMethod, DerivativeInstrumentPartyIDSource, DerivativeOptAttribute, DiscretionInst, DisplayMethod, DisplayWhen, DividendFinalRateRoundingDirection, DlvyInstType, EmailType, EventInitiatorType, ExDestinationIDSource, ExecAckStatus, ExecPriceType, ExecTransType, ExecType, ExerciseMethod, FundRenewWaiv, HaltReasonChar, HandlInst, IOIOthSvc, IOIQltyInd, IOIQualifier, IOITransType, InstrmtAssignmentMethod, InstrumentPartyIDSource, InstrumentRoundingDirection, LastCapacity, LegComplexEventCreditEventQualifier, LegDividendFinalRateRoundingDirection, LegInstrmtAssignmentMethod, LegInstrumentPartyIDSource, LegInstrumentRoundingDirection, LegOptAttribute, LegPaymentStreamCompoundingFinalRateRoundingDirection, LegPaymentStreamFinalRateRoundingDirection, LegPositionEffect, LegProtectionTermEventQualifier, LegProvisionPartyIDSource, LegReturnRateCommissionBasis, LegReturnRateFXRateCalc, LegSettlmntTyp, LegSide, ListExecInstType, ListUpdateAction, LotType, MDEntryType, MDReqRejReason, MDUpdateAction, MarginAmtFXRateCalc, MarketUpdateAction, MassCancelRequestType, MassCancelResponse, MatchStatus, MoneyLaunderingStatus, MsgDirection, MultiLegReportingType, Nested2PartyIDSource, Nested3PartyIDSource, Nested4PartyIDSource, NestedPartyIDSource, OpenClose, OptAttribute, OrdStatus, OrdType, OrderCapacity, OrderCategory, OrderEntryAction, OrigTradeHandlingInstr, OwnershipType, PartyDetailAltIDSource, PartyDetailIDSource, PartyIDSource, PayCollectFXRateCalc, PaymentSettlPartyIDSource, PaymentStreamCompoundingFinalRateRoundingDirection, PaymentStreamFinalRateRoundingDirection, PositionEffect, PositionFXRateCalc, PreallocMethod, PriceProtectionScope, ProcessCode, ProtectionTermEventQualifier, ProvisionPartyIDSource, QuoteQualifier, RefOrderIDSource, RegistStatus, RegistTransType, RelatedPartyDetailAltIDSource, RelatedPartyDetailIDSource, RequestingPartyIDSource, ReturnRateCommissionBasis, ReturnRateFXRateCalc, RootPartyIDSource, RoundingDirection, Rule80A, SecurityUpdateAction, SettlCurrFxRateCalc, SettlInstMode, SettlInstSource, SettlInstTransType, SettlObligSource, SettlObligTransType, SettlPartyIDSource, SettlPriceFxRateCalc, SettlmntTyp, Side, SideCollateralFXRateCalc, SideVenueType, SubscriptionRequestType, TargetPartyIDSource, TaxonomyType, TickDirection, TimeInForce, TradSesUpdateAction, TradeHandlingInstr, TradeType, TriggerAction, TriggerOrderType, TriggerPriceDirection, TriggerPriceType, TriggerPriceTypeScope, TriggerType, UnderlyingAssignmentMethod, UnderlyingComplexEventCreditEventQualifier, UnderlyingDividendFinalRateRoundingDirection, UnderlyingFXRateCalc, UnderlyingInstrumentPartyIDSource, UnderlyingInstrumentRoundingDirection, UnderlyingLegOptAttribute, UnderlyingOptAttribute, UnderlyingPaymentStreamCompoundingFinalRateRoundingDirection, UnderlyingPaymentStreamFinalRateRoundingDirection, UnderlyingProtectionTermEventQualifier, UnderlyingProvisionPartyIDSource, UnderlyingReturnRateCommissionBasis, UnderlyingReturnRateFXRateCalc, UndlyInstrumentPartyIDSource, Urgency, VenueType
Instance Method Summary
collapse
Constructor Details
#initialize(*args, self) ⇒ Object
28497
28498
28499
28500
28501
28502
28503
28504
28505
28506
28507
28508
28509
28510
28511
28512
28513
28514
28515
28516
28517
28518
28519
28520
28521
28522
28523
28524
28525
28526
28527
28528
28529
28530
28531
28532
28533
28534
28535
28536
28537
28538
28539
28540
|
# File 'ext/quickfix/QuickfixRuby.cpp', line 28497
SWIGINTERN VALUE _wrap_new_CharField(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[2];
int ii;
argc = nargs;
if (argc > 2) SWIG_fail;
for (ii = 0; (ii < argc); ++ii) {
argv[ii] = args[ii];
}
if (argc == 1) {
int _v = 0;
{
int res = SWIG_AsVal_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_CharField__SWIG_1(nargs, args, self);
}
}
if (argc == 2) {
int _v = 0;
{
int res = SWIG_AsVal_int(argv[0], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
{
int res = SWIG_AsVal_char(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_new_CharField__SWIG_0(nargs, args, self);
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 2, "CharField.new",
" CharField.new(int field, char data)\n"
" CharField.new(int field)\n");
return Qnil;
}
|
Instance Method Details
#getValue(*args) ⇒ Object
28583
28584
28585
28586
28587
28588
28589
28590
28591
28592
28593
28594
28595
28596
28597
28598
28599
28600
28601
28602
28603
28604
28605
28606
28607
28608
28609
28610
28611
28612
28613
28614
28615
|
# File 'ext/quickfix/QuickfixRuby.cpp', line 28583
SWIGINTERN VALUE
_wrap_CharField_getValue(int argc, VALUE *argv, VALUE self) {
FIX::CharField *arg1 = (FIX::CharField *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char 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_FIX__CharField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::CharField const *","getValue", 1, self ));
}
arg1 = reinterpret_cast< FIX::CharField * >(argp1);
{
if(tryRubyException([&]() mutable
{
result = (char)((FIX::CharField const *)arg1)->getValue();
return self;
fail:
return Qnil;
}) == Qnil)
{
SWIG_fail;
}
}
vresult = SWIG_From_char(static_cast< char >(result));
return vresult;
fail:
return Qnil;
}
|
#setValue(*args) ⇒ Object
28543
28544
28545
28546
28547
28548
28549
28550
28551
28552
28553
28554
28555
28556
28557
28558
28559
28560
28561
28562
28563
28564
28565
28566
28567
28568
28569
28570
28571
28572
28573
28574
28575
28576
28577
28578
28579
28580
|
# File 'ext/quickfix/QuickfixRuby.cpp', line 28543
SWIGINTERN VALUE
_wrap_CharField_setValue(int argc, VALUE *argv, VALUE self) {
FIX::CharField *arg1 = (FIX::CharField *) 0 ;
char 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_FIX__CharField, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::CharField *","setValue", 1, self ));
}
arg1 = reinterpret_cast< FIX::CharField * >(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","setValue", 2, argv[0] ));
}
arg2 = static_cast< char >(val2);
{
if(tryRubyException([&]() mutable
{
(arg1)->setValue(arg2);
return self;
fail:
return Qnil;
}) == Qnil)
{
SWIG_fail;
}
}
return Qnil;
fail:
return Qnil;
}
|