Classes | Enumerations | Functions | Variables

Utils Namespace Reference

Usefull classes and methods. More...

Classes

class  AutoPtr
 std::auto_ptr analogue with ability to delete object by object's method. More...
struct  ConstMethodResolver
 Returns pointer to the mutable method of the class. More...
struct  ConstMethodResolver< const T >
 Returns pointer to the const method of the class. More...
class  Emptily
 Represents entity with two states - initialized and not initialized. More...
class  EmptyValue
 Class for empty value. More...
class  EncryptionException
 Exception related to encryption. More...
class  Exception
 Generic application exception. More...
class  Guard
 This template class employs a C++ idiom (described by Bjarne Stroustrup) that uses the constructor to acquire a resource automatically when an object of the class is created and uses the destructor to release the resource automatically when it goes out of scope. More...
class  InvalidParameterException
 Invalid parameter Exception. More...
class  NullableValue
 Represents entity with three states - undefined, empty and assigned. More...
class  ReferenceCounter
 A generic reference counter. More...
class  StringUtils< char >
 Incapsulates ASCII string processing methods. More...
class  StringUtils< wchar_t >
 Incapsulates Unicode string processing methods. More...
class  UndefinedValue
 Class for undefined value. More...
class  Unlocker
 Used to temporary unlock mutex Unlocker<Mutex> unlocker (lock_); // guard constructor releases m_lock. More...
class  UnsupportedEncryptionException
 Unsupported encryption method exception. More...

Enumerations

enum  ValueState { vsUndefined, vsEmpty, vsAssigned }
 

Enumerates state of the NullableValue.

More...

Functions

template<typename T >
std::ostream & operator<< (std::ostream &s, const Emptily< T > &rv)
template<class Elem , class Traits , typename T >
std::basic_ostream< Elem,
Traits > & 
operator<< (std::basic_ostream< Elem, Traits > &s, const NullableValue< T > &rv)

Variables

EmptyValue empty
 Represents empty value.
UndefinedValue undefined
 Represents undefined value.

Detailed Description

Usefull classes and methods.


Enumeration Type Documentation

Enumerates state of the NullableValue.

Enumerator:
vsUndefined 
vsEmpty 
vsAssigned 

Definition at line 59 of file B2BITS_NullableValue.h.


Function Documentation

template<typename T >
std::ostream& Utils::operator<< ( std::ostream &  s,
const Emptily< T > &  rv 
) [inline]

Definition at line 274 of file B2BITS_Emptily.h.

template<class Elem , class Traits , typename T >
std::basic_ostream<Elem, Traits>& Utils::operator<< ( std::basic_ostream< Elem, Traits > &  s,
const NullableValue< T > &  rv 
) [inline]

Definition at line 294 of file B2BITS_NullableValue.h.


Variable Documentation

Represents empty value.

Represents undefined value.