Candidate_v1.7.0
        stable
      
      
        
          | 
            Last change
 on this file since 1ca493a was             2affd1, checked in by Frederik Heber <heber@…>, 10 years ago           | 
        
        
          | 
             
Removed molecules_deprecated from World and unnecessary includes of MoleculeListClass and all insert/erase. 
 
- this goes along the lines of removing "remove me when we don't need
MoleculeCistClass anymore".
  
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            1.4 KB
           | 
        
      
      
| Line |   | 
|---|
| 1 | /*
 | 
|---|
| 2 |  * BondFileAction.def
 | 
|---|
| 3 |  *
 | 
|---|
| 4 |  *  Created on: Aug 26, 2010
 | 
|---|
| 5 |  *      Author: heber
 | 
|---|
| 6 |  */
 | 
|---|
| 7 | 
 | 
|---|
| 8 | // all includes and forward declarations necessary for non-integral types below
 | 
|---|
| 9 | #include "Parameters/Validators/DummyValidator.hpp"
 | 
|---|
| 10 | #include "Parameters/Validators/Specific/FilePresentValidator.hpp"
 | 
|---|
| 11 | 
 | 
|---|
| 12 | // i.e. there is an integer with variable name Z that can be found in
 | 
|---|
| 13 | // ValueStorage by the token "Z" -> first column: int, Z, "Z"
 | 
|---|
| 14 | // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
 | 
|---|
| 15 | #define paramtypes (boost::filesystem::path)(unsigned int)(unsigned int)
 | 
|---|
| 16 | #define paramtokens ("bond-file")("skiplines")("offset")
 | 
|---|
| 17 | #define paramdescriptions ("name of the bond file")("number of header lines to skip")("offset to add to each id")
 | 
|---|
| 18 | #define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(1))(PARAM_DEFAULT(0))
 | 
|---|
| 19 | #define paramreferences (bondfile)(skiplines)(id_offset)
 | 
|---|
| 20 | #define paramvalids \
 | 
|---|
| 21 | (FilePresentValidator()) \
 | 
|---|
| 22 | (DummyValidator< unsigned int >()) \
 | 
|---|
| 23 | (DummyValidator< unsigned int >())
 | 
|---|
| 24 | 
 | 
|---|
| 25 | #undef statetypes
 | 
|---|
| 26 | #undef statereferences
 | 
|---|
| 27 | 
 | 
|---|
| 28 | // some defines for all the names, you may use ACTION, STATE and PARAMS
 | 
|---|
| 29 | #define CATEGORY Molecule
 | 
|---|
| 30 | #define MENUNAME "molecule"
 | 
|---|
| 31 | #define MENUPOSITION 1
 | 
|---|
| 32 | #define ACTIONNAME BondFile
 | 
|---|
| 33 | #define TOKEN "bond-file"
 | 
|---|
| 34 | 
 | 
|---|
| 35 | 
 | 
|---|
| 36 | // finally the information stored in the ActionTrait specialization
 | 
|---|
| 37 | #define DESCRIPTION "parse bond structure from dbond file"
 | 
|---|
| 38 | #define SHORTFORM "A"
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.