Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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

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

Location:
branches/proxy/src/lib/physics
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/physics/fields/field.cc

    r7199 r9357  
    2222#include "util/loading/factory.h"
    2323#include "util/loading/load_param.h"
    24 using namespace std;
     24
    2525
    2626/**
  • branches/proxy/src/lib/physics/fields/gravity.cc

    r7193 r9357  
    2121#include "util/loading/factory.h"
    2222
    23 using namespace std;
     23
    2424
    2525CREATE_FACTORY(Gravity, CL_FIELD_GRAVITY);
  • branches/proxy/src/lib/physics/fields/point_gravity.cc

    r5357 r9357  
    1818#include "point_gravity.h"
    1919
    20 using namespace std;
     20
    2121
    2222
  • branches/proxy/src/lib/physics/fields/twirl.cc

    r5357 r9357  
    1818#include "twirl.h"
    1919
    20 using namespace std;
     20
    2121
    2222
  • branches/proxy/src/lib/physics/physics_connection.cc

    r7221 r9357  
    2727#include "util/loading/load_param.h"
    2828
    29 using namespace std;
     29
    3030
    3131CREATE_FACTORY(PhysicsConnection, CL_PHYSICS_CONNECTION);
  • branches/proxy/src/lib/physics/physics_engine.cc

    r7221 r9357  
    2323#include "util/loading/load_param.h"
    2424
    25 using namespace std;
     25
    2626
    2727
     
    162162Field* PhysicsEngine::getFieldByName(const std::string& fieldName) const
    163163{
    164   list<Field*>::const_iterator field;
     164  std::list<Field*>::const_iterator field;
    165165  for (field = this->fields.begin(); field != this->fields.end(); field++)
    166166    if (fieldName == (*field)->getName())
     
    199199PhysicsConnection* PhysicsEngine::getPhysicsConnectionByName(const std::string& physicsConnectionName) const
    200200{
    201   list<PhysicsConnection*>::const_iterator pc;
     201  std::list<PhysicsConnection*>::const_iterator pc;
    202202  for (pc = this->connections.begin(); pc != this->connections.end(); pc++)
    203203    if (physicsConnectionName == (*pc)->getName())
     
    218218  /* go through all the PhysicsInterface(s) and tick them,
    219219  meaning let the fields work */
    220   list<PhysicsConnection*>::iterator pc;
     220  std::list<PhysicsConnection*>::iterator pc;
    221221  for (pc = this->connections.begin(); pc != this->connections.end(); pc++)
    222222    (*pc)->apply();
     
    225225  if (this->interfaces != NULL || (this->interfaces = ClassList::getList(CL_PHYSICS_INTERFACE)) != NULL)
    226226  {
    227     list<BaseObject*>::const_iterator tickPhys;
     227    std::list<BaseObject*>::const_iterator tickPhys;
    228228    for (tickPhys = this->interfaces->begin(); tickPhys != this->interfaces->end(); tickPhys++)
    229229      dynamic_cast<PhysicsInterface*>(*tickPhys)->tickPhys(dt);
  • branches/proxy/src/lib/physics/physics_interface.cc

    r8350 r9357  
    2929#include "stdincl.h"
    3030
    31 using namespace std;
     31
    3232
    3333
Note: See TracChangeset for help on using the changeset viewer.