torc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
torc::generic::_impl::Copier< _Tp > Class Template Reference

#include <Cloning.hpp>

Public Types

typedef _Tp Type
 
typedef boost::shared_ptr< TypePointer
 

Public Member Functions

Pointer operator() (const Pointer &inSource, const ObjectFactorySharedPtr &inFactory) throw (Error)
 
 Copier ()
 
 ~Copier () throw ()
 

Private Attributes

ObjectFactorySharedPtr mFactory
 
Pointer mReturnVal
 
ViewSharedPtr mView
 

Detailed Description

template<typename _Tp>
class torc::generic::_impl::Copier< _Tp >

Definition at line 57 of file Cloning.hpp.

Member Typedef Documentation

template<typename _Tp >
typedef boost::shared_ptr<Type> torc::generic::_impl::Copier< _Tp >::Pointer

Definition at line 100 of file Cloning.hpp.

template<typename _Tp >
typedef _Tp torc::generic::_impl::Copier< _Tp >::Type

Definition at line 99 of file Cloning.hpp.

Constructor & Destructor Documentation

template<typename _Tp >
torc::generic::_impl::Copier< _Tp >::Copier ( )
inline

Definition at line 111 of file Cloning.hpp.

111  : mFactory(), mReturnVal(), mView() {
112  }
ObjectFactorySharedPtr mFactory
Definition: Cloning.hpp:118
template<typename _Tp >
torc::generic::_impl::Copier< _Tp >::~Copier ( )
throw (
)
inline

Definition at line 114 of file Cloning.hpp.

114  {
115  }

Member Function Documentation

template<typename _Tp >
Pointer torc::generic::_impl::Copier< _Tp >::operator() ( const Pointer inSource,
const ObjectFactorySharedPtr inFactory 
)
throw (Error
)
inline

Definition at line 104 of file Cloning.hpp.

105  {
106  mFactory = inFactory;
107  throw Error(eMessageIdErrorUnsupoortedOperation, __FUNCTION__, __FILE__, __LINE__);
108  return mReturnVal;
109  }
ObjectFactorySharedPtr mFactory
Definition: Cloning.hpp:118

Field Documentation

template<typename _Tp >
ObjectFactorySharedPtr torc::generic::_impl::Copier< _Tp >::mFactory
private

Definition at line 118 of file Cloning.hpp.

template<typename _Tp >
Pointer torc::generic::_impl::Copier< _Tp >::mReturnVal
private

Definition at line 119 of file Cloning.hpp.

template<typename _Tp >
ViewSharedPtr torc::generic::_impl::Copier< _Tp >::mView
private

Definition at line 120 of file Cloning.hpp.


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