2 #ifndef FAIRREGISTRYITEMXXX_H
3 #define FAIRREGISTRYITEMXXX_H
33 virtual const std::type_info&
GetType()
const {
return typeid(
T); }
55 TBuffer& operator>>(TBuffer& buf,
int*&
xptr);
56 TBuffer& operator>>(TBuffer& buf,
double*& xptr);
57 TBuffer& operator>>(TBuffer& buf,
float*& xptr);
59 TBuffer& operator<<(TBuffer& buf,
int*& xptr);
60 TBuffer& operator<<(TBuffer& buf,
double*& xptr);
61 TBuffer& operator<<(TBuffer& buf,
float*& xptr);
81 if (fData) {
delete fData; }
103 if (fData) {
delete fData; }
125 #if (__GNUC__ == 3 && __GNUC_MINOR__ < 3) || __GNUC__ == 2
142 {
return "FairRegistry"; }
145 {
return fData->PrintStream(os); }
148 {
if (!fData) { fData =
new FairRegistry(); }
return fData->ReadStream(is); }
155 if (buf.IsReading()) {
156 Version_t
v = buf.ReadVersion();
158 FairRegistryItem::Streamer(buf);
162 buf.WriteVersion(IsA());
163 FairRegistryItem::Streamer(buf);
180 #endif // REGISTRYITEMXXX_H