Back to index

salome-med  6.5.0
Public Member Functions | Protected Member Functions
MED::MEDWRAPPER_EXPORT< TWrapper > Protocol Template Reference

To specialize the SharedPtr for TWrapper. More...

#include <MED_Wrapper.hxx>

Inheritance diagram for MED::MEDWRAPPER_EXPORT< TWrapper >:
Inheritance graph
[legend]
Collaboration diagram for MED::MEDWRAPPER_EXPORT< TWrapper >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SharedPtr ()
template<class Y >
 SharedPtr (Y *p)
template<class Y >
 SharedPtr (SharedPtr< Y > const &r)
template<class Y >
SharedPtroperator= (SharedPtr< Y > const &r)
template<class Y >
SharedPtroperator() (Y *p)
template<class Y >
SharedPtroperator() (SharedPtr< Y > const &r)
TLockProxy operator-> () const

Protected Member Functions

 operator const TWrapper & () const
 operator TWrapper & ()
TWrapperoperator* () const
TWrapperget () const

Detailed Description

template<>
protocol MED::MEDWRAPPER_EXPORT< TWrapper >

To specialize the SharedPtr for TWrapper.

Definition at line 934 of file MED_Wrapper.hxx.


Member Function Documentation

TWrapper* MED::MEDWRAPPER_EXPORT< TWrapper >::get ( ) const [inline, protected]

Definition at line 983 of file MED_Wrapper.hxx.

    {
      return boost::shared_ptr<TWrapper>::get();
    }
MED::MEDWRAPPER_EXPORT< TWrapper >::operator const TWrapper & ( ) const [protected]
MED::MEDWRAPPER_EXPORT< TWrapper >::operator TWrapper & ( ) [protected]
template<class Y >
SharedPtr& MED::MEDWRAPPER_EXPORT< TWrapper >::operator() ( Y *  p) [inline]

Definition at line 959 of file MED_Wrapper.hxx.

    {
      return operator=<Y>(SharedPtr<Y>(p));
    }
template<class Y >
SharedPtr& MED::MEDWRAPPER_EXPORT< TWrapper >::operator() ( SharedPtr< Y > const &  r) [inline]

Definition at line 966 of file MED_Wrapper.hxx.

    {
      return operator=<Y>(SharedPtr<Y>(r));
    }
TWrapper& MED::MEDWRAPPER_EXPORT< TWrapper >::operator* ( ) const [protected]
TLockProxy MED::MEDWRAPPER_EXPORT< TWrapper >::operator-> ( ) const [inline]

Definition at line 971 of file MED_Wrapper.hxx.

    {
      return TLockProxy(this->get());
    }

Here is the call graph for this function:

template<class Y >
SharedPtr& MED::MEDWRAPPER_EXPORT< TWrapper >::operator= ( SharedPtr< Y > const &  r) [inline]

Definition at line 951 of file MED_Wrapper.hxx.

    {
      boost::shared_ptr<TWrapper>(r,boost::detail::dynamic_cast_tag()).swap(*this);
      return *this;
    }

Here is the call graph for this function:

Definition at line 937 of file MED_Wrapper.hxx.

{}
template<class Y >
MED::MEDWRAPPER_EXPORT< TWrapper >::SharedPtr ( Y *  p) [inline, explicit]

Definition at line 940 of file MED_Wrapper.hxx.

                             : 
      boost::shared_ptr<TWrapper>(p) 
    {}
template<class Y >
MED::MEDWRAPPER_EXPORT< TWrapper >::SharedPtr ( SharedPtr< Y > const &  r) [inline]

Definition at line 945 of file MED_Wrapper.hxx.

                                     :
      boost::shared_ptr<TWrapper>(r,boost::detail::dynamic_cast_tag())
    {}

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