.TH "sc::BcastStateInBin" 3 "Sun Oct 4 2020" "Version 2.3.1" "MPQC" \" -*- nroff -*- .ad l .nh .SH NAME sc::BcastStateInBin \- BcastStateBin reads a file in written by \fBStateInBin\fP on node 0 and broadcasts it to all nodes so state can be simultaneously restored on all nodes\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBsc::MsgStateBufRecv\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBBcastStateInBin\fP (const \fBRef\fP< \fBKeyVal\fP > &)" .br .RI "Create the \fBBcastStateRecv\fP using the default \fBMessageGrp\fP\&. " .ti -1c .RI "\fBBcastStateInBin\fP (const \fBRef\fP< \fBMessageGrp\fP > &, const char *filename)" .br .RI "Create the \fBBcastStateRecv\fP\&. " .ti -1c .RI "virtual int \fBopen\fP (const char *name)" .br .ti -1c .RI "virtual void \fBclose\fP ()" .br .ti -1c .RI "void \fBseek\fP (int loc)" .br .RI "Set the current position in the file\&. " .ti -1c .RI "int \fBseekable\fP ()" .br .RI "Return non-zero if seek does anything sensible\&. " .ti -1c .RI "int \fBtell\fP ()" .br .RI "Return the current position in the file\&. " .ti -1c .RI "int \fBuse_directory\fP ()" .br .RI "Returns true of this object uses a directory\&. " .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "void \fBnext_buffer\fP ()" .br .RI "Specializations must implement \fBnext_buffer()\fP\&. " .ti -1c .RI "int \fBget_array_void\fP (void *, int)" .br .in -1c .SS "Protected Attributes" .in +1c .ti -1c .RI "int \fBopened_\fP" .br .ti -1c .RI "int \fBfile_position_\fP" .br .ti -1c .RI "std::streambuf * \fBbuf_\fP" .br .in -1c .SH "Detailed Description" .PP BcastStateBin reads a file in written by \fBStateInBin\fP on node 0 and broadcasts it to all nodes so state can be simultaneously restored on all nodes\&. .SH "Member Function Documentation" .PP .SS "void sc::BcastStateInBin::seek (int)\fC [virtual]\fP" .PP Set the current position in the file\&. The default implementation does nothing\&. .PP Reimplemented from \fBsc::StateIn\fP\&. .SS "int sc::BcastStateInBin::seekable ()\fC [virtual]\fP" .PP Return non-zero if seek does anything sensible\&. The default implementation returns 0\&. .PP Reimplemented from \fBsc::StateIn\fP\&. .SH "Author" .PP Generated automatically by Doxygen for MPQC from the source code\&.