Changeset e04838 for molecuilder
- Timestamp:
- May 8, 2010, 8:34:05 PM (16 years ago)
- Children:
- 495a53
- Parents:
- 536ce2
- git-author:
- Frederik Heber <heber@…> (05/08/10 20:30:27)
- git-committer:
- Frederik Heber <heber@…> (05/08/10 20:34:05)
- Location:
- molecuilder/src
- Files:
-
- 5 edited
-
UIElements/TextWindow.cpp (modified) (1 diff)
-
UIElements/UIFactory.hpp (modified) (1 diff)
-
World.cpp (modified) (4 diffs)
-
World.hpp (modified) (3 diffs)
-
builder.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/UIElements/TextWindow.cpp
r536ce2 re04838 52 52 { 53 53 MoleculeListClass *molecules = World::getInstance().getMolecules(); 54 config *configuration = NULL;54 config *configuration = World::getInstance().getConfig(); 55 55 periodentafel *periode = World::getInstance().getPeriode(); 56 56 char *ConfigFileName = NULL; -
molecuilder/src/UIElements/UIFactory.hpp
r536ce2 re04838 12 12 class Dialog; 13 13 class DialogDescription; 14 15 class MoleculeListClass;16 class config;17 class periodentafel;18 14 19 15 struct menuPopulaters; -
molecuilder/src/World.cpp
r536ce2 re04838 9 9 10 10 #include "atom.hpp" 11 #include "config.hpp" 11 12 #include "molecule.hpp" 12 13 #include "periodentafel.hpp" … … 25 26 periodentafel *&World::getPeriode(){ 26 27 return periode; 28 } 29 30 config *&World::getConfig(){ 31 return configuration; 27 32 } 28 33 … … 267 272 World::World() : 268 273 periode(new periodentafel), 274 configuration(new config), 269 275 atoms(), 270 276 currAtomId(0), … … 292 298 delete molecules_deprecated; 293 299 delete periode; 300 delete configuration; 294 301 MoleculeSet::iterator molIter; 295 302 for(molIter=molecules.begin();molIter!=molecules.end();++molIter){ -
molecuilder/src/World.hpp
r536ce2 re04838 30 30 31 31 // forward declarations 32 class config; 32 33 class periodentafel; 33 34 class MoleculeListClass; … … 75 76 76 77 /** 78 * returns the configuration for the world. 79 */ 80 config *&getConfig(); 81 82 /** 77 83 * returns the first atom that matches a given descriptor. 78 84 * Do not rely on ordering for descriptors that match more than one atom. … … 234 240 235 241 periodentafel *periode; 242 config *configuration; 236 243 static double *cell_size; 237 244 static char *defaultName; -
molecuilder/src/builder.cpp
r536ce2 re04838 2560 2560 int main(int argc, char **argv) 2561 2561 { 2562 config *configuration = new config;2562 config *configuration = World::getInstance().getConfig(); 2563 2563 Vector x, y, z, n; 2564 2564 ifstream test; 2565 2565 ofstream output; 2566 2566 string line; 2567 char *ConfigFileName = NULL;2568 2567 2569 2568 cout << ESPACKVersion << endl;
Note:
See TracChangeset
for help on using the changeset viewer.
