Ignore:
Timestamp:
05/21/12 17:57:22 (12 years ago)
Author:
ymipsl
Message:
  • Supress lot of shared_ptr
  • instrument code for vampir-trace and timer diagnostic

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/object_template.hpp

    r346 r347  
    6868         static bool has(const string& id) ; 
    6969         static bool has(const string& contextId, const string& id) ; 
    70          static boost::shared_ptr<T> get(const string& id) ; 
    71          static boost::shared_ptr<T> get(const T* ptr) ; 
    72          static boost::shared_ptr<T> get(const string& contextId, const string& id) ; 
    73          boost::shared_ptr<T> get(void) ; 
    74          static boost::shared_ptr<T> create(const string& id=string("")) ; 
    75          static const vector< boost::shared_ptr<T> >& getAll() ; 
    76          static const vector< boost::shared_ptr<T> >& getAll(const string& contextId) ; 
     70         static T* get(const string& id) ; 
     71         static T* get(const T* ptr) ; 
     72         static T* get(const string& contextId, const string& id) ; 
     73         T* get(void) ; 
     74         shared_ptr<T> getShared(void) ; 
     75         static shared_ptr<T> getShared(const T* ptr) ; 
     76          
     77         static T* create(const string& id=string("")) ; 
     78         static const vector<T*> getAll() ; 
     79         static const vector<T*> getAll(const string& contextId) ; 
    7780         
    7881         void generateCInterface(ostream& oss) ; 
Note: See TracChangeset for help on using the changeset viewer.