#include "DAnCE_stub_export.h"
#include "ace/config-all.h"
#include "ace/Hash_Map_Manager_T.h"
#include "ace/Refcounted_Auto_Ptr.h"
#include "tao/AnyTypeCode/Any.h"
#include "Deployment/Deployment_DeploymentPlanC.h"
#include "DAnCE/Logger/Log_Macros.h"
#include "DAnCE_Utility.tpp"
Namespaces | |
namespace | DAnCE |
namespace | DAnCE::Utility |
Typedefs | |
typedef ACE_Hash_Map_Manager_Ex < ACE_CString, CORBA::Any, ACE_Hash< ACE_CString > , ACE_Equal_To< ACE_CString > , ACE_Null_Mutex > | DAnCE::Utility::PROPERTY_MAP |
typedef ACE_Refcounted_Auto_Ptr < PROPERTY_MAP, TAO_SYNCH_MUTEX > | DAnCE::Utility::PMAP_PTR |
Functions | |
void | DAnCE::Utility::build_property_map (PROPERTY_MAP &map, const ::Deployment::Properties &prop) |
template<class T > | |
bool | DAnCE::Utility::get_property_value (const char *name, const PROPERTY_MAP &properties, T &val) |
template<class T > | |
bool | DAnCE::Utility::get_property_value (const char *name, const ::Deployment::Properties &properties, T &val) |
template<typename EXCEPTION > | |
void | DAnCE::Utility::test_and_set_exception (bool &flag, EXCEPTION &exception, const char *name, const char *reason) |
const char * | DAnCE::Utility::get_instance_type (const ::Deployment::Properties &prop) |
void | DAnCE::Utility::append_properties (::Deployment::Properties &dest, const ::Deployment::Properties &src) |
int | DAnCE::Utility::write_IOR (const ACE_TCHAR *pathname, const char *IOR) |
Write a string (usually a stringified IOR) to a file designated by the pathname . The file named will always get overwritten. | |
template<> | |
bool | DAnCE::Utility::get_property_value (const char *name, const PROPERTY_MAP &properties, bool &val) |
template<> | |
bool | DAnCE::Utility::get_property_value (const char *name, const PROPERTY_MAP &properties, const char *&val) |
template<> | |
bool | DAnCE::Utility::get_property_value (const char *name, const ::Deployment::Properties &properties, const char *&val) |
Utility methods used throughought DAnCE.