Changeset 1088 for XIOS/dev/branch_yushan/src/object_factory.cpp
- Timestamp:
- 04/12/17 15:18:22 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan/src/object_factory.cpp
r501 r1088 6 6 7 7 StdString CObjectFactory::CurrContext(""); 8 StdString *CObjectFactory::CurrContext_ptr = new StdString; 8 9 9 10 void CObjectFactory::SetCurrentContextId(const StdString & context) 10 { CObjectFactory::CurrContext = context; } 11 { 12 CObjectFactory::CurrContext = context; 13 *CObjectFactory::CurrContext_ptr = context; 14 } 11 15 12 16 StdString & CObjectFactory::GetCurrentContextId(void) 13 { return (CObjectFactory::CurrContext); } 17 { 18 //return (CObjectFactory::CurrContext); 19 return (*CObjectFactory::CurrContext_ptr); 20 } 14 21 15 22 } // namespace xios
Note: See TracChangeset
for help on using the changeset viewer.