lemon/smart_graph.h
changeset 2147 63d293ff1bef
parent 2128 509846825ddf
child 2151 38ec4a930c05
equal deleted inserted replaced
27:ea84221c3f85 28:3b29e4c18246
   240     ///SmartGraph is \e not copy constructible. Use GraphCopy() instead.
   240     ///SmartGraph is \e not copy constructible. Use GraphCopy() instead.
   241 
   241 
   242     ///SmartGraph is \e not copy constructible. Use GraphCopy() instead.
   242     ///SmartGraph is \e not copy constructible. Use GraphCopy() instead.
   243     ///
   243     ///
   244     SmartGraph(const SmartGraph &) :ExtendedSmartGraphBase() {};
   244     SmartGraph(const SmartGraph &) :ExtendedSmartGraphBase() {};
   245     ///\brief Assignment of SmartGraph to another is \e not allowed.
   245     ///\brief Assignment of SmartGraph to another one is \e not allowed.
   246     ///Use GraphCopy() instead.
   246     ///Use GraphCopy() instead.
   247 
   247 
   248     ///Assignment of SmartGraph to another is \e not allowed.
   248     ///Assignment of SmartGraph to another one is \e not allowed.
   249     ///Use GraphCopy() instead.
   249     ///Use GraphCopy() instead.
   250     void operator=(const SmartGraph &) {}
   250     void operator=(const SmartGraph &) {}
   251   protected:
   251   protected:
   252     void restoreSnapshot(const Snapshot &s)
   252     void restoreSnapshot(const Snapshot &s)
   253     {
   253     {
   327     ///
   327     ///
   328     ///The newly added nodes and edges can be removed using the
   328     ///The newly added nodes and edges can be removed using the
   329     ///restore() function.
   329     ///restore() function.
   330     ///\note After you restore a state, you cannot restore
   330     ///\note After you restore a state, you cannot restore
   331     ///a later state, in other word you cannot add again the edges deleted
   331     ///a later state, in other word you cannot add again the edges deleted
   332     ///by restore() using another Snapshot instance.
   332     ///by restore() using another one Snapshot instance.
   333     ///
   333     ///
   334     class Snapshot 
   334     class Snapshot 
   335     {
   335     {
   336       SmartGraph *g;
   336       SmartGraph *g;
   337     protected:
   337     protected:
   410     ///SmartUGraph is \e not copy constructible. Use UGraphCopy() instead.
   410     ///SmartUGraph is \e not copy constructible. Use UGraphCopy() instead.
   411 
   411 
   412     ///SmartUGraph is \e not copy constructible. Use UGraphCopy() instead.
   412     ///SmartUGraph is \e not copy constructible. Use UGraphCopy() instead.
   413     ///
   413     ///
   414     SmartUGraph(const SmartUGraph &) : ExtendedSmartUGraphBase() {};
   414     SmartUGraph(const SmartUGraph &) : ExtendedSmartUGraphBase() {};
   415     ///\brief Assignment of SmartUGraph to another is \e not allowed.
   415     ///\brief Assignment of SmartUGraph to another one is \e not allowed.
   416     ///Use UGraphCopy() instead.
   416     ///Use UGraphCopy() instead.
   417 
   417 
   418     ///Assignment of SmartUGraph to another is \e not allowed.
   418     ///Assignment of SmartUGraph to another one is \e not allowed.
   419     ///Use UGraphCopy() instead.
   419     ///Use UGraphCopy() instead.
   420     void operator=(const SmartUGraph &) {}
   420     void operator=(const SmartUGraph &) {}
   421   public:
   421   public:
   422     /// Constructor
   422     /// Constructor
   423     
   423