Public Types | Public Member Functions | Static Public Member Functions | Private Attributes

TAO::unbounded_basic_string_sequence< charT > Class Template Reference

#include <Unbounded_Basic_String_Sequence_T.h>

Inheritance diagram for TAO::unbounded_basic_string_sequence< charT >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef charT character_type
typedef character_type * value_type
typedef character_type const * const_value_type
typedef ::CORBA::ULong size_type
typedef details::string_traits
< character_type, true > 
element_traits
typedef
details::unbounded_reference_allocation_traits
< value_type, element_traits,
true > 
allocation_traits
typedef
details::string_sequence_element
< element_traits
element_type
typedef
details::string_const_sequence_element
< element_traits
const_element_type
typedef
details::generic_sequence
< value_type,
allocation_traits,
element_traits
implementation_type
typedef element_type subscript_type
typedef const_value_type const_subscript_type

Public Member Functions

 unbounded_basic_string_sequence ()
 unbounded_basic_string_sequence (CORBA::ULong maximum)
 unbounded_basic_string_sequence (CORBA::ULong maximum, CORBA::ULong length, value_type *data, CORBA::Boolean release)
CORBA::ULong maximum () const
CORBA::Boolean release () const
CORBA::ULong length () const
void length (CORBA::ULong length)
const_element_type operator[] (CORBA::ULong i) const
element_type operator[] (CORBA::ULong i)
const_value_type const * get_buffer () const
void replace (CORBA::ULong maximum, CORBA::ULong length, value_type *data, CORBA::Boolean release=false)
value_type * get_buffer (CORBA::Boolean orphan=false)
void swap (unbounded_basic_string_sequence &rhs) throw ()

Static Public Member Functions

static value_type * allocbuf (CORBA::ULong maximum)
static void freebuf (value_type *buffer)

Private Attributes

implementation_type impl_

Detailed Description

template<typename charT>
class TAO::unbounded_basic_string_sequence< charT >

Definition at line 24 of file Unbounded_Basic_String_Sequence_T.h.


Member Typedef Documentation

template<typename charT>
typedef details::unbounded_reference_allocation_traits<value_type,element_traits,true> TAO::unbounded_basic_string_sequence< charT >::allocation_traits

Definition at line 33 of file Unbounded_Basic_String_Sequence_T.h.

template<typename charT>
typedef charT TAO::unbounded_basic_string_sequence< charT >::character_type

Definition at line 27 of file Unbounded_Basic_String_Sequence_T.h.

template<typename charT>
typedef details::string_const_sequence_element<element_traits> TAO::unbounded_basic_string_sequence< charT >::const_element_type

Definition at line 36 of file Unbounded_Basic_String_Sequence_T.h.

template<typename charT>
typedef const_value_type TAO::unbounded_basic_string_sequence< charT >::const_subscript_type

Definition at line 41 of file Unbounded_Basic_String_Sequence_T.h.

template<typename charT>
typedef character_type const* TAO::unbounded_basic_string_sequence< charT >::const_value_type

Definition at line 29 of file Unbounded_Basic_String_Sequence_T.h.

template<typename charT>
typedef details::string_traits<character_type,true> TAO::unbounded_basic_string_sequence< charT >::element_traits

Definition at line 32 of file Unbounded_Basic_String_Sequence_T.h.

template<typename charT>
typedef details::string_sequence_element<element_traits> TAO::unbounded_basic_string_sequence< charT >::element_type

Definition at line 35 of file Unbounded_Basic_String_Sequence_T.h.

template<typename charT>
typedef details::generic_sequence<value_type, allocation_traits, element_traits> TAO::unbounded_basic_string_sequence< charT >::implementation_type

Definition at line 38 of file Unbounded_Basic_String_Sequence_T.h.

template<typename charT>
typedef ::CORBA::ULong TAO::unbounded_basic_string_sequence< charT >::size_type

Definition at line 30 of file Unbounded_Basic_String_Sequence_T.h.

template<typename charT>
typedef element_type TAO::unbounded_basic_string_sequence< charT >::subscript_type

Definition at line 40 of file Unbounded_Basic_String_Sequence_T.h.

template<typename charT>
typedef character_type* TAO::unbounded_basic_string_sequence< charT >::value_type

Definition at line 28 of file Unbounded_Basic_String_Sequence_T.h.


Constructor & Destructor Documentation

template<typename charT>
TAO::unbounded_basic_string_sequence< charT >::unbounded_basic_string_sequence (  )  [inline]

