本文整理汇总了C++中TBuffer::CheckByteCount方法的典型用法代码示例。如果您正苦于以下问题:C++ TBuffer::CheckByteCount方法的具体用法?C++ TBuffer::CheckByteCount怎么用?C++ TBuffer::CheckByteCount使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TBuffer
的用法示例。
在下文中一共展示了TBuffer::CheckByteCount方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: Streamer
//______________________________________________________________________________
void RunStat::Streamer(TBuffer &R__b)
{
// Stream an object of class RunStat.
UInt_t R__s, R__c;
if (R__b.IsReading()) {
Version_t R__v = R__b.ReadVersion(&R__s, &R__c); if (R__v) { }
TObject::Streamer(R__b);
R__b >> RunNumber;
R__b >> IsCalib;
R__b >> Axis;
R__b >> Source;
R__b >> Z;
R__b >> Site;
R__b >> StartSec;
R__b >> StartNano;
R__b >> EndSec;
R__b >> EndNano;
R__b >> FullTime;
R__b >> Veto1;
R__b >> Veto2;
R__b >> Veto3;
R__b >> Veto4;
R__b >> Scale1;
R__b >> Scale2;
R__b >> Scale3;
R__b >> Scale4;
R__b >> ScaleE1;
R__b >> ScaleE2;
R__b >> ScaleE3;
R__b >> ScaleE4;
R__b.CheckByteCount(R__s, R__c, RunStat::IsA());
} else {
示例2: Streamer
//______________________________________________________________________________
void TMatlab::Streamer(TBuffer &R__b)
{
// Stream an object of class TMatlab.
UInt_t R__s, R__c;
if (R__b.IsReading()) {
Version_t R__v = R__b.ReadVersion(&R__s, &R__c); if (R__v) { }
TQQObject::Streamer(R__b);
R__b >> fEvalReturn;
R__b.CheckByteCount(R__s, R__c, TMatlab::IsA());
} else {
示例3: Streamer
void KVCalibrator::Streamer(TBuffer & R__b)
{
// Stream an object of class KVCalibrator.
//customised in case no parameters are initialised (fPar null pointer)
UInt_t R__s, R__c;
if (R__b.IsReading()) {
Version_t R__v = R__b.ReadVersion(&R__s, &R__c);
if (R__v) {
}
KVBase::Streamer(R__b);
R__b >> fParamNumber;
if (fPar) {
delete[]fPar;
fPar = 0;
}
if (fParamNumber) {
fPar = new Double_t[fParamNumber];
R__b.ReadFastArray(fPar, fParamNumber);
}
R__b >> fDetector;
R__b >> fReady;
R__b.CheckByteCount(R__s, R__c, KVCalibrator::IsA());
} else {