Changeset 1102 for XIOS/dev/branch_yushan/src/object_factory_impl.hpp
- Timestamp:
- 04/21/17 14:56:25 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan/src/object_factory_impl.hpp
r1101 r1102 123 123 if(U::AllMapObj == NULL) U::AllMapObj = new xios_map<StdString, xios_map<StdString, boost::shared_ptr<U> > >; 124 124 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()); 126 126 127 127 if (CurrContext_ptr->empty()) … … 136 136 { 137 137 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"); 139 139 (* 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"); 141 141 (* U::AllMapObj) [*CObjectFactory::CurrContext_ptr].insert(std::make_pair(value->getId(), value)); 142 printf("AllMapObj insert OK\n");142 //printf("AllMapObj insert OK\n"); 143 143 144 144 return value;
Note: See TracChangeset
for help on using the changeset viewer.