summaryrefslogtreecommitdiff
path: root/TAO/tao/MProfile.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2003-08-28 04:03:37 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2003-08-28 04:03:37 +0000
commit05ebe6adcddaa5aba6a9e08c4ef36fef3d7e49d8 (patch)
tree4a4ef98f4ffe772c378ccae4c0a580815dab0566 /TAO/tao/MProfile.cpp
parentcbe3d638d5102256208876d17d89c1499f0bcd20 (diff)
downloadATCD-05ebe6adcddaa5aba6a9e08c4ef36fef3d7e49d8.tar.gz
ChangeLogTag:Wed Aug 27 21:00:41 2003 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/MProfile.cpp')
-rw-r--r--TAO/tao/MProfile.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/TAO/tao/MProfile.cpp b/TAO/tao/MProfile.cpp
index 3503cbfb49a..5f7f5c73d97 100644
--- a/TAO/tao/MProfile.cpp
+++ b/TAO/tao/MProfile.cpp
@@ -5,15 +5,19 @@
#include "tao/MProfile.h"
#include "tao/Environment.h"
#include "tao/Profile.h"
+#include "tao/PolicyC.h"
+
ACE_RCSID (tao,
MProfile,
"$Id$")
+
#if !defined (__ACE_INLINE__)
# include "tao/MProfile.i"
#endif /* __ACE_INLINE__ */
+
TAO_MProfile::~TAO_MProfile (void)
{
if (this->policy_list_ != 0)
@@ -304,6 +308,16 @@ TAO_MProfile::hash (CORBA::ULong max
}
void
+TAO_MProfile::create_policy_list (ACE_ENV_SINGLE_ARG_DECL)
+{
+ ACE_NEW_THROW_EX (this->policy_list_,
+ CORBA::PolicyList,
+ CORBA::NO_MEMORY (TAO_DEFAULT_MINOR_CODE,
+ CORBA::COMPLETED_NO)
+ );
+}
+
+void
TAO_MProfile::init_policy_list (ACE_ENV_SINGLE_ARG_DECL)
{
// The first time this method is called