inlib
1.2.0
|
00001 // Copyright (C) 2010, Guy Barrand. All rights reserved. 00002 // See the file inlib.license for terms. 00003 00004 #ifndef inlib_wroot_iobject 00005 #define inlib_wroot_iobject 00006 00007 #include <string> 00008 00009 namespace inlib { 00010 namespace wroot { 00011 class buffer; 00012 }} 00013 00014 namespace inlib { 00015 namespace wroot { 00016 00017 class iobject { 00018 public: 00019 virtual ~iobject() {} 00020 public: 00021 virtual const std::string& name() const = 0; 00022 virtual const std::string& title() const = 0; 00023 virtual const std::string& store_class_name() const = 0; 00024 virtual bool stream(buffer&) const = 0; 00025 }; 00026 00027 }} 00028 00029 #endif