Definition at line 45 of file Unbounded_Basic_String_Sequence_T.h.

    : impl_()
  {}

template<typename charT>
TAO::unbounded_basic_string_sequence< charT >::unbounded_basic_string_sequence ( CORBA::ULong  maximum  )  [inline, explicit]

Definition at line 50 of file Unbounded_Basic_String_Sequence_T.h.

    : impl_(maximum)
  {}

template<typename charT>
TAO::unbounded_basic_string_sequence< charT >::unbounded_basic_string_sequence ( CORBA::ULong  maximum,
CORBA::ULong  length,
value_type *  data,
CORBA::Boolean  release 
) [inline]

Definition at line 53 of file Unbounded_Basic_String_Sequence_T.h.

    : impl_(maximum, length, data, release)
  {}


Member Function Documentation

template<typename charT>
static value_type* TAO::unbounded_basic_string_sequence< charT >::allocbuf ( CORBA::ULong  maximum  )  [inline, static]

Definition at line 108 of file Unbounded_Basic_String_Sequence_T.h.

  {
    return implementation_type::allocbuf(maximum);
  }

template<typename charT>
static void TAO::unbounded_basic_string_sequence< charT >::freebuf ( value_type *  buffer  )  [inline, static]

Definition at line 112 of file Unbounded_Basic_String_Sequence_T.h.

  {
    implementation_type::freebuf(buffer);
  }

template<typename charT>
const_value_type const* TAO::unbounded_basic_string_sequence< charT >::get_buffer (  )  const [inline]

Definition at line 88 of file Unbounded_Basic_String_Sequence_T.h.

                                                     {
    return impl_.get_buffer();
  }

template<typename charT>
value_type* TAO::unbounded_basic_string_sequence< charT >::get_buffer ( CORBA::Boolean  orphan = false  )  [inline]

Definition at line 100 of file Unbounded_Basic_String_Sequence_T.h.

                                                              {
    return impl_.get_buffer(orphan);
  }

template<typename charT>
void TAO::unbounded_basic_string_sequence< charT >::length ( CORBA::ULong  length  )  [inline]

Definition at line 76 of file Unbounded_Basic_String_Sequence_T.h.

                                        {
    impl_.length(length);
  }

template<typename charT>
CORBA::ULong TAO::unbounded_basic_string_sequence< charT >::length ( void   )  const [inline]

Definition at line 72 of file Unbounded_Basic_String_Sequence_T.h.

                                   {
    return impl_.length();
  }

template<typename charT>
CORBA::ULong TAO::unbounded_basic_string_sequence< charT >::maximum (  )  const [inline]

Definition at line 64 of file Unbounded_Basic_String_Sequence_T.h.

                                    {
    return impl_.maximum();
  }

template<typename charT>
const_element_type TAO::unbounded_basic_string_sequence< charT >::operator[] ( CORBA::ULong  i  )  const [inline]
[]

Definition at line 80 of file Unbounded_Basic_String_Sequence_T.h.

                                                           {
    return const_element_type (impl_[i], release());
  }

template<typename charT>
element_type TAO::unbounded_basic_string_sequence< charT >::operator[] ( CORBA::ULong  i  )  [inline]
[]

Definition at line 84 of file Unbounded_Basic_String_Sequence_T.h.

                                               {
    return element_type(impl_[i], release());
  }

template<typename charT>
CORBA::Boolean TAO::unbounded_basic_string_sequence< charT >::release ( void   )  const [inline]

Definition at line 68 of file Unbounded_Basic_String_Sequence_T.h.

                                      {
    return impl_.release();
  }

template<typename charT>
void TAO::unbounded_basic_string_sequence< charT >::replace ( CORBA::ULong  maximum,
CORBA::ULong  length,
value_type *  data,
CORBA::Boolean  release = false 
) [inline]

Definition at line 92 of file Unbounded_Basic_String_Sequence_T.h.

                                    {
    impl_.replace(maximum, length, data, release);
  }

template<typename charT>
void TAO::unbounded_basic_string_sequence< charT >::swap ( unbounded_basic_string_sequence< charT > &  rhs  )  throw () [inline]

Definition at line 104 of file Unbounded_Basic_String_Sequence_T.h.

                                                                  {
    impl_.swap(rhs.impl_);
  }


Member Data Documentation

template<typename charT>
implementation_type TAO::unbounded_basic_string_sequence< charT >::impl_ [private]

Definition at line 190 of file Unbounded_Basic_String_Sequence_T.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines