Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals
persist » test

persist/test/bar.hpp

Go to the documentation of this file.
00001 // See ../../license.txt for license information.
00002 //
00003 // bar.hpp
00004 //
00005 // 4-Jul-2003 phamilton Created
00006 //
00007 
00008 #ifndef incBAR
00009 #define incBAR
00010 
00011 // forwards
00012 #include "base.hpp"
00013 
00014 namespace persist_test {
00015 
00016 class bar : public base
00017 {
00018 private:
00019 int x;
00020 double y;
00021 int z;
00022 
00023 public:
00024 bar(const std::string &type, const std::string &name) : 
00025 base(type, name),
00026 x(0), 
00027 y(0), 
00028 z(0) 
00029 {};
00030 
00031 // ph::common::object_type_name_base overrides
00032 virtual ph::common::object_base *get_composite_object(const std::string &name);
00033 virtual bool has(const std::string &name) const;
00034 virtual void set(const std::string &name, const std::string &value);
00035 virtual std::string get(const std::string &name) const;
00036 virtual bool write(ph::common::object_writer *writer) const;
00037 };
00038 
00039 };
00040 
00041 #endif // incBAR

Generated on Wed Apr 5 22:03:22 2006 for cppxmlobj by doxygen 1.4.3

AltStyle によって変換されたページ (->オリジナル) /