/******************************************************************* * * DESCRIPTION: class AtomicState * * AUTHOR: Alejandro Troccoli * * EMAIL: mailto://atroccol@dc.uba.ar * * DATE: 09/11/2000 * *******************************************************************/ #include "atomicstate.h" /******************************************************************* * Function Name: operator = ********************************************************************/ AtomicState& AtomicState::operator=(AtomicState& thisState){ //#ifdef JACKY_DEBUG //ostream& jacky_os = JackyDebugStream::Instance().Stream(); //jacky_os << "\t\t AtomicState::operator=() called!" << endl << flush; //#endif (ModelState &)*this = (ModelState &) thisState; this->st = thisState.st; return *this; } /****************************************************************** * Function Name: copyState ********************************************************************/ void AtomicState::copyState(BasicState * rhs){ //#ifdef JACKY_DEBUG // ostream& jacky_os = JackyDebugStream::Instance().Stream(); // jacky_os << "\t\t AtomicState::copyState() called!" << endl << flush; //#endif *this = *((AtomicState *) rhs); }; /******************************************************************* * Function Name: getSize ********************************************************************/ int AtomicState::getSize() const { return sizeof(AtomicState); };