Geant4 Cross Reference |
1 // Copyright (C) 2010, Guy Barrand. All rights 1 // Copyright (C) 2010, Guy Barrand. All rights reserved. 2 // See the file tools.license for terms. 2 // See the file tools.license for terms. 3 3 4 #ifndef tools_rroot_iobject 4 #ifndef tools_rroot_iobject 5 #define tools_rroot_iobject 5 #define tools_rroot_iobject 6 6 7 #include <string> 7 #include <string> 8 8 9 namespace tools { 9 namespace tools { 10 namespace rroot { 10 namespace rroot { 11 class buffer; 11 class buffer; 12 }} 12 }} 13 13 14 namespace tools { 14 namespace tools { 15 namespace rroot { 15 namespace rroot { 16 16 17 class iobject { 17 class iobject { 18 public: 18 public: 19 virtual ~iobject() {} 19 virtual ~iobject() {} 20 public: 20 public: 21 virtual const std::string& name() const = 0; 21 virtual const std::string& name() const = 0; 22 virtual const std::string& title() const = 0 22 virtual const std::string& title() const = 0; 23 virtual const std::string& store_class_name( 23 virtual const std::string& store_class_name() const = 0; 24 virtual bool stream(buffer&) = 0; 24 virtual bool stream(buffer&) = 0; 25 }; 25 }; 26 26 27 }} 27 }} 28 28 29 #endif 29 #endif