40class ProvidesCheckpointable
43 bool isCheckpointable()
const {
return checkpointable_; }
45 void toString(std::ostream& os)
const
47 os <<
" Checkpointable: " << (checkpointable_ ?
"true" :
"false") <<
"\n";
50 template <
class XMLNode>
51 void outputXML(XMLNode* UNUSED(node))
53 node->SetAttribute(
"Checkpointable", checkpointable_);
58 explicit ProvidesCheckpointable(T* UNUSED(t)) :
59 checkpointable_(GetCheckpointable<T>::get())