41 { _result=r._result; }
42 operator T&() { update();
return _result; };
43 T* operator ->() { update();
return &_result; };
44 T& result() { update();
return _result; };
45 T& result_noupdate() {
return _result; };
46 const T& result_noupdate()
const {
return _result; };
47 void operator=(
const T& a) { _result = a; }
49 { ResultInfo::operator=(r); _result = r._result; };
61 { _result=r._result; }
62 operator T&() { update();
return _result; };
63 T& result() { update();
return _result; };
64 T& result_noupdate() {
return _result; };
65 const T& result_noupdate()
const {
return _result; };
66 void operator=(
const T& a) { _result = a; }
68 { ResultInfo::operator=(r); _result = r._result; };
80 { _result=r._result; }
81 operator T&() { update();
return _result; };
82 T* operator ->() { update();
return &_result; };
83 T& result() { update();
return _result; };
84 T& result_noupdate() {
return _result; };
85 const T& result_noupdate()
const {
return _result; };
86 void operator=(
const T& a) { _result = a; }
88 { AccResultInfo::operator=(r); _result = r._result; };
90 AccResultInfo::restore_state(s);
94 AccResultInfo::save_data_state(s);
108 { _result=r._result; }
109 operator T&() { update();
return _result; };
110 T* operator ->() { update();
return &_result; };
111 T& result() { update();
return _result; };
112 T& result_noupdate() {
return _result; };
113 const T& result_noupdate()
const {
return _result; };
114 void operator=(
const T& a) { _result = a; }
116 { AccResultInfo::operator=(r); _result = r._result; };
117 void restore_state(
StateIn&s) {
118 AccResultInfo::restore_state(s);
119 _result.restore_state(s);
123 AccResultInfo::save_data_state(s);
124 _result.save_data_state(s);
137 { _result=r._result; }
138 operator T&() { update();
return _result; };
139 T& result() { update();
return _result; };
140 T& result_noupdate() {
return _result; };
141 const T& result_noupdate()
const {
return _result; };
142 void operator=(
const T& a) { _result = a; }
144 { AccResultInfo::operator=(r); _result = r._result; };
145 void restore_state(
StateIn&s) {
146 AccResultInfo::restore_state(s);
151 AccResultInfo::save_data_state(s);
This is like ResultInfo but the accuracy with which a result was computed as well as the desired accu...
Definition: compute.h:112
This associates a result datum with an accuracy.
Definition: comptmpl.h:74
Restores objects that derive from SavableState.
Definition: statein.h:70
This is a base class for all of Compute's result types.
Definition: compute.h:84
This associates a result datum with an accuracy.
Definition: comptmpl.h:102
Serializes objects that derive from SavableState.
Definition: stateout.h:61
The Compute class provides a means of keeping results up to date.
Definition: compute.h:55
This associates a result non-class datum with an accuracy.
Definition: comptmpl.h:131
virtual int put(const ClassDesc *)
Write out information about the given ClassDesc.
Result are members of Compute specializations that keep track of whether or not a particular result s...
Definition: comptmpl.h:35
This is similar to Result, but can be used with non-class types.
Definition: comptmpl.h:55
virtual int get(const ClassDesc **)
This restores ClassDesc's.
Generated at Sun Jan 26 2020 23:33:03 for MPQC
2.3.1 using the documentation package Doxygen
1.8.16.