class DKDMBase : public boost::enable_shared_from_this<DKDMBase>
{
public:
+ virtual ~DKDMBase () {}
virtual std::string name () const = 0;
virtual void as_xml (xmlpp::Element *) const = 0;
return _children;
}
- void add (boost::shared_ptr<DKDMBase> child);
+ void add (boost::shared_ptr<DKDMBase> child, boost::shared_ptr<DKDM> previous = boost::shared_ptr<DKDM> ());
void remove (boost::shared_ptr<DKDMBase> child);
private: