// Copyright (C) 2010, Guy Barrand. All rights reserved.
// See the file tools.license for terms.

#ifndef tools_rroot_iobject
#define tools_rroot_iobject

#include <string>

namespace tools {
namespace rroot {
  class buffer;
}}

namespace tools {
namespace rroot {

class iobject {
public:
  virtual ~iobject() {}
public:
  virtual const std::string& name() const = 0;
  virtual const std::string& title() const = 0;
  virtual const std::string& store_class_name() const = 0;
  virtual bool stream(buffer&) = 0;
};

}}

#endif
