Changeset 6ba9ba


Ignore:
Timestamp:
Jun 13, 2012, 5:39:24 PM (14 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, Candidate_v1.7.0, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
Children:
2aad5a
Parents:
ab2ebe1
git-author:
Frederik Heber <heber@…> (06/05/12 14:59:10)
git-committer:
Frederik Heber <heber@…> (06/13/12 17:39:24)
Message:

Default values are properly set by the Action into their (Action)Parameters.

  • we changed the boost::preprocessor magic to accomplish this.
  • NODEFAULT -> NOPARAM_DEFAULT to be safe.
  • it has been a hell of a lot of work to make it possible to add a construct such as ", default" to the call of a function, either the comma or the default is easy but both could only be accomplished via a list contained in the sequence of default values. Because the list has an explicit NIL element which is taken as NOPARAM_DEFAULT.
  • PARAM_DEFAULT is a macro to wrap the default value into a list.
Location:
src
Files:
102 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/Action.hpp

    rab2ebe1 r6ba9ba  
    1717#include <boost/shared_ptr.hpp>
    1818
     19#include <boost/preprocessor/list/adt.hpp>
     20
    1921/** Used in .def files in paramdefaults define to set that no default value exists.
    20  * We define NODEFAULT here, as it is used in .def files and needs to be present
     22 * We define NOPARAM_DEFAULT here, as it is used in .def files and needs to be present
    2123 * before these are included.
    2224 */
    23 #define NODEFAULT ""
     25#define NOPARAM_DEFAULT BOOST_PP_NIL
    2426
    2527// forward declaration
  • src/Actions/Action_impl_header.hpp

    rab2ebe1 r6ba9ba  
    1414#include <boost/preprocessor/comparison/equal.hpp>
    1515#include <boost/preprocessor/comparison/not_equal.hpp>
     16#include <boost/preprocessor/control/expr_if.hpp>
    1617#include <boost/preprocessor/control/if.hpp>
    1718#include <boost/preprocessor/debug/assert.hpp>
    1819#include <boost/preprocessor/iteration/local.hpp>
     20#include <boost/preprocessor/list/adt.hpp>
    1921#include <boost/preprocessor/punctuation/comma_if.hpp>
     22#include <boost/preprocessor/punctuation/paren.hpp>
    2023#include <boost/preprocessor/repetition/repeat.hpp>
    2124#include <boost/preprocessor/seq/elem.hpp>
     
    4952#define MAXPARAMTYPES BOOST_PP_SEQ_SIZE(paramtypes)
    5053#endif
     54#ifndef paramdefaults
     55#define MAXPARAMDEFAULTS 0
     56// this is required for valid_print "else part"
     57#define sequencer(z,n,data) \
     58  BOOST_PP_SEQ_PUSH_BACK( data, NOPARAM_DEFAULT)
     59#define paramdefaults BOOST_PP_REPEAT( MAXPARAMTYPES, sequencer, BOOST_PP_SEQ_NIL )
     60#else
     61#define MAXPARAMDEFAULTS BOOST_PP_SEQ_SIZE(paramdefaults)
     62#endif
     63#define PARAM_DEFAULT(x) \
     64    (x, BOOST_PP_NIL)
    5165
    5266// check user has given name and category
     
    7993#endif
    8094
    81 // check if paramdefaults is given, otherwise fill list with NODEFAULT
     95// check if paramdefaults is given, otherwise fill list with NOPARAM_DEFAULT
    8296// this does not work: paramdefaults has to be completely defined before
    8397// being used within option_print (used as an array there and not as
    8498// some function call still to be expanded)
    85 //#define paramdefaults (NODEFAULT)
     99//#define paramdefaults (NOPARAM_DEFAULT)
    86100//#define tempvalue(z,n,value)
    87 //  BOOST_PP_CAT(value,(NODEFAULT))
     101//  BOOST_PP_CAT(value,(NOPARAM_DEFAULT))
    88102//BOOST_PP_REPEAT(tempvalue, MAXPARAMTYPES, paramdefaults)
    89103//#undef tempvalue
     
    112126
    113127// prints Options.insert
    114 #ifdef paramdefaults
    115128#define option_print(z,n,unused, unused2) \
    116129  tester = Options. insert (\
     
    120133          BOOST_PP_SEQ_ELEM(n, paramtokens), \
    121134          &typeid( BOOST_PP_SEQ_ELEM(n, paramtypes) ), \
    122           BOOST_PP_SEQ_ELEM(n, paramdescriptions), \
    123           std::string( BOOST_PP_SEQ_ELEM(n, paramdefaults) ) )\
     135          BOOST_PP_SEQ_ELEM(n, paramdescriptions) \
     136          BOOST_PP_COMMA_IF( BOOST_PP_NOT( BOOST_PP_LIST_IS_NIL( BOOST_PP_SEQ_ELEM(n, paramdefaults) ) ) ) \
     137          BOOST_PP_EXPR_IF( \
     138              BOOST_PP_NOT( BOOST_PP_LIST_IS_NIL( BOOST_PP_SEQ_ELEM(n, paramdefaults) ) ), \
     139              toString BOOST_PP_LPAREN() \
     140                  BOOST_PP_LIST_FIRST( BOOST_PP_SEQ_ELEM(n, paramdefaults) )) \
     141              BOOST_PP_RPAREN() \
     142          )\
    124143      )\
    125144  ); \
    126145  ASSERT(tester.second, "ActionTrait<ACTION>::ActionTrait<ACTION>() option token present twice!");
    127 #else
    128 #define option_print(z,n,unused, unused2) \
    129   tester = Options. insert (\
    130       std::pair< std::string, OptionTrait *> ( \
    131       BOOST_PP_SEQ_ELEM(n, paramtokens), \
    132       new OptionTrait(\
    133           BOOST_PP_SEQ_ELEM(n, paramtokens), \
    134           &typeid( BOOST_PP_SEQ_ELEM(n, paramtypes) ), \
    135           BOOST_PP_SEQ_ELEM(n, paramdescriptions), \
    136           NODEFAULT )\
    137       )\
    138   ); \
    139   ASSERT(tester.second, "ActionTrait<ACTION>::ActionTrait<ACTION>() option token present twice!");
    140 #endif
    141146
    142147namespace MoleCuilder {
     
    242247#undef paramdefaults
    243248#undef MAXPARAMTYPES
     249#undef MAXPARAMDEFAULTS
    244250#undef statetypes
    245251#undef statereferences
    246252#undef MAXSTATETYPES
     253#undef PARAM_DEFAULT
    247254
    248255#undef option_print
     256#undef sequencer
    249257#undef type_print
    250258#undef type_list
  • src/Actions/Action_impl_pre.hpp

    rab2ebe1 r6ba9ba  
    3737#include <boost/preprocessor/comparison/equal.hpp>
    3838#include <boost/preprocessor/comparison/not_equal.hpp>
     39#include <boost/preprocessor/control/expr_if.hpp>
    3940#include <boost/preprocessor/control/if.hpp>
    4041#include <boost/preprocessor/debug/assert.hpp>
    4142#include <boost/preprocessor/iteration/local.hpp>
     43#include <boost/preprocessor/list/adt.hpp>
    4244#include <boost/preprocessor/punctuation/comma_if.hpp>
    4345#include <boost/preprocessor/repetition/repeat.hpp>
     
    7678#define MAXSTATETYPES BOOST_PP_SEQ_SIZE(statetypes)
    7779#endif
     80#ifndef paramdefaults
     81#define MAXPARAMDEFAULTS 0
     82// this is required for valid_print "else part"
     83#define sequencer(z,n,data) \
     84  BOOST_PP_SEQ_PUSH_BACK( data, NOPARAM_DEFAULT)
     85#define paramdefaults BOOST_PP_REPEAT( MAXPARAMTYPES, sequencer, BOOST_PP_SEQ_NIL )
     86#else
     87#define MAXPARAMDEFAULTS BOOST_PP_SEQ_SIZE(paramdefaults)
     88#endif
     89#define PARAM_DEFAULT(x) \
     90    (x, BOOST_PP_NIL)
    7891
    7992// check user has given name and category
     
    128141  );
    129142
    130 // print an initialiser list, i.e. "var( token, valid )(,)"
    131 #define valid_print(z,n,TOKENLIST, VARLIST, VALIDLIST) \
     143// print an initialiser list, i.e. "var( token, valid (,default) )(,)"
     144#define valid_print(z,n,TOKENLIST, VARLIST, VALIDLIST, DEFAULTLIST) \
    132145  BOOST_PP_COMMA_IF(n) \
    133146  BOOST_PP_SEQ_ELEM(n, VARLIST) \
     
    136149  , \
    137150  BOOST_PP_SEQ_ELEM(n, VALIDLIST) \
     151  BOOST_PP_COMMA_IF( BOOST_PP_NOT( BOOST_PP_LIST_IS_NIL( BOOST_PP_SEQ_ELEM(n, DEFAULTLIST) ) ) ) \
     152  BOOST_PP_EXPR_IF( \
     153      BOOST_PP_NOT( BOOST_PP_LIST_IS_NIL( BOOST_PP_SEQ_ELEM(n, DEFAULTLIST) ) ), \
     154      BOOST_PP_LIST_FIRST( BOOST_PP_SEQ_ELEM(n, DEFAULTLIST) )) \
    138155  )
    139156
    140 // print an initialiser list, i.e. "var( token, valid )(,)"
     157// print an initialiser list, i.e. "var( valid . var )(,)"
    141158#define validcopy_print(z,n,TOKENLIST, VARLIST, VALID) \
    142159  BOOST_PP_COMMA_IF(n) \
     
    230247#if defined paramtokens && defined paramreferences && defined paramvalids
    231248      :
    232 #define BOOST_PP_LOCAL_MACRO(n) valid_print(~, n, paramtokens, paramreferences, paramvalids)
     249#define BOOST_PP_LOCAL_MACRO(n) valid_print(~, n, paramtokens, paramreferences, paramvalids, paramdefaults)
    233250#define BOOST_PP_LOCAL_LIMITS  (0, MAXPARAMTYPES-1)
    234251#include BOOST_PP_LOCAL_ITERATE()
     
    309326#undef paramdefaults
    310327#undef MAXPARAMTYPES
     328#undef MAXPARAMDEFAULTS
    311329#undef statetypes
    312330#undef statereferences
    313331#undef MAXSTATETYPES
     332#undef PARAM_DEFAULT
    314333
    315334#undef type2string
     
    319338#undef type_list
    320339#undef dialog_print
     340#undef sequencer
    321341#undef valid_print
    322342#undef validcopy_print
  • src/Actions/Action_impl_python.hpp

    rab2ebe1 r6ba9ba  
    1818#include <boost/preprocessor/facilities/expand.hpp>
    1919#include <boost/preprocessor/iteration/local.hpp>
     20#include <boost/preprocessor/list/adt.hpp>
    2021#include <boost/preprocessor/punctuation/comma_if.hpp>
    21 
    22 #define NODEFAULT ""
     22#include <boost/preprocessor/punctuation/paren.hpp>
    2323
    2424// some derived names: if CATEGORY is not given, we don't prefix with it
     
    3232#define PARAMS BOOST_PP_CAT(ACTIONNAME, Parameters)
    3333#endif
     34
     35// for paramdefaults entries
     36#define PARAM_DEFAULT(x) \
     37    (x, BOOST_PP_NIL)
    3438
    3539// check if no lists given
     
    6165  BOOST_PP_SEQ_ELEM(n, STRINGLIST) \
    6266  ) \
    63   = BOOST_PP_SEQ_ELEM(n, DEFAULTLIST)
     67  = \
     68  BOOST_PP_IF( \
     69      BOOST_PP_NOT( BOOST_PP_LIST_IS_NIL( BOOST_PP_SEQ_ELEM(n, paramdefaults) ) ), \
     70      toString BOOST_PP_LPAREN() \
     71          BOOST_PP_LIST_FIRST( BOOST_PP_SEQ_ELEM(n, DEFAULTLIST) ) \
     72      BOOST_PP_RPAREN(), \
     73      std::string("") \
     74  )
    6475
    6576// print a list of comma-separated list, i.e. (,)arg("Action")
     
    142153#undef PARAMS
    143154#undef MAXPARAMTYPES
     155#undef PARAM_DEFAULT
    144156
    145157#undef help_print
  • src/Actions/AnalysisAction/CalculateBoundingBoxAction.def

    rab2ebe1 r6ba9ba  
    1414// i.e. there is an integer with variable name Z that can be found in
    1515// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     16// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1717#undef paramtypes
    1818#undef paramreferences
  • src/Actions/AnalysisAction/CalculateCellVolumeAction.def

    rab2ebe1 r6ba9ba  
    1212// i.e. there is an integer with variable name Z that can be found in
    1313// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     14// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1515#undef paramtypes
    1616#undef paramreferences
  • src/Actions/AnalysisAction/CalculateMolarMassAction.def

    rab2ebe1 r6ba9ba  
    1212// i.e. there is an integer with variable name Z that can be found in
    1313// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     14// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1515#undef paramtypes
    1616#undef paramreferences
  • src/Actions/AnalysisAction/DipoleAngularCorrelationAction.def

    rab2ebe1 r6ba9ba  
    1919// i.e. there is an integer with variable name Z that can be found in
    2020// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    21 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     21// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    2222#define paramtypes (std::string)(double)(double)(double)(boost::filesystem::path)(boost::filesystem::path)(unsigned int)
    2323#define paramreferences (DipoleFormula)(BinStart)(BinWidth)(BinEnd)(outputname)(binoutputname)(timestepzero)
    2424#define paramtokens ("dipole-angular-correlation")("bin-start")("bin-width")("bin-end")("output-file")("bin-output-file")("time-step-zero")
    2525#define paramdescriptions ("formula of molecules to calculate dipole of")("start of the first bin")("width of the bins")("start of the last bin")("name of the output file")("name of the bin output file")("initial time step to correlate following ones against")
    26 #define paramdefaults (NODEFAULT)(NODEFAULT)("0.5")(NODEFAULT)(NODEFAULT)(NODEFAULT)("0")
     26#define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(0.5))(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(0))
    2727#define paramvalids \
    2828(FormulaValidator()) \
  • src/Actions/AnalysisAction/DipoleCorrelationAction.def

    rab2ebe1 r6ba9ba  
    1717// i.e. there is an integer with variable name Z that can be found in
    1818// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    19 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     19// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    2020#define paramtypes (double)(double)(double)(boost::filesystem::path)(boost::filesystem::path)(bool)
    2121#define paramreferences (BinStart)(BinWidth)(BinEnd)(outputname)(binoutputname)(periodic)
    2222#define paramtokens ("bin-start")("bin-width")("bin-end")("output-file")("bin-output-file")("periodic")
    2323#define paramdescriptions ("start of the first bin")("width of the bins")("start of the last bin")("name of the output file")("name of the bin output file")("system is constraint to periodic boundary conditions")
    24 #define paramdefaults (NODEFAULT)("0.5")(NODEFAULT)(NODEFAULT)(NODEFAULT)("0")
     24#define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(0.5))(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(false))
    2525#define paramvalids \
    2626(RotationAngleValidator()) \
  • src/Actions/AnalysisAction/MolecularVolumeAction.def

    rab2ebe1 r6ba9ba  
    1212// i.e. there is an integer with variable name Z that can be found in
    1313// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     14// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1515#undef paramtypes
    1616#undef paramreferences
  • src/Actions/AnalysisAction/PairCorrelationAction.def

    rab2ebe1 r6ba9ba  
    2222// i.e. there is an integer with variable name Z that can be found in
    2323// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    24 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     24// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    2525#define paramtypes (std::vector<const element *>)(double)(double)(double)(boost::filesystem::path)(boost::filesystem::path)(bool)
    2626#define paramreferences (elements)(BinStart)(BinWidth)(BinEnd)(outputname)(binoutputname)(periodic)
    2727#define paramtokens ("elements")("bin-start")("bin-width")("bin-end")("output-file")("bin-output-file")("periodic")
    2828#define paramdescriptions ("set of elements")("start of the first bin")("width of the bins")("start of the last bin")("name of the output file")("name of the bin output file")("system is constraint to periodic boundary conditions")
    29 #define paramdefaults (NODEFAULT)(NODEFAULT)("0.5")(NODEFAULT)(NODEFAULT)(NODEFAULT)("0")
     29#define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(0.5))(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(false))
    3030#define paramvalids \
    3131(STLVectorValidator< std::vector<const element *> >(2,2, ElementValidator())) \
  • src/Actions/AnalysisAction/PointCorrelationAction.def

    rab2ebe1 r6ba9ba  
    2323// i.e. there is an integer with variable name Z that can be found in
    2424// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    25 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     25// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    2626#define paramtypes (std::vector<const element *>)(Vector)(double)(double)(double)(boost::filesystem::path)(boost::filesystem::path)(bool)
    2727#define paramreferences (elements)(Point)(BinStart)(BinWidth)(BinEnd)(outputname)(binoutputname)(periodic)
    2828#define paramtokens ("elements")("position")("bin-start")("bin-width")("bin-end")("output-file")("bin-output-file")("periodic")
    2929#define paramdescriptions ("set of elements")("position in R^3 space")("start of the first bin")("width of the bins")("start of the last bin")("name of the output file")("name of the bin output file")("system is constraint to periodic boundary conditions")
    30 #define paramdefaults (NODEFAULT)(NODEFAULT)(NODEFAULT)("0.5")(NODEFAULT)(NODEFAULT)(NODEFAULT)("0")
     30#define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(0.5))(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(false))
    3131#define paramvalids \
    3232(STLVectorValidator< std::vector<const element *> >(ElementValidator())) \
  • src/Actions/AnalysisAction/PrincipalAxisSystemAction.def

    rab2ebe1 r6ba9ba  
    1414// i.e. there is an integer with variable name Z that can be found in
    1515// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     16// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1717#undef paramtypes
    1818#undef paramreferences
  • src/Actions/AnalysisAction/SurfaceCorrelationAction.def

    rab2ebe1 r6ba9ba  
    2121// i.e. there is an integer with variable name Z that can be found in
    2222// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    23 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     23// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    2424#define paramtypes (std::vector<const element *>)(double)(double)(double)(boost::filesystem::path)(boost::filesystem::path)(bool)
    2525#define paramreferences (elements)(BinStart)(BinWidth)(BinEnd)(outputname)(binoutputname)(periodic)
    2626#define paramtokens ("elements")("bin-start")("bin-width")("bin-end")("output-file")("bin-output-file")("periodic")
    2727#define paramdescriptions ("set of elements")("start of the first bin")("width of the bins")("start of the last bin")("name of the output file")("name of the bin output file")("system is constraint to periodic boundary conditions")
    28 #define paramdefaults (NODEFAULT)(NODEFAULT)("0.5")(NODEFAULT)(NODEFAULT)(NODEFAULT)("0")
     28#define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(0.5))(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(false))
    2929#define paramvalids \
    3030(STLVectorValidator< std::vector<const element *> >(ElementValidator())) \
  • src/Actions/AtomAction/AddAction.def

    rab2ebe1 r6ba9ba  
    1616// i.e. there is an integer with variable name Z that can be found in
    1717// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    18 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     18// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1919//#define paramtypes (const element *)(BoxVector) TODO: use a validator
    2020#define paramtypes (const element *)(Vector)
     
    2222#define paramdescriptions ("element of new atom")("position within current domain")
    2323#define paramreferences (elemental)(position)
    24 #define paramdefaults (NODEFAULT)(NODEFAULT)
     24#define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT)
    2525#define paramvalids \
    2626(ElementValidator()) \
  • src/Actions/AtomAction/ChangeElementAction.def

    rab2ebe1 r6ba9ba  
    1414// i.e. there is an integer with variable name Z that can be found in
    1515// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     16// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1717#define paramtypes (const element *)
    1818#define paramtokens ("change-element")
  • src/Actions/AtomAction/RemoveAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#undef paramtypes
    1717#undef paramtokens
  • src/Actions/AtomAction/RotateAroundOriginByAngleAction.def

    rab2ebe1 r6ba9ba  
    1414// i.e. there is an integer with variable name Z that can be found in
    1515// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     16// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1717#define paramtypes (double)(Vector)
    1818#define paramtokens ("rotate-around-origin")("position")
  • src/Actions/AtomAction/SaveSelectedAtomsAction.def

    rab2ebe1 r6ba9ba  
    1515// i.e. there is an integer with variable name Z that can be found in
    1616// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    17 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     17// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1818#define paramtypes (boost::filesystem::path)
    1919#define paramtokens ("save-selected-atoms")
  • src/Actions/AtomAction/TranslateAction.def

    rab2ebe1 r6ba9ba  
    1414// i.e. there is an integer with variable name Z that can be found in
    1515// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     16// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1717#define paramtypes (Vector)(bool)
    1818#define paramtokens ("translate-atoms")("periodic")
    1919#define paramdescriptions ("translation vector")("system is constraint to periodic boundary conditions")
    2020#define paramreferences (x)(periodic)
    21 #define paramdefaults (NODEFAULT)("0")
     21#define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(false))
    2222#define paramvalids \
    2323(DummyValidator< Vector >()) \
  • src/Actions/CommandAction/BondLengthTableAction.def

    rab2ebe1 r6ba9ba  
    1414// i.e. there is an integer with variable name Z that can be found in
    1515// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     16// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1717#define paramtypes (boost::filesystem::path)
    1818#define paramtokens ("bond-table")
  • src/Actions/CommandAction/ElementDbAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (boost::filesystem::path)
    1717#define paramtokens ("element-db")
  • src/Actions/CommandAction/FastParsingAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (bool)
    1717#define paramtokens ("fastparsing")
  • src/Actions/CommandAction/HelpAction.def

    rab2ebe1 r6ba9ba  
    77
    88// all includes and forward declarations necessary for non-integral types below
     9#include <string>
     10#include <vector>
    911
    1012#include "Parameters/Validators/DiscreteValidator.hpp"
     
    1416// i.e. there is an integer with variable name Z that can be found in
    1517// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     18// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1719#define paramtypes (std::string)
    1820#define paramtokens ("actionname")
    1921#define paramdescriptions ("Name of an action whose option list is then given")
    20 #define paramdefaults ("none")
     22#define paramdefaults (PARAM_DEFAULT(std::string("none")))
    2123#define paramreferences (actionname)
    2224#define paramvalids \
  • src/Actions/CommandAction/VerboseAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (unsigned int)
    1717#define paramtokens ("verbose")
  • src/Actions/CommandAction/VersionAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#undef paramtypes
    1717#undef paramtokens
  • src/Actions/CommandAction/WarrantyAction.def

    rab2ebe1 r6ba9ba  
    1212// i.e. there is an integer with variable name Z that can be found in
    1313// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     14// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1515#undef paramtypes
    1616#undef paramtokens
  • src/Actions/FillAction/FillRegularGridAction.def

    rab2ebe1 r6ba9ba  
    2020// i.e. there is an integer with variable name Z that can be found in
    2121// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    22 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     22// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    2323#define paramtypes (std::vector< unsigned int >)(Vector)(double)(double)(double)(double)(bool)
    2424#define paramtokens ("mesh-size")("mesh-offset")("min-distance")("tesselation-radius")("random-atom-displacement")("random-molecule-displacement")("DoRotate")
    2525#define paramdescriptions ("number of points per axis")("offset to start of partition, must be in [0,1)")("Minimum distance to other atoms")("radius of rolling sphere in tesselating selected molecule's surfaces")("magnitude of random atom displacement")("magnitude of random molecule displacement")("whether to rotate or not")
    26 #define paramdefaults (NODEFAULT)("0.,0.,0.")("1.")("0.")("0.")("0.")("0")
     26#define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(Vector(0.,0.,0.)))(PARAM_DEFAULT(1.))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(false))
    2727#define paramreferences (counts)(offset)(mindistance)(SphereRadius)(RandAtomDisplacement)(RandMoleculeDisplacement)(DoRotate)
    2828#define paramvalids \
  • src/Actions/FillAction/FillSphericalSurfaceAction.def

    rab2ebe1 r6ba9ba  
    1818// i.e. there is an integer with variable name Z that can be found in
    1919// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    20 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     20// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    2121#define paramtypes (Vector)(double)(unsigned int)(double)(Vector)
    2222#define paramtokens ("center")("radius")("count")("min-distance")("Alignment-Axis")
    2323#define paramdescriptions ("center of the sphere")("sphere size")("number of instances to be added, changed according to geometric needs")("minimum distance between added instances")("The filler molecule is rotated relative to this alignment axis")
    24 #define paramdefaults ("0.,0.,0.")(NODEFAULT)("12")("1.")(NODEFAULT)
     24#define paramdefaults (PARAM_DEFAULT(Vector(0.,0.,0.)))(NOPARAM_DEFAULT)(PARAM_DEFAULT(12))(PARAM_DEFAULT(1.))(NOPARAM_DEFAULT)
    2525#define paramreferences (center)(radius)(N)(mindistance)(AlignedAxis)
    2626#define paramvalids \
  • src/Actions/FragmentationAction/FragmentationAction.def

    rab2ebe1 r6ba9ba  
    77
    88// all includes and forward declarations necessary for non-integral types below
     9#include <boost/assign.hpp>
    910#include <string>
    1011#include <vector>
     
    1819// i.e. there is an integer with variable name Z that can be found in
    1920// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    20 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     21// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    2122#define paramtypes (std::string)(double)(unsigned int)(bool)(std::vector<std::string>)
    2223#define paramtokens ("fragment-molecule")("distance")("order")("DoSaturate")("output-types")
    2324#define paramdescriptions ("prefix of each fragment file")("distance in space")("order of a discretization, dissection, ...")("do saturate dangling bonds with hydrogen")("type(s) of parsers that output fragment config files")
    24 #define paramdefaults (NODEFAULT)(NODEFAULT)(NODEFAULT)("1")("pcp tremolo xyz")
     25#define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(true)) (PARAM_DEFAULT(std::vector<std::string>(1, std::string("pcp"))))
    2526#define paramreferences (prefix)(distance)(order)(DoSaturation)(types)
    2627#define paramvalids \
  • src/Actions/GraphAction/CreateAdjacencyAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#undef paramtypes
    1717#undef paramtokens
  • src/Actions/GraphAction/DepthFirstSearchAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (bool)
    1717#define paramtokens ("DoSaturate")
    1818#define paramdescriptions ("whether to treat hydrogen special or not")
    19 #define paramdefaults ("1")
     19#define paramdefaults (PARAM_DEFAULT(true))
    2020#define paramreferences (DoSaturation)
    2121#define paramvalids \
  • src/Actions/GraphAction/SubgraphDissectionAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#undef paramtypes
    1717#undef paramtokens
  • src/Actions/MoleculeAction/BondFileAction.def

    rab2ebe1 r6ba9ba  
    1414// i.e. there is an integer with variable name Z that can be found in
    1515// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     16// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1717#define paramtypes (boost::filesystem::path)(unsigned int)(unsigned int)
    1818#define paramtokens ("bond-file")("skiplines")("offset")
    1919#define paramdescriptions ("name of the bond file")("number of header lines to skip")("offset to add to each id")
    20 #define paramdefaults (NODEFAULT)("1")("0")
     20#define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(1))(PARAM_DEFAULT(0))
    2121#define paramreferences (bondfile)(skiplines)(id_offset)
    2222#define paramvalids \
  • src/Actions/MoleculeAction/ChangeNameAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (std::string)
    1717#define paramtokens ("change-molname")
  • src/Actions/MoleculeAction/CopyAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (Vector)
    1717#define paramtokens ("position")
  • src/Actions/MoleculeAction/FillVoidWithMoleculeAction.def

    rab2ebe1 r6ba9ba  
    1919// i.e. there is an integer with variable name Z that can be found in
    2020// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    21 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     21// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    2222#define paramtypes (boost::filesystem::path)(Vector)(double)(double)(double)(double)(bool)
    2323#define paramtokens ("fill-void")("distances")("distance-to-molecule")("random-atom-displacement")("random-molecule-displacement")("distance-to-boundary")("DoRotate")
    2424#define paramdescriptions ("name of xyz file of filler molecule")("list of three of distances in space, one for each axis direction")("minimum distance to present molecules")("magnitude of random atom displacement")("magnitude of random molecule displacement")("minimum distance to boundary")("whether to rotate or not")
    25 #define paramdefaults (NODEFAULT)(NODEFAULT)("0.")("0.")("0.")("0.")("0")
     25#define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(false))
    2626#define paramreferences (fillername)(distances)(boundary)(RandAtomDisplacement)(RandMoleculeDisplacement)(MinDistance)(DoRotate)
    2727#define paramvalids \
  • src/Actions/MoleculeAction/FillWithMoleculeAction.def

    rab2ebe1 r6ba9ba  
    2222// i.e. there is an integer with variable name Z that can be found in
    2323// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    24 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     24// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    2525#define paramtypes (boost::filesystem::path)(Vector)(double)(double)(double)(double)(bool)
    2626#define paramtokens ("fill-molecule")("distances")("distance-to-molecule")("random-atom-displacement")("random-molecule-displacement")("MaxDistance")("DoRotate")
    2727#define paramdescriptions ("name of xyz file of filler molecule")("list of three of distances in space, one for each axis direction")("minimum distance to present molecules")("magnitude of random atom displacement")("magnitude of random molecule displacement")("maximum spatial distance")("whether to rotate or not")
    28 #define paramdefaults (NODEFAULT)(NODEFAULT)("0.")("0.")("0.")("0.")("0")
     28#define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(false))
    2929#define paramreferences (fillername)(distances)(boundary)(RandAtomDisplacement)(RandMoleculeDisplacement)(MaxDistance)(DoRotate)
    3030#define paramvalids \
  • src/Actions/MoleculeAction/LinearInterpolationofTrajectoriesAction.def

    rab2ebe1 r6ba9ba  
    1414// i.e. there is an integer with variable name Z that can be found in
    1515// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     16// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1717#define paramtypes (unsigned int)(unsigned int)(unsigned int)(bool)
    1818#define paramtokens ("start-step")("interpolation-steps")("end-step")("id-mapping")
  • src/Actions/MoleculeAction/LoadAction.def

    rab2ebe1 r6ba9ba  
    1717// i.e. there is an integer with variable name Z that can be found in
    1818// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    19 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     19// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    2020#define paramtypes (boost::filesystem::path)
    2121#define paramtokens ("load")
  • src/Actions/MoleculeAction/RotateAroundSelfByAngleAction.def

    rab2ebe1 r6ba9ba  
    1515// i.e. there is an integer with variable name Z that can be found in
    1616// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    17 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     17// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1818#define paramtypes (double)(Vector)
    1919#define paramtokens ("rotate-around-self")("axis")
  • src/Actions/MoleculeAction/RotateToPrincipalAxisSystemAction.def

    rab2ebe1 r6ba9ba  
    1616// i.e. there is an integer with variable name Z that can be found in
    1717// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    18 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     18// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1919#define paramtypes (Vector)
    2020#define paramtokens ("rotate-to-principal-axis-system")
  • src/Actions/MoleculeAction/SaveAdjacencyAction.def

    rab2ebe1 r6ba9ba  
    1414// i.e. there is an integer with variable name Z that can be found in
    1515// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     16// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1717#define paramtypes (boost::filesystem::path)
    1818#define paramtokens ("save-adjacency")
  • src/Actions/MoleculeAction/SaveBondsAction.def

    rab2ebe1 r6ba9ba  
    1414// i.e. there is an integer with variable name Z that can be found in
    1515// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     16// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1717#define paramtypes (boost::filesystem::path)
    1818#define paramtokens ("save-bonds")
  • src/Actions/MoleculeAction/SaveSelectedMoleculesAction.def

    rab2ebe1 r6ba9ba  
    1515// i.e. there is an integer with variable name Z that can be found in
    1616// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    17 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     17// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1818#define paramtypes (boost::filesystem::path)
    1919#define paramtokens ("save-selected-molecules")
  • src/Actions/MoleculeAction/SaveTemperatureAction.def

    rab2ebe1 r6ba9ba  
    1414// i.e. there is an integer with variable name Z that can be found in
    1515// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     16// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1717#define paramtypes (boost::filesystem::path)
    1818#define paramtokens ("save-temperature")
  • src/Actions/MoleculeAction/SuspendInWaterAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (double)
    1717#define paramtokens ("suspend-in-water")
  • src/Actions/MoleculeAction/VerletIntegrationAction.def

    rab2ebe1 r6ba9ba  
    1515// i.e. there is an integer with variable name Z that can be found in
    1616// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    17 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     17// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1818#define paramtypes (boost::filesystem::path)(double)(unsigned int)(bool)
    1919#define paramtokens ("verlet-integration")("deltat")("MDSteps")("keep-fixed-CenterOfMass")
  • src/Actions/ParserAction/ParseTremoloPotentialsAction.def

    rab2ebe1 r6ba9ba  
    1515// i.e. there is an integer with variable name Z that can be found in
    1616// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    17 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     17// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1818#define paramtypes (boost::filesystem::path)
    1919#define paramtokens ("parse-tremolo-potentials")
  • src/Actions/ParserAction/SaveSelectedAtomsAsExtTypesAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (unsigned int)(boost::filesystem::path)
    1717#define paramtokens ("save-selected-atoms-as-exttypes")("filename")
  • src/Actions/ParserAction/SetOutputFormatsAction.def

    rab2ebe1 r6ba9ba  
    1616// i.e. there is an integer with variable name Z that can be found in
    1717// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    18 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     18// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1919#define paramtypes (std::vector<std::string>)
    2020#define paramtokens ("set-output")
  • src/Actions/ParserAction/SetParserParametersAction.def

    rab2ebe1 r6ba9ba  
    1414// i.e. there is an integer with variable name Z that can be found in
    1515// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     16// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1717#define paramtypes (std::string)(std::string)
    1818#define paramtokens ("set-parser-parameters")("parser-parameters")
    1919#define paramdescriptions ("name of the parser to change")("parameter (key = value;)")
    20 #define paramdefaults (NODEFAULT)(NODEFAULT)
     20#define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT)
    2121#define paramreferences (parsername)(newparams)
    2222#define paramvalids \
  • src/Actions/ParserAction/SetTremoloAtomdataAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (std::string)
    1717#define paramtokens ("set-tremolo-atomdata")
  • src/Actions/RandomNumbersAction/SetRandomNumbersDistributionAction.def

    rab2ebe1 r6ba9ba  
    1414// i.e. there is an integer with variable name Z that can be found in
    1515// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     16// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1717#define paramtypes (std::string)(std::string)
    1818#define paramtokens ("set-random-number-distribution")("random-number-distribution-parameters")
    1919#define paramdescriptions ("name of the distribution from boost::random")("parameter set for requested distribution")
    20 #define paramdefaults (NODEFAULT)("p=-1")
     20#define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(std::string("p=-1")))
    2121#define paramreferences (distribution_type)(parameters)
    2222#define paramvalids \
  • src/Actions/RandomNumbersAction/SetRandomNumbersEngineAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (std::string)(std::string)
    1717#define paramtokens ("set-random-number-engine")("random-number-engine-parameters")
    1818#define paramdescriptions ("name of the pseudo-random engine from boost::random")("seed of the pseudo-random number sequence")
    19 #define paramdefaults (NODEFAULT)("seed=-1")
     19#define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(std::string("seed=-1")))
    2020#define paramreferences (engine_type)(parameters)
    2121#define paramvalids \
  • src/Actions/RedoAction.def

    rab2ebe1 r6ba9ba  
    1212// i.e. there is an integer with variable name Z that can be found in
    1313// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     14// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1515#undef paramtypes
    1616#undef paramreferences
  • src/Actions/SelectionAction/Atoms/AllAtomsAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#undef paramtypes
    1717#undef paramtokens
  • src/Actions/SelectionAction/Atoms/AllAtomsInsideCuboidAction.def

    rab2ebe1 r6ba9ba  
    1717// i.e. there is an integer with variable name Z that can be found in
    1818// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    19 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     19// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    2020#define paramtypes (Vector)(Vector)(double)(double)(double)
    2121#define paramtokens ("select-atoms-inside-cuboid")("position")("angle-x")("angle-y")("angle-z")
    2222#define paramdescriptions ("dimensions of cuboid")("position in R^3 space")("angle of a rotation around x axis")("angle of a rotation around y axis")("angle of a rotation around z axis")
    23 #define paramdefaults (NODEFAULT)(NODEFAULT)("0.")("0.")("0.")
     23#define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.))
    2424#define paramreferences (extension)(position)(Xangle)(Yangle)(Zangle)
    2525#define paramvalids \
  • src/Actions/SelectionAction/Atoms/AllAtomsInsideSphereAction.def

    rab2ebe1 r6ba9ba  
    1515// i.e. there is an integer with variable name Z that can be found in
    1616// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    17 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     17// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1818#define paramtypes (double)(Vector)
    1919#define paramtokens ("select-atoms-inside-sphere")("position")
  • src/Actions/SelectionAction/Atoms/AllAtomsOfMoleculeAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#undef paramtypes
    1717#undef paramtokens
  • src/Actions/SelectionAction/Atoms/AtomByElementAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (const element*)
    1717#define paramtokens ("select-atom-by-element")
  • src/Actions/SelectionAction/Atoms/AtomByIdAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (atomId_t)
    1717#define paramtokens ("select-atom-by-id")
  • src/Actions/SelectionAction/Atoms/AtomByOrderAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (int)
    1717#define paramtokens ("select-atom-by-order")
  • src/Actions/SelectionAction/Atoms/ClearAllAtomsAction.def

    rab2ebe1 r6ba9ba  
    1212// i.e. there is an integer with variable name Z that can be found in
    1313// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     14// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1515#undef paramtypes
    1616#undef paramtokens
  • src/Actions/SelectionAction/Atoms/InvertAtomsAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#undef paramtypes
    1717#undef paramtokens
  • src/Actions/SelectionAction/Atoms/NotAllAtomsAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#undef paramtypes
    1717#undef paramtokens
  • src/Actions/SelectionAction/Atoms/NotAllAtomsInsideCuboidAction.def

    rab2ebe1 r6ba9ba  
    1818// i.e. there is an integer with variable name Z that can be found in
    1919// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    20 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     20// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    2121#define paramtypes (Vector)(Vector)(double)(double)(double)
    2222#define paramtokens ("unselect-atoms-inside-cuboid")("position")("angle-x")("angle-y")("angle-z")
    2323#define paramdescriptions ("dimension of cuboid")("position in R^3 space")("angle of a rotation around x axis")("angle of a rotation around y axis")("angle of a rotation around z axis")
    24 #define paramdefaults (NODEFAULT)(NODEFAULT)("0.")("0.")("0.")
     24#define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.))
    2525#define paramreferences (extension)(position)(Xangle)(Yangle)(Zangle)
    2626#define paramvalids \
  • src/Actions/SelectionAction/Atoms/NotAllAtomsInsideSphereAction.def

    rab2ebe1 r6ba9ba  
    1515// i.e. there is an integer with variable name Z that can be found in
    1616// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    17 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     17// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1818#define paramtypes (double)(Vector)
    1919#define paramtokens ("unselect-atoms-inside-sphere")("position")
  • src/Actions/SelectionAction/Atoms/NotAllAtomsOfMoleculeAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#undef paramtypes
    1717#undef paramtokens
  • src/Actions/SelectionAction/Atoms/NotAtomByElementAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (const element*)
    1717#define paramtokens ("unselect-atom-by-element")
  • src/Actions/SelectionAction/Atoms/NotAtomByIdAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (atomId_t)
    1717#define paramtokens ("unselect-atom-by-id")
  • src/Actions/SelectionAction/Atoms/NotAtomByOrderAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (int)
    1717#define paramtokens ("unselect-atom-by-order")
  • src/Actions/SelectionAction/Molecules/AllMoleculesAction.def

    rab2ebe1 r6ba9ba  
    1212// i.e. there is an integer with variable name Z that can be found in
    1313// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     14// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1515#undef paramtypes
    1616#undef paramtokens
  • src/Actions/SelectionAction/Molecules/ClearAllMoleculesAction.def

    rab2ebe1 r6ba9ba  
    1212// i.e. there is an integer with variable name Z that can be found in
    1313// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     14// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1515#undef paramtypes
    1616#undef paramtokens
  • src/Actions/SelectionAction/Molecules/InvertMoleculesAction.def

    rab2ebe1 r6ba9ba  
    1212// i.e. there is an integer with variable name Z that can be found in
    1313// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     14// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1515#undef paramtypes
    1616#undef paramtokens
  • src/Actions/SelectionAction/Molecules/MoleculeByFormulaAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (std::string)
    1717#define paramtokens ("select-molecules-by-formula")
  • src/Actions/SelectionAction/Molecules/MoleculeByIdAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (moleculeId_t)
    1717#define paramtokens ("select-molecule-by-id")
  • src/Actions/SelectionAction/Molecules/MoleculeByNameAction.def

    rab2ebe1 r6ba9ba  
    1515// i.e. there is an integer with variable name Z that can be found in
    1616// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    17 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     17// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1818#define paramtypes (std::string)
    1919#define paramtokens ("select-molecules-by-name")
  • src/Actions/SelectionAction/Molecules/MoleculeByOrderAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (int)
    1717#define paramtokens ("select-molecule-by-order")
  • src/Actions/SelectionAction/Molecules/MoleculeOfAtomAction.def

    rab2ebe1 r6ba9ba  
    1212// i.e. there is an integer with variable name Z that can be found in
    1313// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     14// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1515#undef paramtypes
    1616#undef paramtokens
  • src/Actions/SelectionAction/Molecules/NotAllMoleculesAction.def

    rab2ebe1 r6ba9ba  
    1212// i.e. there is an integer with variable name Z that can be found in
    1313// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     14// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1515#undef paramtypes
    1616#undef paramtokens
  • src/Actions/SelectionAction/Molecules/NotMoleculeByFormulaAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (std::string)
    1717#define paramtokens ("unselect-molecules-by-formula")
  • src/Actions/SelectionAction/Molecules/NotMoleculeByIdAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (moleculeId_t)
    1717#define paramtokens ("unselect-molecule-by-id")
  • src/Actions/SelectionAction/Molecules/NotMoleculeByNameAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (std::string)
    1717#define paramtokens ("unselect-molecules-by-name")
  • src/Actions/SelectionAction/Molecules/NotMoleculeByOrderAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (int)
    1717#define paramtokens ("unselect-molecule-by-order")
  • src/Actions/SelectionAction/Molecules/NotMoleculeOfAtomAction.def

    rab2ebe1 r6ba9ba  
    1212// i.e. there is an integer with variable name Z that can be found in
    1313// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     14// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1515#undef paramtypes
    1616#undef paramtokens
  • src/Actions/TesselationAction/ConvexEnvelopeAction.def

    rab2ebe1 r6ba9ba  
    1414// i.e. there is an integer with variable name Z that can be found in
    1515// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     16// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1717#define paramtypes (boost::filesystem::path)(boost::filesystem::path)
    1818#define paramtokens ("convex-file")("nonconvex-file")
  • src/Actions/TesselationAction/NonConvexEnvelopeAction.def

    rab2ebe1 r6ba9ba  
    1515// i.e. there is an integer with variable name Z that can be found in
    1616// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    17 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     17// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1818#define paramtypes (double)(boost::filesystem::path)
    1919#define paramtokens ("nonconvex-envelope")("nonconvex-file")
  • src/Actions/UndoAction.def

    rab2ebe1 r6ba9ba  
    1212// i.e. there is an integer with variable name Z that can be found in
    1313// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     14// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1515#undef paramtypes
    1616#undef paramreferences
  • src/Actions/WorldAction/AddEmptyBoundaryAction.def

    rab2ebe1 r6ba9ba  
    1515// i.e. there is an integer with variable name Z that can be found in
    1616// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    17 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     17// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1818#define paramtypes (Vector)
    1919#define paramtokens ("add-empty-boundary")
  • src/Actions/WorldAction/BoundInBoxAction.def

    rab2ebe1 r6ba9ba  
    1515// i.e. there is an integer with variable name Z that can be found in
    1616// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    17 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     17// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1818#undef paramtypes
    1919#undef paramtokens
  • src/Actions/WorldAction/CenterInBoxAction.def

    rab2ebe1 r6ba9ba  
    1515// i.e. there is an integer with variable name Z that can be found in
    1616// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    17 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     17// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1818#define paramtypes (RealSpaceMatrix)
    1919#define paramtokens ("center-in-box")
  • src/Actions/WorldAction/CenterOnEdgeAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#undef paramtypes
    1717#undef paramtokens
  • src/Actions/WorldAction/ChangeBoxAction.def

    rab2ebe1 r6ba9ba  
    1515// i.e. there is an integer with variable name Z that can be found in
    1616// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    17 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     17// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1818#define paramtypes (RealSpaceMatrix)
    1919#define paramtokens ("change-box")
  • src/Actions/WorldAction/InputAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (boost::filesystem::path)
    1717#define paramtokens ("input")
  • src/Actions/WorldAction/OutputAction.def

    rab2ebe1 r6ba9ba  
    1515// i.e. there is an integer with variable name Z that can be found in
    1616// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    17 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     17// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1818#define paramtypes (boost::filesystem::path)
    1919#define paramtokens ("output")
  • src/Actions/WorldAction/RepeatBoxAction.def

    rab2ebe1 r6ba9ba  
    1919// i.e. there is an integer with variable name Z that can be found in
    2020// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    21 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     21// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    2222#define paramtypes (std::vector< unsigned int >)
    2323#define paramtokens ("repeat-box")
  • src/Actions/WorldAction/ScaleBoxAction.def

    rab2ebe1 r6ba9ba  
    1414// i.e. there is an integer with variable name Z that can be found in
    1515// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    16 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     16// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1717#define paramtypes (Vector)
    1818#define paramtokens ("scale-box")
  • src/Actions/WorldAction/SetBoundaryConditionsAction.def

    rab2ebe1 r6ba9ba  
    1515// i.e. there is an integer with variable name Z that can be found in
    1616// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    17 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     17// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1818#define paramtypes (std::vector< std::string >)
    1919#define paramtokens ("set-boundary-conditions")
  • src/Actions/WorldAction/SetDefaultNameAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (std::string)
    1717#define paramtokens ("default-molname")
  • src/Actions/WorldAction/SetWorldTimeAction.def

    rab2ebe1 r6ba9ba  
    1313// i.e. there is an integer with variable name Z that can be found in
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1616#define paramtypes (unsigned int)
    1717#define paramtokens ("set-world-time")
    1818#define paramdescriptions ("new time step")
    19 #define paramdefaults ("0")
     19#define paramdefaults (PARAM_DEFAULT(0))
    2020#define paramreferences (newtime)
    2121#define paramvalids \
  • src/Parameters/Validators/Specific/TimeStepPresentValidator.cpp

    rab2ebe1 r6ba9ba  
    3636  }
    3737
    38   return (_value < maxTime);
     38  return (_value <= maxTime);
    3939}
    4040
Note: See TracChangeset for help on using the changeset viewer.