Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/molecule.hpp

    r520c8b rac9b56  
    3333#include "tesselation.hpp"
    3434#include "Patterns/Observer.hpp"
     35#include "Patterns/Cacheable.hpp"
    3536
    3637/****************************************** forward declarations *****************************/
     
    105106    char name[MAXSTRINGSIZE];         //!< arbitrary name
    106107
     108  private:
     109    Cacheable<string> formula;
     110
    107111public:
    108112  molecule(const periodentafel * const teil);
     
    112116  const std::string getName();
    113117  void setName(const std::string);
     118  const std::string getFormula();
     119  std::string calcFormula();
    114120
    115121  // re-definition of virtual functions from PointCloud
     
    277283  int FragmentMolecule(int Order, config *configuration);
    278284  bool CheckOrderAtSite(bool *AtomMask, Graph *GlobalKeySetList, int Order, int *MinimumRingSize, char *path = NULL);
     285  bool StoreBondsToFile(char *path);
    279286  bool StoreAdjacencyToFile(char *path);
    280287  bool CheckAdjacencyFileAgainstMolecule(char *path, atom **ListOfAtoms);
Note: See TracChangeset for help on using the changeset viewer.