Warning, /include/Geant4/tools/rroot/object is written in an unsupported language. File is not indexed.
0001 // Copyright (C) 2010, Guy Barrand. All rights reserved.
0002 // See the file tools.license for terms.
0003
0004 #ifndef tools_rroot_Object
0005 #define tools_rroot_Object
0006
0007 #include "buffer"
0008
0009 namespace tools {
0010 namespace rroot {
0011
0012 inline bool Object_stream(buffer& a_buffer,uint32& a_id,uint32& a_bits) {
0013 short v;
0014 if(!a_buffer.read_version(v)) return false;
0015 if(!a_buffer.read(a_id)) return false;
0016 if(!a_buffer.read(a_bits)) return false;
0017 return true;
0018 }
0019
0020 }}
0021
0022 #endif