// $Header: /cvs/gled-1.2/GledCore/Stones/SEvTaskState.cxx,v 1.2 2005/03/11 17:50:16 matevz Exp $

// Copyright (C) 1999-2005, Matevz Tadel. All rights reserved.
// This file is part of GLED, released under GNU General Public License version 2.
// For the licensing terms see $GLEDSYS/LICENSE or http://www.gnu.org/.

//__________________________________________________________________________
// SEvTaskState
//
//

#include "SEvTaskState.h"

ClassImp(SEvTaskState)

/**************************************************************************/

 void SEvTaskState::_init()
{
  mState = 'W';
  mNAll = mNOK = mNFail = mNProc = 0;
}

 void SEvTaskState::Reinit(Int_t n)
{
  _init();
  mNAll = n;
}

/**************************************************************************/

SEvTaskState& SEvTaskState::operator+=(const SEvTaskState& s)
{ 
  mNAll  += s.mNAll;  mNOK += s.mNOK;
  mNFail += s.mNFail; mNProc += s.mNProc; 
  return *this;
}


/**************************************************************************/


ROOT page - Home page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.