Last change
on this file since 23b6cf was 649aaa, checked in by Frederik Heber <heber@…>, 13 years ago |
All Actions' .def files now have a paramvalids that is used to for validators of their Parameters.
- the structure ActionParameters contains Parameter<> instances per required
parameter of the Action.
- these Parameter<> contain a validation functionality if given a Validator.
- right now via boost::preprocessor magic (new defines valid_print and
validcopy_print) we create the cstor of the derived ActionParameters class
and create a DummyValidator of the correct type for each parameter.
- TODO: We have to go through each .def file and replace DummyValidator by the
correct Validator.
- added src/Actions/test.sh which is the shell script to make these changes.
|
-
Property mode
set to
100644
|
File size:
463 bytes
|
Rev | Line | |
---|
[949953] | 1 | /*
|
---|
| 2 | * Action_impl_undef.hpp
|
---|
| 3 | *
|
---|
| 4 | * Created on: Sep 25, 2011
|
---|
| 5 | * Author: heber
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | // include config.h
|
---|
| 9 | #ifdef HAVE_CONFIG_H
|
---|
| 10 | #include <config.h>
|
---|
| 11 | #endif
|
---|
| 12 |
|
---|
[649aaa] | 13 | #undef paramvalids
|
---|
[949953] | 14 | #undef paramtypes
|
---|
| 15 | #undef paramtokens
|
---|
[649aaa] | 16 | #undef paramreferences
|
---|
[949953] | 17 | #undef paramdescriptions
|
---|
| 18 | #undef paramdefaults
|
---|
| 19 |
|
---|
| 20 | #undef statetypes
|
---|
| 21 | #undef statereferences
|
---|
| 22 |
|
---|
[6aa485] | 23 | #undef returntype
|
---|
| 24 |
|
---|
[949953] | 25 | #undef CATEGORY
|
---|
| 26 | #undef MENUNAME
|
---|
| 27 | #undef MENUPOSITION
|
---|
| 28 | #undef ACTIONNAME
|
---|
| 29 | #undef TOKEN
|
---|
| 30 |
|
---|
| 31 | #undef DESCRIPTION
|
---|
| 32 | #undef SHORTFORM
|
---|
Note:
See
TracBrowser
for help on using the repository browser.