Helper macros for FreeCAD properties. More...

Macros

#define PARAM_PROP_ADD(_group, _seq)    BOOST_PP_SEQ_FOR_EACH_I(PARAM_PROP_ADD_TYPED,_group,_seq)
 Add FreeCAD properties. More...
 
#define PARAM_PROP_ARGS(_seq)    PARAM_FOREACH_I(PARAM_PROP_ARGS_,_seq)
 Expand the property list as function arguments. More...
 
#define PARAM_PROP_bool(_param)   App::PropertyBool PARAM_FNAME(_param)
 
#define PARAM_PROP_DECLARE(_seq)    PARAM_FOREACH(PARAM_PROP_DECLARE_,_seq)
 Declare FreeCAD properties. More...
 
#define PARAM_PROP_double(_param)   PARAM_FPROP(_param) PARAM_FNAME(_param)
 
#define PARAM_PROP_enum(_param)   App::PropertyEnumeration PARAM_FNAME(_param)
 
#define PARAM_PROP_enum2(_param)   App::PropertyEnumeration PARAM_FNAME(_param)
 
#define PARAM_PROP_long(_param)   App::PropertyInteger PARAM_FNAME(_param)
 
#define PARAM_PROP_short(_param)   App::PropertyInteger PARAM_FNAME(_param)
 

Detailed Description

Helper macros for FreeCAD properties.

Macro Definition Documentation

◆ PARAM_PROP_ADD

#define PARAM_PROP_ADD (   _group,
  _seq 
)     BOOST_PP_SEQ_FOR_EACH_I(PARAM_PROP_ADD_TYPED,_group,_seq)

Add FreeCAD properties.

◆ PARAM_PROP_ARGS

#define PARAM_PROP_ARGS (   _seq)     PARAM_FOREACH_I(PARAM_PROP_ARGS_,_seq)

Expand the property list as function arguments.

Expand to:

name1.getValue(), name2.getValue() ...

◆ PARAM_PROP_bool

#define PARAM_PROP_bool (   _param)    App::PropertyBool PARAM_FNAME(_param)

◆ PARAM_PROP_DECLARE

#define PARAM_PROP_DECLARE (   _seq)     PARAM_FOREACH(PARAM_PROP_DECLARE_,_seq)

Declare FreeCAD properties.

◆ PARAM_PROP_double

#define PARAM_PROP_double (   _param)    PARAM_FPROP(_param) PARAM_FNAME(_param)

◆ PARAM_PROP_enum

#define PARAM_PROP_enum (   _param)    App::PropertyEnumeration PARAM_FNAME(_param)

◆ PARAM_PROP_enum2

#define PARAM_PROP_enum2 (   _param)    App::PropertyEnumeration PARAM_FNAME(_param)

◆ PARAM_PROP_long

#define PARAM_PROP_long (   _param)    App::PropertyInteger PARAM_FNAME(_param)

◆ PARAM_PROP_short

#define PARAM_PROP_short (   _param)    App::PropertyInteger PARAM_FNAME(_param)