Ignore:
Timestamp:
04/12/17 15:18:22 (7 years ago)
Author:
yushan
Message:

save

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_yushan/src/object_factory.cpp

    r501 r1088  
    66 
    77   StdString CObjectFactory::CurrContext(""); 
     8         StdString *CObjectFactory::CurrContext_ptr = new StdString; 
    89 
    910   void CObjectFactory::SetCurrentContextId(const StdString & context) 
    10    { CObjectFactory::CurrContext = context; } 
     11   {  
     12         CObjectFactory::CurrContext = context;  
     13         *CObjectFactory::CurrContext_ptr = context;  
     14   } 
    1115 
    1216   StdString & CObjectFactory::GetCurrentContextId(void) 
    13    { return (CObjectFactory::CurrContext); } 
     17   {  
     18         //return (CObjectFactory::CurrContext);  
     19         return (*CObjectFactory::CurrContext_ptr);  
     20   } 
    1421 
    1522} // namespace xios 
Note: See TracChangeset for help on using the changeset viewer.