Ignore:
Timestamp:
Mar 10, 2010, 5:51:48 PM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
4fc41a
Parents:
025ca2
Message:

Added generic singleton Pattern that can be inherited to any class making that class a singleton.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/WorldIterators.cpp

    r025ca2 r4c60ef  
    1717
    1818World::AtomIterator::AtomIterator(){
    19   state = World::get()->atomEnd();
     19  state = World::getInstance().atomEnd();
    2020}
    2121
     
    9595
    9696World::MoleculeIterator::MoleculeIterator(){
    97   state = World::get()->moleculeEnd();
     97  state = World::getInstance().moleculeEnd();
    9898}
    9999
Note: See TracChangeset for help on using the changeset viewer.