Classes | |
| class | Fd |
Assert close called on open filedescriptor. More... | |
| class | LogControl |
| Maintain logfile related options. More... | |
| struct | ProfilingFormater |
| struct | ProvideNumericId |
| Base class for objects providing a numeric Id. More... | |
| class | ReferenceCounted |
| Base class for reference counted objects. More... | |
| struct | SafeBool |
| Validate objects in a boolean context without harmful side effects. More... | |
| class | UniqueString |
| Immutable strings with unique representation in memory. More... | |
| class | Unit |
| Simple handling of Units. More... | |
Namespaces | |
| namespace | logger |
| namespace | safebool_detail |
| namespace | sysconfig |
Typedefs | |
| typedef boost::noncopyable | NonCopyable |
| Ensure derived classes cannot be copied. | |
Functions | |
| std::ostream & | operator<< (std::ostream &str, const LogControl &obj) |
| int | random_int () |
| std::string | random_string (int length) |
| unsigned | random () |
Return a random number from [0,RAND_MAX[. | |
| unsigned | random (unsigned size_r) |
Return a random number from [0,size_r[. | |
| unsigned | random (unsigned min_r, unsigned size_r) |
Return a random number from [min_r,min_r+size_r[. | |
| typedef boost::noncopyable zypp::base::NonCopyable |
Ensure derived classes cannot be copied.
Use private inheritance.
Definition at line 26 of file NonCopyable.h.
| std::ostream& zypp::base::operator<< | ( | std::ostream & | str, | |
| const LogControl & | obj | |||
| ) |
Definition at line 420 of file LogControl.cc.
| int zypp::base::random_int | ( | ) |
Definition at line 13 of file Random.cc.
References zypp::base::sysconfig::read().
Referenced by random().
| std::string zypp::base::random_string | ( | int | length | ) |
| unsigned zypp::base::random | ( | ) | [inline] |
Return a random number from [0,RAND_MAX[.
Definition at line 28 of file Random.h.
References random_int().
Referenced by random(), and random_string().
| unsigned zypp::base::random | ( | unsigned | size_r | ) | [inline] |
Return a random number from [0,size_r[.
Definition at line 33 of file Random.h.
References random_int().
| unsigned zypp::base::random | ( | unsigned | min_r, | |
| unsigned | size_r | |||
| ) | [inline] |
1.5.3