Public Member Functions | Private Member Functions

claw::pattern::non_copyable Class Reference

Inherit from this class to forbid construction of your class by copy. More...

#include <non_copyable.hpp>

Inheritance diagram for claw::pattern::non_copyable:
claw::pattern::basic_singleton< factory< BaseClass, IdentifierType > > claw::console_logger claw::file_logger claw::log_stream_concise claw::log_stream_uniq claw::pattern::basic_singleton< T > claw::pattern::factory< BaseClass, IdentifierType >

List of all members.

Public Member Functions

 non_copyable ()
 Default constructor.

Private Member Functions

 non_copyable (const non_copyable &that)
 Copy constructor is declared private and non implemented.
non_copyableoperator= (const non_copyable &that)
 Assignment operator is declared private and non implemented.

Detailed Description

Inherit from this class to forbid construction of your class by copy.

Author:
Julien Jorge

Definition at line 42 of file non_copyable.hpp.


Constructor & Destructor Documentation

claw::pattern::non_copyable::non_copyable (  ) [inline]

Default constructor.

Definition at line 46 of file non_copyable.hpp.

{}
claw::pattern::non_copyable::non_copyable ( const non_copyable that ) [private]

Copy constructor is declared private and non implemented.

Parameters:
thatInstance to copy from.

Member Function Documentation

non_copyable& claw::pattern::non_copyable::operator= ( const non_copyable that ) [private]

Assignment operator is declared private and non implemented.

Parameters:
thatInstance to copy from.

The documentation for this class was generated from the following file: