00001
00002
00003
00004
00005
00006
00007
00008 #ifndef LEAF_H_
00009 #define LEAF_H_
00010
00011 #include "CNode.h"
00012
00013 class VarMap;
00014
00015 class Leaf:public CNode {
00016 friend class boost::serialization::access;
00017 template<class Archive>
00018 void save(Archive & ar, const unsigned int version) const
00019 {
00020 ar & boost::serialization::base_object<CNode>(*this);
00021 }
00022 template<class Archive>
00023 void load(Archive & ar, const unsigned int version)
00024 {
00025 ar & boost::serialization::base_object<CNode>(*this);
00026 }
00027 BOOST_SERIALIZATION_SPLIT_MEMBER()
00028 public:
00029 Leaf();
00030 virtual string to_string()=0;
00031 virtual ~Leaf();
00032
00033 };
00034
00035
00036
00037 #endif