Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified src/World.hpp

    r4d72e4 r5f1d5b8  
    7272template<typename> friend class AtomsCalculation;
    7373public:
     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;
    7477
    7578  // 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;
    7881
    7982  typedef ATOMSET(std::vector) AtomComposite;
     
    217220   */
    218221  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);
    219230
    220231  /**
Note: See TracChangeset for help on using the changeset viewer.