Back to index

salome-gui  6.5.0
Functions
Handle_SALOME_Filter.hxx File Reference
#include <Standard_Macro.hxx>
#include <Standard.hxx>
#include <Handle_MMgt_TShared.hxx>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

class Handle (MMgt_TShared)
Standard_EXPORT
Handle_Standard_Type & 
STANDARD_TYPE (SALOME_Filter)
class Handle (SALOME_Filter)

Function Documentation

class Handle ( MMgt_TShared  )
class Handle ( SALOME_Filter  )

Definition at line 55 of file Handle_SALOME_Filter.hxx.

                            : public Handle(MMgt_TShared) {
  public:
    inline void* operator new(size_t,void* anAddress) 
      {
        return anAddress;
      }
    inline void* operator new(size_t size) 
      { 
        return Standard::Allocate(size); 
      }
    inline void  operator delete(void *anAddress) 
      { 
        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
      }
//    inline void  operator delete(void *anAddress, size_t size) 
//      { 
//        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
//      }
    Handle(SALOME_Filter)():Handle(MMgt_TShared)() {} 
    Handle(SALOME_Filter)(const Handle(SALOME_Filter)& aHandle) : Handle(MMgt_TShared)(aHandle) 
     {
     }

    Handle(SALOME_Filter)(const SALOME_Filter* anItem) : Handle(MMgt_TShared)((MMgt_TShared *)anItem) 
     {
     }

    Handle(SALOME_Filter)& operator=(const Handle(SALOME_Filter)& aHandle)
     {
      Assign(aHandle.Access());
      return *this;
     }

    Handle(SALOME_Filter)& operator=(const SALOME_Filter* anItem)
     {
      Assign((Standard_Transient *)anItem);
      return *this;
     }

    SALOME_Filter* operator->() 
     {
      return (SALOME_Filter *)ControlAccess();
     }

    SALOME_Filter* operator->() const 
     {
      return (SALOME_Filter *)ControlAccess();
     }

   Standard_EXPORT ~Handle(SALOME_Filter)();
 
   Standard_EXPORT static const Handle(SALOME_Filter) DownCast(const Handle(Standard_Transient)& AnObject);
};
Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE ( SALOME_Filter  )