.TH "__gnu_cxx::random_condition" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_cxx::random_condition \- Base class for random probability control and throw\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fB__gnu_cxx::condition_base\fP\&. .PP Inherited by \fB__gnu_cxx::throw_allocator_base< _Tp, random_condition >\fP, and \fB__gnu_cxx::throw_value_base< random_condition >\fP\&. .SS "Classes" .in +1c .ti -1c .RI "struct \fBalways_adjustor\fP" .br .RI "Always enter the condition\&. " .ti -1c .RI "struct \fBgroup_adjustor\fP" .br .RI "Group condition\&. " .ti -1c .RI "struct \fBnever_adjustor\fP" .br .RI "Never enter the condition\&. " .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "void \fBseed\fP (unsigned long __s)" .br .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static void \fBset_probability\fP (double __p)" .br .ti -1c .RI "static void \fBthrow_conditionally\fP ()" .br .in -1c .SH "Detailed Description" .PP Base class for random probability control and throw\&. .PP Definition at line \fB502\fP of file \fBthrow_allocator\&.h\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "__gnu_cxx::random_condition::random_condition ()\fC [inline]\fP" .PP Definition at line \fB540\fP of file \fBthrow_allocator\&.h\fP\&. .SH "Member Function Documentation" .PP .SS "void __gnu_cxx::random_condition::seed (unsigned long __s)\fC [inline]\fP" .PP Definition at line \fB558\fP of file \fBthrow_allocator\&.h\fP\&. .SS "static void __gnu_cxx::random_condition::set_probability (double __p)\fC [inline]\fP, \fC [static]\fP" .PP Definition at line \fB547\fP of file \fBthrow_allocator\&.h\fP\&. .SS "static void __gnu_cxx::random_condition::throw_conditionally ()\fC [inline]\fP, \fC [static]\fP" .PP Definition at line \fB551\fP of file \fBthrow_allocator\&.h\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.