Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
Macros.h File Reference
#include <gii/qt/Namespace.h>
Include dependency graph for gii/qt/Macros.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SF_DECL_INFO_ID(Name)
 Declaration of ID handling functions for Information ID properties.
 
#define SF_IMPL_INFO_ID(Class, Name, Instance)
 Implementations of ID handling functions for Information ID properties.
 

Macro Definition Documentation

◆ SF_DECL_INFO_ID

#define SF_DECL_INFO_ID (   Name)
Value:
[[nodiscard]] gii::IdType get##Name() const; \
void set##Name(gii::IdType id);

Declaration of ID handling functions for Information ID properties.

See also
SF_IMPL_INFO_ID

◆ SF_IMPL_INFO_ID

#define SF_IMPL_INFO_ID (   Class,
  Name,
  Instance 
)
Value:
gii::IdType Class::get##Name() const \
{ \
return (Instance).getDesiredId(); \
} \
\
void Class::set##Name(gii::IdType id) \
{ \
(Instance).setup(id, true); \
}

Implementations of ID handling functions for Information ID properties.

See also
SF_DECL_INFO_ID