Ignore:
Timestamp:
07/16/10 14:50:04 (14 years ago)
Author:
hozdoba
Message:

Gestion du calendrier, quelques modifications en cours avant d'arriver à une version correcte.

(calendar.old² sera supprimé par la suite)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/dev_rv/src/XMLIO/object_template.hpp

    r114 r115  
    5252            std::set<T*> sset; 
    5353            T* refer = (T*)this; 
    54             // On remonte le fil des héritages par référence (Boucle infinie). 
     54            // On remonte le fil des héritages par référence. 
    5555            while((refer = refer->getReference()) != NULL) 
    5656            { 
     
    7676         } 
    7777 
    78          static T& CreateObject(const string _id) throw (XMLIOUndefinedValueException) 
     78         static T& CreateObject(const string& _id) throw (XMLIOUndefinedValueException) 
    7979         { 
    8080            // Si l'identifiant est répertorié, on retourne l'élément existant. 
     
    9595         } 
    9696 
    97          static T& GetObject(const string _id) throw (XMLIOUndefinedValueException) 
     97         static T& GetObject(const string& _id) throw (XMLIOUndefinedValueException) 
    9898         { return (*ObjectTemplate<T>::AllListObj[CurrContext][_id]); } 
    9999 
    100          static bool HasObject(const string _id) 
     100         static bool HasObject(const string& _id) 
    101101         { 
    102102            if(ObjectTemplate<T>::AllListObj.find(CurrContext) == ObjectTemplate<T>::AllListObj.end()) return false; 
Note: See TracChangeset for help on using the changeset viewer.