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/interface/c/icgrid.cpp

    r345 r346  
    3030      if (!cstr2string(_id, _id_len, id)) return; 
    3131 
    32       *_ret = xios::CObjectFactory::GetObject<xios::CGrid>(id).get(); 
     32      *_ret = CGrid::get(id).get(); 
    3333   } 
    3434    
     
    3838      if (!cstr2string(_id, _id_len, id)) return; 
    3939 
    40       *_ret = xios::CObjectFactory::GetObject<xios::CGridGroup>(id).get(); 
     40      *_ret = CGridGroup::get(id).get(); 
    4141   } 
    4242 
     
    4848      if (!cstr2string(_id, _id_len, id)) return; 
    4949 
    50       *_ret = xios::CObjectFactory::HasObject<xios::CGrid>(id); 
     50      *_ret = CGrid::has(id); 
    5151   } 
    5252 
     
    5656      if (!cstr2string(_id, _id_len, id)) return; 
    5757 
    58       *_ret = xios::CObjectFactory::HasObject<xios::CGridGroup>(id); 
     58      *_ret = CGridGroup::has(id); 
    5959   } 
    6060} // extern "C" 
Note: See TracChangeset for help on using the changeset viewer.