summaryrefslogtreecommitdiff
path: root/TAO/tao/MProfile.i
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-12 01:09:35 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-12 01:09:35 +0000
commitdd162e966e10861b77144645a3ff7268c90178d1 (patch)
tree9e82496ded962b824ff037ee5e1bb355bf04fdda /TAO/tao/MProfile.i
parent35e1925263b2c147b1e34673618b149cf1469359 (diff)
downloadATCD-dd162e966e10861b77144645a3ff7268c90178d1.tar.gz
ChangeLogTag:Thu Mar 11 19:07:20 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/MProfile.i')
-rw-r--r--TAO/tao/MProfile.i10
1 files changed, 9 insertions, 1 deletions
diff --git a/TAO/tao/MProfile.i b/TAO/tao/MProfile.i
index 62c0518a1fc..2f6c3d36c4f 100644
--- a/TAO/tao/MProfile.i
+++ b/TAO/tao/MProfile.i
@@ -174,11 +174,19 @@ TAO_MProfile::forward_from (void)
}
ACE_INLINE CORBA::ULong
-TAO_MProfile::profile_count (void)
+TAO_MProfile::profile_count (void) const
{
return this->last_;
}
+ACE_INLINE const TAO_Profile*
+TAO_MProfile::get_profile (CORBA::ULong index) const
+{
+ if (index >= this->last_)
+ return 0;
+ return this->pfiles_[index];
+}
+
ACE_INLINE TAO_Profile_ptr *
TAO_MProfile::pfiles (void) const
{