.TH "RsbLib" 3 "Version 1.3.0.2" "librsb" \" -*- nroff -*- .ad l .nh .SH NAME RsbLib \- Class initializing/finalizing \fClibrsb\fP state\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBRSBP_RVT\fP \fBErr_t\fP \fBset_opt_str\fP (\fBconst\fP \fBrsb_char_t\fP *\fBopnp\fP, \fBconst\fP \fBrsb_char_t\fP *\fBopvp\fP)" .br .ti -1c .RI "\fBRSBP_RVT\fP \fBErr_t\fP \fBset_opt\fP (\fBenum\fP \fBrsb_opt_t\fP \fBiof\fP, \fBconst\fP \fBvoid\fP *\fBiop\fP)" .br .ti -1c .RI "\fBRSBP_RVT\fP \fBErr_t\fP \fBget_opt\fP (\fBenum\fP \fBrsb_opt_t\fP \fBiof\fP, \fBvoid\fP *\fBiop\fP) \fBconst\fP" .br .ti -1c .RI "\fBrsb_string_t\fP \fBget_opt\fP (\fBenum\fP \fBrsb_opt_t\fP \fBiof\fP) \fBconst\fP" .br .ti -1c .RI "\fBRSBP_RVT\fP \fBErr_t\fP \fBset_num_threads\fP (\fBrsb_int_t\fP \fBnt\fP)" .br .ti -1c .RI "\fBrsb_int_t\fP \fBget_num_threads\fP (\fBvoid\fP) \fBconst\fP" .br .ti -1c .RI "\fBRSBP_RVT\fP \fBErr_t\fP \fBreinit\fP (\fBstruct\fP \fBrsb_initopts\fP *\fBiop\fP)" .br .ti -1c .RI "\fBRSBP_DEPRECATED\fP \fBRsbLib\fP (\fBbool\fP \fBverbose\fP)" .br .ti -1c .RI "\fBRsbLib\fP (\fBvoid\fP)" .br .ti -1c .RI "\fBsize_t\fP \fBmeminfo\fP (\fBvoid\fP)" .br .ti -1c .RI "\fB~RsbLib\fP (\fBvoid\fP)" .br .in -1c .SH "Detailed Description" .PP Class initializing/finalizing \fClibrsb\fP state\&. Before creating any \fC\fBRsbMatrix\fP\fP objects, make sure you have initialized \fClibrsb\fP by creating one single \fC\fBRsbLib\fP\fP object\&. Similarly, \fC\fBRsbMatrix\fP\fP object shall leave scope after the \fC\fBRsbLib\fP\fP object has been deallocated\&. .PP Several \fClibrsb\fP options can be queried or changed via e\&.g\&. \fBget_opt()\fP, \fBset_opt()\fP, \fBget_num_threads()\fP, \fBset_num_threads()\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "\fBRSBP_DEPRECATED\fP RsbLib::RsbLib (\fBbool\fP verbose)\fC [inline]\fP" Initialize librsb\&. .PP \fBSee also\fP .RS 4 \fBrsb_lib_reinit()\fP\&. .RE .PP .SS "RsbLib::RsbLib (\fBvoid\fP)\fC [inline]\fP" Initialize librsb\&. .PP \fBSee also\fP .RS 4 \fBrsb_lib_reinit()\fP\&. .RE .PP .SS "RsbLib::~RsbLib (\fBvoid\fP)\fC [inline]\fP" Destructor: finalize \fClibrsb\fP\&. .PP This is being invoked at the end of the scope of a \fC\fBRsbLib\fP\fP object: typically at application's end\&. .SH "Member Function Documentation" .PP .SS "\fBrsb_int_t\fP RsbLib::get_num_threads (\fBvoid\fP) const\fC [inline]\fP" Indirect interface to rsb_lib_get_opt\&. .SS "\fBrsb_string_t\fP RsbLib::get_opt (\fBenum\fP \fBrsb_opt_t\fP iof) const\fC [inline]\fP" Interface to rsb_lib_get_opt\&. .PP \fBWarning\fP .RS 4 Only RSB_IO_WANT_MEMORY_HIERARCHY_INFO_STRING is supported for now\&. .RE .PP .SS "\fBRSBP_RVT\fP \fBErr_t\fP RsbLib::get_opt (\fBenum\fP \fBrsb_opt_t\fP iof, \fBvoid\fP * iop) const\fC [inline]\fP" Interface to rsb_lib_get_opt\&. .SS "\fBsize_t\fP RsbLib::meminfo (\fBvoid\fP)\fC [inline]\fP" Provide memory debug info from librsb and return usage amount\&. Only effective if librsb configured accordingly\&. .PP On error, throw an exception\&. .SS "\fBRSBP_RVT\fP \fBErr_t\fP RsbLib::reinit (\fBstruct\fP \fBrsb_initopts\fP * iop)\fC [inline]\fP" Interface to \fBrsb_lib_reinit()\fP\&. .SS "\fBRSBP_RVT\fP \fBErr_t\fP RsbLib::set_num_threads (\fBrsb_int_t\fP nt)\fC [inline]\fP" Indirect interface to rsb_lib_set_opt\&. .SS "\fBRSBP_RVT\fP \fBErr_t\fP RsbLib::set_opt (\fBenum\fP \fBrsb_opt_t\fP iof, \fBconst\fP \fBvoid\fP * iop)\fC [inline]\fP" Interface to rsb_lib_set_opt\&. .SS "\fBRSBP_RVT\fP \fBErr_t\fP RsbLib::set_opt_str (\fBconst\fP \fBrsb_char_t\fP * opnp, \fBconst\fP \fBrsb_char_t\fP * opvp)\fC [inline]\fP" Interface to rsb_lib_set_opt_str\&. .SH "Author" .PP Generated automatically by Doxygen for librsb from the source code\&.