Ignore:
Timestamp:
04/12/12 17:02:23 (12 years ago)
Author:
ymipsl
Message:

Suppress access to CObjectFactory class and CTreeManager.

YM

File:
1 edited

Legend:

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

    r345 r346  
    341341   ///-------------------------------------------------------------- 
    342342 
     343   
    343344   template <class U, class V, class W> 
    344345   boost::shared_ptr<U> CGroupTemplate<U, V, W>::createChild(const string& id)  
     
    346347    return CGroupFactory::CreateChild<V>(this->get(), id) ; 
    347348  } 
     349 
     350   template <class U, class V, class W> 
     351   void CGroupTemplate<U, V, W>::addChild(shared_ptr<U> child)  
     352  { 
     353    return CGroupFactory::AddChild<V>(this->get(),child) ; 
     354  } 
    348355   
    349356   template <class U, class V, class W> 
     
    353360  } 
    354361 
     362   template <class U, class V, class W> 
     363   void CGroupTemplate<U, V, W>::addChildGroup(shared_ptr<V> childGroup)  
     364  { 
     365    return CGroupFactory::AddGroup<V>(this->get(), childGroup) ; 
     366  } 
     367 
    355368 
    356369   template <class U, class V, class W> 
    357370   void CGroupTemplate<U, V, W>::sendCreateChild(const string& id) 
    358371   { 
    359     shared_ptr<CContext> context=CContext::current() ; 
     372    shared_ptr<CContext> context=CContext::getCurrent() ; 
    360373     
    361374    if (! context->hasServer ) 
     
    380393   void CGroupTemplate<U, V, W>::sendCreateChildGroup(const string& id) 
    381394   { 
    382     shared_ptr<CContext> context=CContext::current() ; 
     395    shared_ptr<CContext> context=CContext::getCurrent() ; 
    383396    if (! context->hasServer ) 
    384397    { 
Note: See TracChangeset for help on using the changeset viewer.