Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 5, 2008, 2:18:14 PM (16 years ago)
Author:
rgrieder
Message:
  • applied patch to remove ClassManager (wouldn't wanna maintain it anymore ;))
  • sorted core CMLs a little bit
  • updated OrxonoxStableHeaders.h
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/core/ObjectList.h

    r1505 r1543  
    4444
    4545#include "Iterator.h"
    46 #include "ClassManager.h"
     46#include "Identifier.h"
    4747
    4848namespace orxonox
     
    9595            /** @brief Returns the first element in the list. @return The first element */
    9696            inline static Iterator<T> start()
    97                 { return Iterator<T>(ClassManager<T>::getIdentifier()->getObjects()->first_); }
     97                { return Iterator<T>(ClassIdentifier<T>::getIdentifier()->getObjects()->first_); }
    9898
    9999            /** @brief Returns the first element in the list. @return The first element */
    100100            inline static Iterator<T> begin()
    101                 { return Iterator<T>(ClassManager<T>::getIdentifier()->getObjects()->first_); }
     101                { return Iterator<T>(ClassIdentifier<T>::getIdentifier()->getObjects()->first_); }
    102102
    103103            /** @brief Returns the last element in the list. @return The last element */
    104104            inline static Iterator<T> end()
    105                 { return Iterator<T>(ClassManager<T>::getIdentifier()->getObjects()->last_); }
     105                { return Iterator<T>(ClassIdentifier<T>::getIdentifier()->getObjects()->last_); }
    106106
    107107            inline void registerIterator(Iterator<T>* iterator)
Note: See TracChangeset for help on using the changeset viewer.