source: XIOS/dev/branch_yushan/src/group_factory.cpp @ 1089

Last change on this file since 1089 was 1089, checked in by yushan, 5 years ago

save

  • Property copyright set to
    Software name : XIOS (Xml I/O Server)
    http://forge.ipsl.jussieu.fr/ioserver
    Creation date : January 2009
    Licence : CeCCIL version2
    see license file in root directory : Licence_CeCILL_V2-en.txt
    or http://www.cecill.info/licences/Licence_CeCILL_V2-en.html
    Holder : CEA/LSCE (Laboratoire des Sciences du CLimat et de l'Environnement)
    CNRS/IPSL (Institut Pierre Simon Laplace)
    Project Manager : Yann Meurdesoif
    yann.meurdesoif@cea.fr
File size: 583 bytes
Line 
1#include "group_factory.hpp"
2
3namespace xios
4{
5   /// ////////////////////// Définitions ////////////////////// ///
6   StdString CGroupFactory::CurrContext("");
7   StdString *CGroupFactory::CurrContext_ptr = new StdString;
8
9   void CGroupFactory::SetCurrentContextId(const StdString & context)
10   { 
11      //CGroupFactory::CurrContext = context;
12      *CGroupFactory::CurrContext_ptr = context;
13   }
14
15   StdString & CGroupFactory::GetCurrentContextId(void)
16   { 
17      //return (CGroupFactory::CurrContext);
18      return (*CGroupFactory::CurrContext_ptr);
19   }
20
21} // namespace xios
Note: See TracBrowser for help on using the repository browser.