plastimatch
Loading...
Searching...
No Matches
plm_macros.h File Reference

Go to the source code of this file.

Macros

#define PLM_GET_SET(type, name)
 
#define PLM_GET(type, name)    type get_##name () const
 
#define PLM_GET_CR(type, name)    const type& get_##name () const
 
#define PLM_SET(type, name)    void set_##name (type)
 
#define PLM_SET_CR(type, name)    void set_##name (const type&)
 

Macro Definition Documentation

◆ PLM_GET

#define PLM_GET ( type,
name )    type get_##name () const

◆ PLM_GET_CR

#define PLM_GET_CR ( type,
name )    const type& get_##name () const

◆ PLM_GET_SET

#define PLM_GET_SET ( type,
name )
Value:
const type& get_##name () const; \
void set_##name (const type&)

◆ PLM_SET

#define PLM_SET ( type,
name )    void set_##name (type)

◆ PLM_SET_CR

#define PLM_SET_CR ( type,
name )    void set_##name (const type&)