@@ -5306,10 +5306,10 @@ namespace Firebird
5306
5306
public:
5307
5307
struct VTable : public IVersioned ::VTable
5308
5308
{
5309
- void (CLOOP_CARG *scatter )(IDecFloat16* self, const FB_DEC16* from, int * sign, unsigned char * bcd, int * exp) throw ();
5310
- void (CLOOP_CARG *toStr )(IDecFloat16* self, const FB_DEC16* from, char * to) throw ();
5311
- void (CLOOP_CARG *gather )(IDecFloat16* self, int sign, const unsigned char * bcd, int exp, FB_DEC16* to) throw ();
5312
- void (CLOOP_CARG *fromStr )(IDecFloat16* self, IStatus* status, const char * from, FB_DEC16* to) throw ();
5309
+ void (CLOOP_CARG *toBcd )(IDecFloat16* self, const FB_DEC16* from, int * sign, unsigned char * bcd, int * exp) throw ();
5310
+ void (CLOOP_CARG *toString )(IDecFloat16* self, const FB_DEC16* from, char * to) throw ();
5311
+ void (CLOOP_CARG *fromBcd )(IDecFloat16* self, int sign, const unsigned char * bcd, int exp, FB_DEC16* to) throw ();
5312
+ void (CLOOP_CARG *fromString )(IDecFloat16* self, IStatus* status, const char * from, FB_DEC16* to) throw ();
5313
5313
};
5314
5314
5315
5315
protected:
@@ -5328,25 +5328,25 @@ namespace Firebird
5328
5328
static const unsigned BCD_SIZE = 16 ;
5329
5329
static const unsigned STRING_SIZE = 25 ;
5330
5330
5331
- void scatter (const FB_DEC16* from, int * sign, unsigned char * bcd, int * exp)
5331
+ void toBcd (const FB_DEC16* from, int * sign, unsigned char * bcd, int * exp)
5332
5332
{
5333
- static_cast <VTable*>(this ->cloopVTable )->scatter (this , from, sign, bcd, exp);
5333
+ static_cast <VTable*>(this ->cloopVTable )->toBcd (this , from, sign, bcd, exp);
5334
5334
}
5335
5335
5336
- void toStr (const FB_DEC16* from, char * to)
5336
+ void toString (const FB_DEC16* from, char * to)
5337
5337
{
5338
- static_cast <VTable*>(this ->cloopVTable )->toStr (this , from, to);
5338
+ static_cast <VTable*>(this ->cloopVTable )->toString (this , from, to);
5339
5339
}
5340
5340
5341
- void gather (int sign, const unsigned char * bcd, int exp, FB_DEC16* to)
5341
+ void fromBcd (int sign, const unsigned char * bcd, int exp, FB_DEC16* to)
5342
5342
{
5343
- static_cast <VTable*>(this ->cloopVTable )->gather (this , sign, bcd, exp, to);
5343
+ static_cast <VTable*>(this ->cloopVTable )->fromBcd (this , sign, bcd, exp, to);
5344
5344
}
5345
5345
5346
- template <typename StatusType> void fromStr (StatusType* status, const char * from, FB_DEC16* to)
5346
+ template <typename StatusType> void fromString (StatusType* status, const char * from, FB_DEC16* to)
5347
5347
{
5348
5348
StatusType::clearException (status);
5349
- static_cast <VTable*>(this ->cloopVTable )->fromStr (this , status, from, to);
5349
+ static_cast <VTable*>(this ->cloopVTable )->fromString (this , status, from, to);
5350
5350
StatusType::checkException (status);
5351
5351
}
5352
5352
};
@@ -5356,10 +5356,10 @@ namespace Firebird
5356
5356
public:
5357
5357
struct VTable : public IVersioned ::VTable
5358
5358
{
5359
- void (CLOOP_CARG *scatter )(IDecFloat34* self, const FB_DEC34* from, int * sign, unsigned char * bcd, int * exp) throw ();
5360
- void (CLOOP_CARG *toStr )(IDecFloat34* self, const FB_DEC34* from, char * to) throw ();
5361
- void (CLOOP_CARG *gather )(IDecFloat34* self, int sign, const unsigned char * bcd, int exp, FB_DEC34* to) throw ();
5362
- void (CLOOP_CARG *fromStr )(IDecFloat34* self, IStatus* status, const char * from, FB_DEC34* to) throw ();
5359
+ void (CLOOP_CARG *toBcd )(IDecFloat34* self, const FB_DEC34* from, int * sign, unsigned char * bcd, int * exp) throw ();
5360
+ void (CLOOP_CARG *toString )(IDecFloat34* self, const FB_DEC34* from, char * to) throw ();
5361
+ void (CLOOP_CARG *fromBcd )(IDecFloat34* self, int sign, const unsigned char * bcd, int exp, FB_DEC34* to) throw ();
5362
+ void (CLOOP_CARG *fromString )(IDecFloat34* self, IStatus* status, const char * from, FB_DEC34* to) throw ();
5363
5363
};
5364
5364
5365
5365
protected:
@@ -5378,25 +5378,25 @@ namespace Firebird
5378
5378
static const unsigned BCD_SIZE = 34 ;
5379
5379
static const unsigned STRING_SIZE = 43 ;
5380
5380
5381
- void scatter (const FB_DEC34* from, int * sign, unsigned char * bcd, int * exp)
5381
+ void toBcd (const FB_DEC34* from, int * sign, unsigned char * bcd, int * exp)
5382
5382
{
5383
- static_cast <VTable*>(this ->cloopVTable )->scatter (this , from, sign, bcd, exp);
5383
+ static_cast <VTable*>(this ->cloopVTable )->toBcd (this , from, sign, bcd, exp);
5384
5384
}
5385
5385
5386
- void toStr (const FB_DEC34* from, char * to)
5386
+ void toString (const FB_DEC34* from, char * to)
5387
5387
{
5388
- static_cast <VTable*>(this ->cloopVTable )->toStr (this , from, to);
5388
+ static_cast <VTable*>(this ->cloopVTable )->toString (this , from, to);
5389
5389
}
5390
5390
5391
- void gather (int sign, const unsigned char * bcd, int exp, FB_DEC34* to)
5391
+ void fromBcd (int sign, const unsigned char * bcd, int exp, FB_DEC34* to)
5392
5392
{
5393
- static_cast <VTable*>(this ->cloopVTable )->gather (this , sign, bcd, exp, to);
5393
+ static_cast <VTable*>(this ->cloopVTable )->fromBcd (this , sign, bcd, exp, to);
5394
5394
}
5395
5395
5396
- template <typename StatusType> void fromStr (StatusType* status, const char * from, FB_DEC34* to)
5396
+ template <typename StatusType> void fromString (StatusType* status, const char * from, FB_DEC34* to)
5397
5397
{
5398
5398
StatusType::clearException (status);
5399
- static_cast <VTable*>(this ->cloopVTable )->fromStr (this , status, from, to);
5399
+ static_cast <VTable*>(this ->cloopVTable )->fromString (this , status, from, to);
5400
5400
StatusType::checkException (status);
5401
5401
}
5402
5402
};
@@ -16536,59 +16536,59 @@ namespace Firebird
16536
16536
VTableImpl ()
16537
16537
{
16538
16538
this ->version = Base::VERSION;
16539
- this ->scatter = &Name::cloopscatterDispatcher ;
16540
- this ->toStr = &Name::clooptoStrDispatcher ;
16541
- this ->gather = &Name::cloopgatherDispatcher ;
16542
- this ->fromStr = &Name::cloopfromStrDispatcher ;
16539
+ this ->toBcd = &Name::clooptoBcdDispatcher ;
16540
+ this ->toString = &Name::clooptoStringDispatcher ;
16541
+ this ->fromBcd = &Name::cloopfromBcdDispatcher ;
16542
+ this ->fromString = &Name::cloopfromStringDispatcher ;
16543
16543
}
16544
16544
} vTable;
16545
16545
16546
16546
this ->cloopVTable = &vTable;
16547
16547
}
16548
16548
16549
- static void CLOOP_CARG cloopscatterDispatcher (IDecFloat16* self, const FB_DEC16* from, int * sign, unsigned char * bcd, int * exp) throw()
16549
+ static void CLOOP_CARG clooptoBcdDispatcher (IDecFloat16* self, const FB_DEC16* from, int * sign, unsigned char * bcd, int * exp) throw()
16550
16550
{
16551
16551
try
16552
16552
{
16553
- static_cast <Name*>(self)->Name ::scatter (from, sign, bcd, exp);
16553
+ static_cast <Name*>(self)->Name ::toBcd (from, sign, bcd, exp);
16554
16554
}
16555
16555
catch (...)
16556
16556
{
16557
16557
StatusType::catchException (0 );
16558
16558
}
16559
16559
}
16560
16560
16561
- static void CLOOP_CARG clooptoStrDispatcher (IDecFloat16* self, const FB_DEC16* from, char * to) throw()
16561
+ static void CLOOP_CARG clooptoStringDispatcher (IDecFloat16* self, const FB_DEC16* from, char * to) throw()
16562
16562
{
16563
16563
try
16564
16564
{
16565
- static_cast <Name*>(self)->Name ::toStr (from, to);
16565
+ static_cast <Name*>(self)->Name ::toString (from, to);
16566
16566
}
16567
16567
catch (...)
16568
16568
{
16569
16569
StatusType::catchException (0 );
16570
16570
}
16571
16571
}
16572
16572
16573
- static void CLOOP_CARG cloopgatherDispatcher (IDecFloat16* self, int sign, const unsigned char * bcd, int exp, FB_DEC16* to) throw()
16573
+ static void CLOOP_CARG cloopfromBcdDispatcher (IDecFloat16* self, int sign, const unsigned char * bcd, int exp, FB_DEC16* to) throw()
16574
16574
{
16575
16575
try
16576
16576
{
16577
- static_cast <Name*>(self)->Name ::gather (sign, bcd, exp, to);
16577
+ static_cast <Name*>(self)->Name ::fromBcd (sign, bcd, exp, to);
16578
16578
}
16579
16579
catch (...)
16580
16580
{
16581
16581
StatusType::catchException (0 );
16582
16582
}
16583
16583
}
16584
16584
16585
- static void CLOOP_CARG cloopfromStrDispatcher (IDecFloat16* self, IStatus* status, const char * from, FB_DEC16* to) throw()
16585
+ static void CLOOP_CARG cloopfromStringDispatcher (IDecFloat16* self, IStatus* status, const char * from, FB_DEC16* to) throw()
16586
16586
{
16587
16587
StatusType status2 (status);
16588
16588
16589
16589
try
16590
16590
{
16591
- static_cast <Name*>(self)->Name ::fromStr (&status2, from, to);
16591
+ static_cast <Name*>(self)->Name ::fromString (&status2, from, to);
16592
16592
}
16593
16593
catch (...)
16594
16594
{
@@ -16610,10 +16610,10 @@ namespace Firebird
16610
16610
{
16611
16611
}
16612
16612
16613
- virtual void scatter (const FB_DEC16* from, int * sign, unsigned char * bcd, int * exp) = 0;
16614
- virtual void toStr (const FB_DEC16* from, char * to) = 0;
16615
- virtual void gather (int sign, const unsigned char * bcd, int exp, FB_DEC16* to) = 0;
16616
- virtual void fromStr (StatusType* status, const char * from, FB_DEC16* to) = 0;
16613
+ virtual void toBcd (const FB_DEC16* from, int * sign, unsigned char * bcd, int * exp) = 0;
16614
+ virtual void toString (const FB_DEC16* from, char * to) = 0;
16615
+ virtual void fromBcd (int sign, const unsigned char * bcd, int exp, FB_DEC16* to) = 0;
16616
+ virtual void fromString (StatusType* status, const char * from, FB_DEC16* to) = 0;
16617
16617
};
16618
16618
16619
16619
template <typename Name, typename StatusType, typename Base>
@@ -16629,59 +16629,59 @@ namespace Firebird
16629
16629
VTableImpl ()
16630
16630
{
16631
16631
this ->version = Base::VERSION;
16632
- this ->scatter = &Name::cloopscatterDispatcher ;
16633
- this ->toStr = &Name::clooptoStrDispatcher ;
16634
- this ->gather = &Name::cloopgatherDispatcher ;
16635
- this ->fromStr = &Name::cloopfromStrDispatcher ;
16632
+ this ->toBcd = &Name::clooptoBcdDispatcher ;
16633
+ this ->toString = &Name::clooptoStringDispatcher ;
16634
+ this ->fromBcd = &Name::cloopfromBcdDispatcher ;
16635
+ this ->fromString = &Name::cloopfromStringDispatcher ;
16636
16636
}
16637
16637
} vTable;
16638
16638
16639
16639
this ->cloopVTable = &vTable;
16640
16640
}
16641
16641
16642
- static void CLOOP_CARG cloopscatterDispatcher (IDecFloat34* self, const FB_DEC34* from, int * sign, unsigned char * bcd, int * exp) throw()
16642
+ static void CLOOP_CARG clooptoBcdDispatcher (IDecFloat34* self, const FB_DEC34* from, int * sign, unsigned char * bcd, int * exp) throw()
16643
16643
{
16644
16644
try
16645
16645
{
16646
- static_cast <Name*>(self)->Name ::scatter (from, sign, bcd, exp);
16646
+ static_cast <Name*>(self)->Name ::toBcd (from, sign, bcd, exp);
16647
16647
}
16648
16648
catch (...)
16649
16649
{
16650
16650
StatusType::catchException (0 );
16651
16651
}
16652
16652
}
16653
16653
16654
- static void CLOOP_CARG clooptoStrDispatcher (IDecFloat34* self, const FB_DEC34* from, char * to) throw()
16654
+ static void CLOOP_CARG clooptoStringDispatcher (IDecFloat34* self, const FB_DEC34* from, char * to) throw()
16655
16655
{
16656
16656
try
16657
16657
{
16658
- static_cast <Name*>(self)->Name ::toStr (from, to);
16658
+ static_cast <Name*>(self)->Name ::toString (from, to);
16659
16659
}
16660
16660
catch (...)
16661
16661
{
16662
16662
StatusType::catchException (0 );
16663
16663
}
16664
16664
}
16665
16665
16666
- static void CLOOP_CARG cloopgatherDispatcher (IDecFloat34* self, int sign, const unsigned char * bcd, int exp, FB_DEC34* to) throw()
16666
+ static void CLOOP_CARG cloopfromBcdDispatcher (IDecFloat34* self, int sign, const unsigned char * bcd, int exp, FB_DEC34* to) throw()
16667
16667
{
16668
16668
try
16669
16669
{
16670
- static_cast <Name*>(self)->Name ::gather (sign, bcd, exp, to);
16670
+ static_cast <Name*>(self)->Name ::fromBcd (sign, bcd, exp, to);
16671
16671
}
16672
16672
catch (...)
16673
16673
{
16674
16674
StatusType::catchException (0 );
16675
16675
}
16676
16676
}
16677
16677
16678
- static void CLOOP_CARG cloopfromStrDispatcher (IDecFloat34* self, IStatus* status, const char * from, FB_DEC34* to) throw()
16678
+ static void CLOOP_CARG cloopfromStringDispatcher (IDecFloat34* self, IStatus* status, const char * from, FB_DEC34* to) throw()
16679
16679
{
16680
16680
StatusType status2 (status);
16681
16681
16682
16682
try
16683
16683
{
16684
- static_cast <Name*>(self)->Name ::fromStr (&status2, from, to);
16684
+ static_cast <Name*>(self)->Name ::fromString (&status2, from, to);
16685
16685
}
16686
16686
catch (...)
16687
16687
{
@@ -16703,10 +16703,10 @@ namespace Firebird
16703
16703
{
16704
16704
}
16705
16705
16706
- virtual void scatter (const FB_DEC34* from, int * sign, unsigned char * bcd, int * exp) = 0;
16707
- virtual void toStr (const FB_DEC34* from, char * to) = 0;
16708
- virtual void gather (int sign, const unsigned char * bcd, int exp, FB_DEC34* to) = 0;
16709
- virtual void fromStr (StatusType* status, const char * from, FB_DEC34* to) = 0;
16706
+ virtual void toBcd (const FB_DEC34* from, int * sign, unsigned char * bcd, int * exp) = 0;
16707
+ virtual void toString (const FB_DEC34* from, char * to) = 0;
16708
+ virtual void fromBcd (int sign, const unsigned char * bcd, int exp, FB_DEC34* to) = 0;
16709
+ virtual void fromString (StatusType* status, const char * from, FB_DEC34* to) = 0;
16710
16710
};
16711
16711
};
16712
16712
0 commit comments