Last change
on this file since 1205 was
1134,
checked in by yushan, 7 years ago
|
branch merged with trunk r1130
|
-
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:
553 bytes
|
Rev | Line | |
---|
[219] | 1 | #include "group_factory.hpp" |
---|
| 2 | |
---|
[335] | 3 | namespace xios |
---|
[219] | 4 | { |
---|
| 5 | /// ////////////////////// Définitions ////////////////////// /// |
---|
[1134] | 6 | StdString *CGroupFactory::CurrContext_ptr = new StdString; |
---|
[219] | 7 | |
---|
| 8 | void CGroupFactory::SetCurrentContextId(const StdString & context) |
---|
[1134] | 9 | { |
---|
| 10 | if(CGroupFactory::CurrContext_ptr == NULL ) CGroupFactory::CurrContext_ptr = new StdString; |
---|
| 11 | CGroupFactory::CurrContext_ptr->assign(context); |
---|
[219] | 12 | } |
---|
| 13 | |
---|
| 14 | StdString & CGroupFactory::GetCurrentContextId(void) |
---|
| 15 | { |
---|
[1134] | 16 | return (*CGroupFactory::CurrContext_ptr); |
---|
[219] | 17 | } |
---|
| 18 | |
---|
[335] | 19 | } // namespace xios |
---|
Note: See
TracBrowser
for help on using the repository browser.