stable
        v1.7.0
      
      
      
| Rev | Line |  | 
|---|
| [836972] | 1 | /* | 
|---|
|  | 2 | * GeometryInputToVectorAction.cpp | 
|---|
|  | 3 | * | 
|---|
|  | 4 | *  Created on: Mar 31, 2017 | 
|---|
|  | 5 | *      Author: heber | 
|---|
|  | 6 | */ | 
|---|
|  | 7 |  | 
|---|
|  | 8 | // all includes and forward declarations necessary for non-integral types below | 
|---|
|  | 9 | #include "Parameters/Validators/Specific/PresentGeometryNameValidator.hpp" | 
|---|
|  | 10 |  | 
|---|
|  | 11 | // i.e. there is an integer with variable name Z that can be found in | 
|---|
|  | 12 | // ValueStorage by the token "Z" -> first column: int, Z, "Z" | 
|---|
|  | 13 | // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value | 
|---|
|  | 14 | //#define paramtypes (const element *)(BoxVector) TODO: use a validator | 
|---|
|  | 15 | #define paramtypes (std::string) | 
|---|
|  | 16 | #define paramtokens ("remove-geometry") | 
|---|
|  | 17 | #define paramdescriptions ("name for geometry object to remove") | 
|---|
|  | 18 | #define paramreferences (name) | 
|---|
|  | 19 | #define paramdefaults (NOPARAM_DEFAULT()) | 
|---|
|  | 20 | #define paramvalids \ | 
|---|
|  | 21 | (GeometryNameValidator()) | 
|---|
|  | 22 |  | 
|---|
|  | 23 | #define statetypes (Vector) | 
|---|
|  | 24 | #define statereferences (vec) | 
|---|
|  | 25 |  | 
|---|
|  | 26 | // some defines for all the names, you may use ACTION, STATE and PARAMS | 
|---|
|  | 27 | #define CATEGORY Geometry | 
|---|
|  | 28 | #define MENUNAME "geometry" | 
|---|
|  | 29 | #define MENUPOSITION 5 | 
|---|
|  | 30 | #define ACTIONNAME Remove | 
|---|
|  | 31 | #define TOKEN "remove-geometry" | 
|---|
|  | 32 |  | 
|---|
|  | 33 | // finally the information stored in the ActionTrait specialization | 
|---|
|  | 34 | #define DESCRIPTION "removes a stored geometry object" | 
|---|
|  | 35 | #undef SHORTFORM | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.