Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 28, 2007, 11:33:10 PM (16 years ago)
Author:
rgrieder
Message:
  • the master has spoken…
  • misc/String.h is not anymore..
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/objects/WorldEntity.cc

    r708 r715  
    2626 */
    2727
     28#include <string>
    2829#include <sstream>
    2930
     
    3132#include "misc/Tokenizer.h"
    3233#include "misc/String2Number.h"
    33 #include "misc/String.h"
    3434#include "../core/CoreIncludes.h"
    3535#include "../Orxonox.h"
     
    8888        if (xmlElem->Attribute("position"))
    8989        {
    90             std::vector<String> pos = tokenize(xmlElem->Attribute("position"),",");
     90            std::vector<std::string> pos = tokenize(xmlElem->Attribute("position"),",");
    9191            float x, y, z;
    9292            String2Number<float>(x, pos[0]);
     
    9898        if (xmlElem->Attribute("direction"))
    9999        {
    100             std::vector<String> pos = tokenize(xmlElem->Attribute("direction"),",");
     100            std::vector<std::string> pos = tokenize(xmlElem->Attribute("direction"),",");
    101101            float x, y, z;
    102102            String2Number<float>(x, pos[0]);
     
    125125        if (xmlElem->Attribute("scale"))
    126126        {
    127             String scaleStr = xmlElem->Attribute("scale");
     127            std::string scaleStr = xmlElem->Attribute("scale");
    128128            float scale;
    129129            String2Number<float>(scale, scaleStr);
     
    133133        if (xmlElem->Attribute("rotationAxis"))
    134134        {
    135             std::vector<String> pos = tokenize(xmlElem->Attribute("rotationAxis"),",");
     135            std::vector<std::string> pos = tokenize(xmlElem->Attribute("rotationAxis"),",");
    136136            float x, y, z;
    137137            String2Number<float>(x, pos[0]);
Note: See TracChangeset for help on using the changeset viewer.