rootcint v2.22 and STL

Takeaki Toeda (Takeaki.Toeda@cern.ch)
Sun, 6 Jun 99 17:30:59 +0200


Hello,

I have a test program which have a STL.
This program can work in Redhat5.2 without root.

Here is a header file in this program.
rootcint v2.22 has compleated process in silently.
But compiler is output error messages about TBuffer
in compiling Dict.cc.

Does not rootcint v2.22 support vector<int>*,
vector<int*> and vector<int*>* ?

Thanks,

Take-Aki TOEDA

-------------------------------------------------------------

#ifndef Event_h
#define Event_h
#include <vector.h>
#include <TObject.h>

class Event : public TObject{
public:
Event();
virtual ~Event();

void SetV1();
void ShowV1();
void SetV2();
void ShowV2();
void SetV3();
void ShowV3();
void SetV4();
void ShowV4();

inline vector<int> GetV1(){return(V1);}
inline vector<int*> GetV2(){return(V2);}
inline vector<int> *GetV3(){return(V3);}
inline vector<int*> *GetV4(){return(V4);}

private:
vector<int> V1;
vector<int*> V2;
vector<int> *V3;
vector<int*> *V4;

ClassDef(Event,1)
};
#endif