accessors.h File Reference

This graph shows which files directly or indirectly include this file:

Defines

#define accessors(type, var, init)
#define container_accessors(type, var, accesstype, access)
#define singleton_accessors(type, var)
#define init_singleton_var(klasse, var, type, init)   type klasse::_##var = init

Define Documentation

#define accessors ( type,
var,
init   ) 
Value:
private: type _##var; \
  public: inline type get_##var() const { return _##var; }; \
  inline void set_##var(type a) { _##var = a; }; \
  inline void init_##var() { _##var = init; };
#define container_accessors ( type,
var,
accesstype,
access   ) 
Value:
private: type _##var; \
  public: inline type get_##var() const { return _##var; }; \
  inline void set_##var(type a) { _##var = a; }; \
  inline void init_##var() { _##var = init; };
#define init_singleton_var ( klasse,
var,
type,
init   )     type klasse::_##var = init
#define singleton_accessors ( type,
var   ) 
Value:
private: static type _##var; \
  public: static inline type get_##var() { return _##var; }; \
  void static inline set_##var(type a) { _##var = a; };
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2