Back to index

salome-geom  6.5.0
Functions
Handle_BlockFix_BlockFixAPI.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 (BlockFix_BlockFixAPI)
class Handle (BlockFix_BlockFixAPI)

Function Documentation

class Handle ( MMgt_TShared  )

Definition at line 43 of file Handle_BlockFix_BlockFixAPI.hxx.

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

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

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

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

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

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

   Standard_EXPORT ~Handle(BlockFix_BlockFixAPI)();

   Standard_EXPORT static const Handle(BlockFix_BlockFixAPI) DownCast(const Handle(Standard_Transient)& AnObject);
};

Here is the call graph for this function:

Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE ( BlockFix_BlockFixAPI  )