library: libCore #include "TStreamerElement.h"

# TStreamerSTL

class description - source file - inheritance tree (.ps)

## class TStreamerSTL : public TStreamerElement

| Inheritance Chart:

`TObject`

<-

`TNamed`

<-

`TStreamerElement`

<-

`TStreamerSTL`

<-

`TStreamerSTLstring` |

        public:

                              TStreamerSTL()
                              TStreamerSTL(const char* name, const char* title, Int_t offset, const char* typeName, const char* trueType, Bool_t dmPointer)
                              TStreamerSTL(const TStreamerSTL&)
                      virtual ~TStreamerSTL()
               virtual Bool_t CannotSplit() const
               static TClass* Class()
                        Int_t GetCtype() const
          virtual const char* GetInclude() const
                virtual Int_t GetSize() const
                        Int_t GetSTLtype() const
              virtual TClass* IsA() const
               virtual Bool_t IsaPointer() const
               virtual Bool_t IsBase() const
                 virtual void ls(Option_t* option) const
                TStreamerSTL& operator=(const TStreamerSTL&)
                         void SetCtype(Int_t t)
                         void SetSTLtype(Int_t t)
                 virtual void SetStreamer(TMemberStreamer* streamer)
                 virtual void ShowMembers(TMemberInspector& insp, char* parent)
                 virtual void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          Int_t fSTLtype  type of STL vector
          Int_t fCtype    STL contained type

## Class Description

TStreamerSTL()

     Default ctor.

TStreamerSTL(const char *name, const char *title, Int_t offset, const char *typeName, const char *trueType, Bool_t dmPointer) : TStreamerElement(name,title,offset,kSTL,typeName)

     Create a TStreamerSTL object.

~TStreamerSTL()

     TStreamerSTL dtor.

Bool_t CannotSplit() const

     We can not split STL's which are inside a variable size array.
     At least for now.

Bool_t IsaPointer() const

     Return true if the data member is a pointer.

Bool_t IsBase() const

Int_t GetSize() const

    returns size of STL container in bytes

void ls(Option_t *) const

const char* GetInclude() const

void SetStreamer(TMemberStreamer *streamer)

    set pointer to Streamer function for this element
    NOTE: we do not take ownership

void Streamer(TBuffer &R__b)

     Stream an object of class TStreamerSTL.

### Inline Functions

                    Int_t GetSTLtype() const
                    Int_t GetCtype() const
                     void SetSTLtype(Int_t t)
                     void SetCtype(Int_t t)
                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void StreamerNVirtual(TBuffer& b)
             TStreamerSTL TStreamerSTL(const TStreamerSTL&)
            TStreamerSTL& operator=(const TStreamerSTL&)

Author: Rene Brun 12/10/2000
Last update: root/meta:$Name: $:$Id: TStreamerElement.cxx,v 1.68 2004/06/09 06:10:21 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *