plastimatch
Loading...
Searching...
No Matches
plm_macros.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _plm_macros_h_
5#define _plm_macros_h_
6
7/* Nb. Doxygen values are substituted in PREDEFINED value of Doxyfile.in */
8
9#define PLM_GET_SET(type, name) \
10 const type& get_##name () const; \
11 void set_##name (const type&)
12
13#define PLM_GET(type, name) \
14 type get_##name () const
15
16#define PLM_GET_CR(type, name) \
17 const type& get_##name () const
18
19#define PLM_SET(type, name) \
20 void set_##name (type)
21
22#define PLM_SET_CR(type, name) \
23 void set_##name (const type&)
24
25#endif