Ignore:
Timestamp:
Mar 18, 2010, 11:37:26 AM (15 years ago)
Author:
Frederik Heber <heber@…>
Children:
800dc3
Parents:
6d0fcaa
git-author:
Frederik Heber <heber@…> (03/18/10 11:34:39)
git-committer:
Frederik Heber <heber@…> (03/18/10 11:37:26)
Message:

molecule::StoreAdjacencyToFile() and molecule::StoreBondsToFile() now take additional filename.

  • since ParseCommandLineOptions() has cases j and J which use the above functions, we have to generalize these functions to work also without a given path and with arbritrary filename.

Signed-off-by: Frederik Heber <heber@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/molecule.hpp

    r6d0fcaa r31ccb6  
    269269  int FragmentMolecule(int Order, config *configuration);
    270270  bool CheckOrderAtSite(bool *AtomMask, Graph *GlobalKeySetList, int Order, int *MinimumRingSize, char *path = NULL);
    271   bool StoreBondsToFile(char *path);
    272   bool StoreAdjacencyToFile(char *path);
     271  bool StoreBondsToFile(char *path, char *filename);
     272  bool StoreAdjacencyToFile(char *path, char *filename);
    273273  bool CheckAdjacencyFileAgainstMolecule(char *path, atom **ListOfAtoms);
    274274  bool ParseOrderAtSiteFromFile(char *path);
Note: See TracChangeset for help on using the changeset viewer.