Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7210 in orxonox.OLD for branches/std/src/lib/util/loading


Ignore:
Timestamp:
Mar 10, 2006, 2:37:11 AM (19 years ago)
Author:
bensch
Message:

std::less warn stuff

Location:
branches/std/src/lib/util/loading
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/std/src/lib/util/loading/factory.cc

    r7209 r7210  
    178178  else
    179179  {
    180     PRINTF(2)("Could not Fabricate an Object of ClassID '%h'\n", classID);
     180    PRINTF(2)("Could not Fabricate an Object of ClassID '0x%h'\n", classID);
    181181    return NULL;
    182182  }
  • branches/std/src/lib/util/loading/factory.h

    r7209 r7210  
    2727#include "parser/tinyxml/tinyxml.h"
    2828#include "base_object.h"
    29 #include "debug.h"
    3029#include <vector>
    3130#include <list>
     
    3433 * Creates a factory to a Loadable Class.
    3534 * this should be used at the beginning of all the Classes that should be loadable (in the cc-file)
    36 */
     35 */
    3736#define CREATE_FACTORY(CLASS_NAME, CLASS_ID) \
    3837    tFactory<CLASS_NAME>* global_##CLASS_NAME##_Factory = new tFactory<CLASS_NAME>(#CLASS_NAME, CLASS_ID)
     
    6968
    7069/**
    71  *  a factory that is able to load any kind of Object
     70 *  @brief a factory that is able to load any kind of Object
    7271 * (this is a Functor)
    7372 */
     
    7675 public:
    7776 /**
    78   * creates a new type Factory to enable the loading of T
     77  * @brief creates a new type Factory to enable the loading of T
    7978  * @param factoryName the Name of the Factory to load.
    8079  * @param classID the ID of the Class to be created.
     
    8685  private:
    8786   /**
    88     * fabricates an Object of type T, with the constructor T::T(const TiXmlElemnt*)
     87    * @brief fabricates an Object of type T, with the constructor T::T(const TiXmlElemnt*)
    8988    * @param root the TiXmlElement T should load parameters from.
    9089    * @return the newly fabricated T.
  • branches/std/src/lib/util/loading/resource_manager.cc

    r7208 r7210  
    325325{
    326326
    327   printf("LOADING:::::: %s\n", fileName.c_str());
    328327  // searching if the resource was loaded before.
    329328  Resource* tmpResource;
Note: See TracChangeset for help on using the changeset viewer.