inlib  1.2.0
Public Member Functions | Protected Types | Protected Attributes
inlib::wroot::streamer_STL Class Reference
Inheritance diagram for inlib::wroot::streamer_STL:
Inheritance graph
[legend]
Collaboration diagram for inlib::wroot::streamer_STL:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual const std::string & store_cls () const
virtual bool stream (buffer &aBuffer) const
virtual streamer_elementcopy () const
 streamer_STL (const std::string &aName, const std::string &aTitle, int aOffset, streamer_info::Type aType, const std::string &aTypeName)
virtual ~streamer_STL ()
 streamer_STL (const streamer_STL &a_from)
streamer_STLoperator= (const streamer_STL &a_from)

Protected Types

enum  ESTLtype {
  kSTL = 300, kSTLstring = 365, kSTLvector = 1, kSTLlist = 2,
  kSTLdeque = 3, kSTLmap = 4, kSTLset = 5, kSTLmultimap = 6,
  kSTLmultiset = 7
}

Protected Attributes

int fSTLtype
int fCtype

Detailed Description

Definition at line 423 of file element.


Member Enumeration Documentation

Enumerator:
kSTL 
kSTLstring 
kSTLvector 
kSTLlist 
kSTLdeque 
kSTLmap 
kSTLset 
kSTLmultimap 
kSTLmultiset 

Definition at line 443 of file element.

                { kSTL       = 300, kSTLstring  =365,   kSTLvector = 1,
                  kSTLlist   =  2,  kSTLdeque   =  3,   kSTLmap    = 4,
                  kSTLset    =  5,  kSTLmultimap=6,     kSTLmultiset=7};

Constructor & Destructor Documentation

inlib::wroot::streamer_STL::streamer_STL ( const std::string &  aName,
const std::string &  aTitle,
int  aOffset,
streamer_info::Type  aType,
const std::string &  aTypeName 
) [inline]

Definition at line 454 of file element.

  :streamer_element(aName,aTitle,aOffset,kSTL,aTypeName){
    fSTLtype = kSTLvector;
    fCtype   = aType;
  }
virtual inlib::wroot::streamer_STL::~streamer_STL ( ) [inline, virtual]

Definition at line 462 of file element.

{}
inlib::wroot::streamer_STL::streamer_STL ( const streamer_STL a_from) [inline]

Definition at line 464 of file element.

  :ibo(a_from),streamer_element(a_from)
  ,fSTLtype(a_from.fSTLtype)
  ,fCtype(a_from.fCtype)
  {}

Member Function Documentation

virtual streamer_element* inlib::wroot::streamer_STL::copy ( ) const [inline, virtual]

Implements inlib::wroot::streamer_element.

Definition at line 439 of file element.

                                         {
    return new streamer_STL(*this);
  }
streamer_STL& inlib::wroot::streamer_STL::operator= ( const streamer_STL a_from) [inline]

Definition at line 469 of file element.

                                                     {
    streamer_element::operator=(a_from);
    fSTLtype = a_from.fSTLtype;
    fCtype = a_from.fCtype;
    return *this;
  }
virtual const std::string& inlib::wroot::streamer_STL::store_cls ( ) const [inline, virtual]

Reimplemented from inlib::wroot::streamer_element.

Definition at line 425 of file element.

                                             {
    static const std::string s_v("TStreamerSTL");
    return s_v;
  }
virtual bool inlib::wroot::streamer_STL::stream ( buffer aBuffer) const [inline, virtual]

Reimplemented from inlib::wroot::streamer_element.

Definition at line 429 of file element.

                                             {
    unsigned int c;
    if(!aBuffer.write_version(2,c)) return false;
    if(!streamer_element::stream(aBuffer)) return false;
    if(!aBuffer.write(fSTLtype)) return false;
    if(!aBuffer.write(fCtype)) return false;
    if(!aBuffer.set_byte_count(c)) return false;
    return true;
  }

Member Data Documentation

Definition at line 477 of file element.

Definition at line 476 of file element.


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