Psi4
Macros
class_macros.h File Reference

Go to the source code of this file.

Macros

#define READ_WRITE_VAR(type, name)
 
#define READ_VAR(type, name)
 

Macro Definition Documentation

#define READ_VAR (   type,
  name 
)
Value:
public: \
type get_name() const {return name;} \
private: \
type name;
#define READ_WRITE_VAR (   type,
  name 
)
Value:
public: \
type get_name() const {return name;} \
void set_name(type _value_) {name = _value_;} \
private: \
type name;