summaryrefslogtreecommitdiff
path: root/TAO/tao/MProfile.h
diff options
context:
space:
mode:
authorjohn_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-04-28 03:50:28 +0000
committerjohn_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-04-28 03:50:28 +0000
commit88556d568eb0a06bf8af2ddefacbc1ad5f00401e (patch)
tree72f4a0e33b9dd26d1783ff005d67494bfb79a9de /TAO/tao/MProfile.h
parent317d8c1ce78436f0107f056418c0c5f5b4231069 (diff)
downloadATCD-oci_dave_wchar_refactor_branch.tar.gz
4_27_06 branch merge in and compile error fixedoci_dave_wchar_refactor_branch
Diffstat (limited to 'TAO/tao/MProfile.h')
-rw-r--r--TAO/tao/MProfile.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/TAO/tao/MProfile.h b/TAO/tao/MProfile.h
index ba45b3a4a5d..7fef351e37c 100644
--- a/TAO/tao/MProfile.h
+++ b/TAO/tao/MProfile.h
@@ -140,7 +140,7 @@ public:
/// Return the index of this entry or -1 if it can not be added.
/// this object assumes ownership of this profile!!
- int give_profile (TAO_Profile *pfile);
+ int give_profile (TAO_Profile *pfile, int share = 0);
/// append the profiles in pfiles to this object. The count
/// will be incremented on the individual profile objects.
@@ -217,6 +217,12 @@ private:
/// Helper method to implement the destructor
void cleanup (void);
+ /// A helper to give_profile to be used when share is true. This
+ /// method is used primarily to help the corbaloc parser create a
+ /// single profile with multiple endpoints rather than constructing
+ /// multiple profiles with 1 endpoint per.
+ int give_shared_profile (TAO_Profile *pfile);
+
private:
/**