Changeset bb89b9 for molecuilder/src
- Timestamp:
- Feb 25, 2010, 10:32:14 AM (15 years ago)
- Children:
- a1a532
- Parents:
- e7e088
- Location:
- molecuilder/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/World.cpp
re7e088 rbb89b9 30 30 } 31 31 32 vector<atom*> World::getAllAtoms(){ 33 return getAllAtoms(AllAtoms()); 34 } 35 32 36 int World::numAtoms(){ 33 37 return atoms.size(); … … 86 90 } 87 91 92 ManipulateAtomsProcess* World::manipulateAtoms(boost::function<void(atom*)> op,std::string name){ 93 return manipulateAtoms(op,name,AllAtoms()); 94 } 95 88 96 /********************* Internal Change methods for double Callback and Observer mechanism ********/ 89 97 -
molecuilder/src/World.hpp
re7e088 rbb89b9 61 61 */ 62 62 std::vector<atom*> getAllAtoms(AtomDescriptor descriptor); 63 std::vector<atom*> getAllAtoms(); 63 64 64 65 /** … … 67 68 * menus, be kept around for later use etc. 68 69 */ 69 template<typename T> 70 AtomsCalculation<T>* calcOnAtoms(boost::function<T(atom*)>,std::string,AtomDescriptor);70 template<typename T> AtomsCalculation<T>* calcOnAtoms(boost::function<T(atom*)>,std::string,AtomDescriptor); 71 template<typename T> AtomsCalculation<T>* calcOnAtoms(boost::function<T(atom*)>,std::string); 71 72 72 73 /** … … 117 118 */ 118 119 ManipulateAtomsProcess* manipulateAtoms(boost::function<void(atom*)>,std::string,AtomDescriptor); 120 ManipulateAtomsProcess* manipulateAtoms(boost::function<void(atom*)>,std::string); 119 121 120 122 protected: -
molecuilder/src/World_calculations.hpp
re7e088 rbb89b9 18 18 } 19 19 20 template<typename T> 21 AtomsCalculation<T>* World::calcOnAtoms(boost::function<T(atom*)> op,std::string name) { 22 return calcOnAtoms<T>(op,name,AllAtoms()); 23 } 24 20 25 #endif /* WORLD_CALCULATIONS_HPP_ */
Note:
See TracChangeset
for help on using the changeset viewer.