ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/brains/SnapshotManager.hpp
(Generate patch)

Comparing trunk/src/brains/SnapshotManager.hpp (file contents):
Revision 318 by tim, Sun Feb 13 06:57:48 2005 UTC vs.
Revision 494 by tim, Wed Apr 13 22:43:43 2005 UTC

# Line 69 | Line 69 | namespace oopse{
69                  delete previousSnapshot_;
70              }
71              
72 <            virtual bool advance() {}
72 >            virtual bool advance() { return true; }
73  
74              virtual Snapshot* getSnapshot(int id) = 0;
75  
# Line 93 | Line 93 | namespace oopse{
93                  return storageLayout_;
94              }
95  
96 <        protected:
96 >        private:
97 >            int storageLayout_;
98  
99 +        protected:
100 +
101              SnapshotManager(int storageLayout) : storageLayout_(storageLayout), currentSnapshot_(NULL), previousSnapshot_(NULL) {
102              }
103              
104              Snapshot* currentSnapshot_;
105              Snapshot* previousSnapshot_;
106              
104        private:
105            int storageLayout_;
107  
108      };
109  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines