Changes in src/World.hpp [4d72e4:5f1d5b8]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/World.hpp ¶
r4d72e4 r5f1d5b8 72 72 template<typename> friend class AtomsCalculation; 73 73 public: 74 // some typedefs for the CONSTRUCT_... macros (no "," allows in a single parameter name) 75 typedef std::map<atomId_t,atom*> AtomSTLSet; 76 typedef std::map<moleculeId_t,molecule*> MoleculeSTLSet; 74 77 75 78 // Types for Atom and Molecule structures 76 typedef ObservedContainer< std::map<atomId_t,atom*>> AtomSet;77 typedef ObservedContainer< std::map<moleculeId_t,molecule*>> MoleculeSet;79 typedef ObservedContainer< AtomSTLSet > AtomSet; 80 typedef ObservedContainer< MoleculeSTLSet > MoleculeSet; 78 81 79 82 typedef ATOMSET(std::vector) AtomComposite; … … 217 220 */ 218 221 bool changeAtomId(atomId_t oldId, atomId_t newId, atom* target=0); 222 223 /** 224 * used when changing an molecule Id. 225 * Unless you are calling this method from inside an moleucle don't fiddle with the third parameter. 226 * 227 * Return value indicates wether the change could be done or not. 228 */ 229 bool changeMoleculeId(moleculeId_t oldId, moleculeId_t newId, molecule* target=0); 219 230 220 231 /**
Note:
See TracChangeset
for help on using the changeset viewer.