Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / orbsvcs / ImplRepo_Service / utils.h
blob2ee0eb7f7be137b585bcb6771398310378431651
1 #ifndef TAO_IMR_UTILS_H
2 #define TAO_IMR_UTILS_H
4 #include "ImplRepoC.h"
6 #include "ace/SString.h"
8 #if !defined (ACE_LACKS_PRAGMA_ONCE)
9 # pragma once
10 #endif /* ACE_LACKS_PRAGMA_ONCE */
12 class ImR_Utils
14 public:
15 static const char * activationModeToString (ImplementationRepository::ActivationMode mode);
16 static ImplementationRepository::ActivationMode stringToActivationMode (const ACE_CString& s);
18 static const char *envListToString (const ImplementationRepository::EnvironmentList& lst);
19 static void stringToEnvList (const ACE_CString& s,
20 ImplementationRepository::EnvironmentList& ret);
22 static const char *peerListToString (const CORBA::StringSeq& lst);
24 static void stringToPeerList (const ACE_CString& s,
25 CORBA::StringSeq& ret);
28 #endif