Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9357 in orxonox.OLD for branches/proxy/src/lib/collision_reaction


Ignore:
Timestamp:
Jul 20, 2006, 2:33:37 PM (19 years ago)
Author:
bensch
Message:

orxonox/proxy: removed 'using namespace std;' everywhere

Location:
branches/proxy/src/lib/collision_reaction
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/collision_reaction/collision.cc

    r8190 r9357  
    1919#include "debug.h"
    2020
    21 using namespace std;
     21
    2222
    2323
  • branches/proxy/src/lib/collision_reaction/collision_event.cc

    r8190 r9357  
    1919#include "debug.h"
    2020
    21 using namespace std;
     21
    2222
    2323
  • branches/proxy/src/lib/collision_reaction/collision_handle.cc

    r9235 r9357  
    2929#include "debug.h"
    3030
    31 using namespace std;
     31
    3232
    3333
     
    204204
    205205  // collision reaction calculations (for every collision there will be a reaction)
    206   vector<Collision*>::iterator it = this->collisionList.begin();
     206  std::vector<Collision*>::iterator it = this->collisionList.begin();
    207207  for(; it < this->collisionList.end(); it++) {
    208208    if( !(*it)->isDispatched())
     
    227227bool CollisionHandle::filterCollisionEvent(CollisionEvent* collisionEvent)
    228228{
    229   vector<long>::iterator it = this->targetList.begin();
     229  std::vector<long>::iterator it = this->targetList.begin();
    230230  for(; it < this->targetList.end(); it++)
    231231  {
     
    276276bool CollisionHandle::filterCollision(Collision* collision)
    277277{
    278   vector<long>::iterator it = this->targetList.begin();
     278  std::vector<long>::iterator it = this->targetList.begin();
    279279  for(; it < this->targetList.end(); it++)
    280280  {
  • branches/proxy/src/lib/collision_reaction/collision_reaction.cc

    r8190 r9357  
    1919
    2020
    21 using namespace std;
     21
    2222
    2323
  • branches/proxy/src/lib/collision_reaction/cr_engine.cc

    r8490 r9357  
    2727#include "debug.h"
    2828
    29 using namespace std;
     29
    3030
    3131
     
    6161  this->reset();
    6262
    63   vector<Collision*>::iterator it1 = this->collisionsUnused.begin();
     63  std::vector<Collision*>::iterator it1 = this->collisionsUnused.begin();
    6464  for(; it1 < this->collisionsUnused.end(); it1++)
    6565    delete *it1;
    66   vector<CollisionEvent*>::iterator it2 = this->collisionEventsUnused.begin();
     66  std::vector<CollisionEvent*>::iterator it2 = this->collisionEventsUnused.begin();
    6767  for(; it2 < this->collisionEventsUnused.end(); it2++)
    6868    delete *it2;
     
    9292  // first clear all CollisionHandles
    9393
    94   vector<CollisionHandle*>::iterator it = this->collisionHandles.begin();
     94  std::vector<CollisionHandle*>::iterator it = this->collisionHandles.begin();
    9595  for(; it < this->collisionHandles.end(); it++)
    9696  {
     
    159159void CREngine::flushCollisions()
    160160{
    161   vector<Collision*>::iterator it1 = this->collisionsUsed.begin();
     161  std::vector<Collision*>::iterator it1 = this->collisionsUsed.begin();
    162162  for(; it1 < this->collisionsUsed.end(); it1++)
    163163    this->collisionsUnused.push_back(*it1);
    164164
    165   vector<CollisionEvent*>::iterator it2 = this->collisionEventsUsed.begin();
     165  std::vector<CollisionEvent*>::iterator it2 = this->collisionEventsUsed.begin();
    166166  for(; it2 < this->collisionEventsUsed.end(); it2++)
    167167    this->collisionEventsUnused.push_back(*it2);
  • branches/proxy/src/lib/collision_reaction/cr_object_damage.cc

    r9235 r9357  
    2626#include "debug.h"
    2727
    28 using namespace std;
     28
    2929
    3030
  • branches/proxy/src/lib/collision_reaction/cr_physics_full_walk.cc

    r9235 r9357  
    3333#include "cr_defs.h"
    3434
    35 using namespace std;
     35
    3636
    3737
  • branches/proxy/src/lib/collision_reaction/cr_physics_ground_walk.cc

    r9235 r9357  
    3333#include "cr_defs.h"
    3434
    35 using namespace std;
     35
    3636
    3737
Note: See TracChangeset for help on using the changeset viewer.