Ignore:
Timestamp:
04/21/17 14:56:25 (7 years ago)
Author:
yushan
Message:

clean up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_yushan/src/object_factory_impl.hpp

    r1101 r1102  
    123123      if(U::AllMapObj  == NULL) U::AllMapObj  = new xios_map<StdString, xios_map<StdString, boost::shared_ptr<U> > >; 
    124124 
    125       printf("so far so good : %d %d %d\n", CurrContext_ptr->empty(), CObjectFactory::HasObject<U>(id), id.empty()); 
     125      //printf("so far so good : %d %d %d\n", CurrContext_ptr->empty(), CObjectFactory::HasObject<U>(id), id.empty()); 
    126126       
    127127      if (CurrContext_ptr->empty()) 
     
    136136      { 
    137137         boost::shared_ptr<U> value(new U(id.empty() ? CObjectFactory::GenUId<U>() : id)); 
    138          printf("in CreateObject, value OK\n");   
     138         //printf("in CreateObject, value OK\n");   
    139139         (* U::AllVectObj)[*CObjectFactory::CurrContext_ptr].insert((*U::AllVectObj)[*CObjectFactory::CurrContext_ptr].end(), value); 
    140          printf("AllVectObj insert OK\n"); 
     140         //printf("AllVectObj insert OK\n"); 
    141141         (* U::AllMapObj) [*CObjectFactory::CurrContext_ptr].insert(std::make_pair(value->getId(), value)); 
    142          printf("AllMapObj insert OK\n"); 
     142         //printf("AllMapObj insert OK\n"); 
    143143 
    144144         return value; 
Note: See TracChangeset for help on using the changeset viewer.