diff options
Diffstat (limited to 'include/comphelper/sequenceasvector.hxx')
-rw-r--r-- | include/comphelper/sequenceasvector.hxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/include/comphelper/sequenceasvector.hxx b/include/comphelper/sequenceasvector.hxx index 5f1435da62ee..01d6b5cbb2d4 100644 --- a/include/comphelper/sequenceasvector.hxx +++ b/include/comphelper/sequenceasvector.hxx @@ -42,38 +42,38 @@ namespace comphelper{ template< class TElementType > class SequenceAsVector : public ::std::vector< TElementType > { - //------------------------------------------- + // types public: - //--------------------------------------- + /** @short When inheriting from a template using typename is generally required when using types from the base! */ typedef typename ::std::vector< TElementType >::const_iterator const_iterator; - //--------------------------------------- + /** @short When inheriting from a template using typename is generally required when using types from the base! */ typedef typename ::std::vector< TElementType >::iterator iterator; - //------------------------------------------- + // interface public: - //--------------------------------------- + /** @short default ctor, to create an empty list. */ SequenceAsVector() {} - //--------------------------------------- + /** @short default dtor */ ~SequenceAsVector() {} - //--------------------------------------- + /** @short creates a new vector with the given length. @param nLength @@ -84,7 +84,7 @@ class SequenceAsVector : public ::std::vector< TElementType > { } - //--------------------------------------- + /** @short creates a new deque from the given uno sequence. @param lSource @@ -95,7 +95,7 @@ class SequenceAsVector : public ::std::vector< TElementType > (*this) << lSource; } - //--------------------------------------- + /** @short creates a new instance from the given Any, which of course must contain a valid sequence using the right element type for every item. @@ -117,7 +117,7 @@ class SequenceAsVector : public ::std::vector< TElementType > (*this) << aSource; } - //--------------------------------------- + /** @short fill this instance from the given uno sequence. @param lSource @@ -134,7 +134,7 @@ class SequenceAsVector : public ::std::vector< TElementType > this->push_back(pSource[i]); } - //--------------------------------------- + /** @short fill this instance from the given Any, which of course must contain a valid sequence using the right element type for every item. @@ -169,7 +169,7 @@ class SequenceAsVector : public ::std::vector< TElementType > (*this) << lSource; } - //--------------------------------------- + /** @short converts this instance to an uno sequence. @param lDestination @@ -191,7 +191,7 @@ class SequenceAsVector : public ::std::vector< TElementType > } } - //--------------------------------------- + /** @short converts this instance to an uno any which contains a suitable sequence of items of this stl struct. @@ -217,7 +217,7 @@ class SequenceAsVector : public ::std::vector< TElementType > aDestination <<= lDestination; } - //--------------------------------------- + /** @short converts this deque to a suitable uno sequence which contains all items. |