summaryrefslogtreecommitdiff
path: root/TAO/tao/Bounded_Object_Reference_Sequence_T.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Bounded_Object_Reference_Sequence_T.h')
-rw-r--r--TAO/tao/Bounded_Object_Reference_Sequence_T.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/TAO/tao/Bounded_Object_Reference_Sequence_T.h b/TAO/tao/Bounded_Object_Reference_Sequence_T.h
index 0fed30cc4ab..5d367a816e2 100644
--- a/TAO/tao/Bounded_Object_Reference_Sequence_T.h
+++ b/TAO/tao/Bounded_Object_Reference_Sequence_T.h
@@ -50,38 +50,48 @@ public:
{}
/* Use default ctor, operator= and dtor */
+ /// @copydoc details::generic_sequence::maximum
inline CORBA::ULong maximum() const {
return impl_.maximum();
}
+ /// @copydoc details::generic_sequence::release
inline CORBA::Boolean release() const {
return impl_.release();
}
+ /// @copydoc details::generic_sequence::length
inline CORBA::ULong length() const {
return impl_.length();
}
+ /// @copydoc details::generic_sequence::length
inline void length(CORBA::ULong length) {
implementation_type::range::check_length(length, MAX);
impl_.length(length);
}
- inline value_type const & operator[](CORBA::ULong i) const {
- return impl_[i];;
+ /// @copydoc details::generic_sequence::operator[]
+ inline const_element_type operator[](CORBA::ULong i) const {
+ return const_element_type (impl_[i], release());
}
+ /// @copydoc details::generic_sequence::operator[]
inline element_type operator[](CORBA::ULong i) {
return element_type(impl_[i], release());
}
+ /// @copydoc details::generic_sequence::get_buffer
inline value_type const * get_buffer() const {
return impl_.get_buffer();
}
+ /// @copydoc details::generic_sequence::replace
inline void replace(
CORBA::ULong length,
value_type * data,
CORBA::Boolean release = false) {
impl_.replace(MAX, length, data, release);
}
+ /// @copydoc details::generic_sequence::get_buffer(CORBA::Boolean)
inline value_type * get_buffer(CORBA::Boolean orphan = false) {
return impl_.get_buffer(orphan);
}
+ /// @copydoc details::generic_sequence::swap
inline void swap(bounded_object_reference_sequence & rhs) throw() {
impl_.swap(rhs.impl_);
}