0022048: Visualization, AIS_InteractiveContext - single object selection should alway...
[occt.git] / src / BinTObjDrivers / BinTObjDrivers_ModelDriver.hxx
index 8f7a001..a6f61a8 100644 (file)
@@ -4,8 +4,8 @@
 //
 // This file is part of Open CASCADE Technology software library.
 //
-// This library is free software; you can redistribute it and / or modify it
-// under the terms of the GNU Lesser General Public version 2.1 as published
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
 // by the Free Software Foundation, with special exception defined in the file
 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
 // distribution for complete text of the license and disclaimer of any warranty.
@@ -30,13 +30,13 @@ class BinTObjDrivers_ModelDriver : public BinMDF_ADriver
                          (const Handle(CDM_MessageDriver)& theMessageDriver);
   // constructor
 
-  Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const;
+  Standard_EXPORT Handle(TDF_Attribute) NewEmpty() const Standard_OVERRIDE;
   // Creates a new attribute
 
   Standard_EXPORT Standard_Boolean Paste
                          (const BinObjMgt_Persistent&  Source,
                           const Handle(TDF_Attribute)& Target,
-                          BinObjMgt_RRelocationTable&  RelocTable) const;
+                          BinObjMgt_RRelocationTable&  RelocTable) const Standard_OVERRIDE;
   // Translate the contents of <aSource> and put it
   // into <aTarget>, using the relocation table
   // <aRelocTable> to keep the sharings.
@@ -46,7 +46,7 @@ class BinTObjDrivers_ModelDriver : public BinMDF_ADriver
   Standard_EXPORT void Paste
                          (const Handle(TDF_Attribute)& Source,
                           BinObjMgt_Persistent&        Target,
-                          BinObjMgt_SRelocationTable&  RelocTable) const;
+                          BinObjMgt_SRelocationTable&  RelocTable) const Standard_OVERRIDE;
   // Translate the contents of <aSource> and put it
   // into <aTarget>, using the relocation table
   // <aRelocTable> to keep the sharings.
@@ -54,7 +54,7 @@ class BinTObjDrivers_ModelDriver : public BinMDF_ADriver
   
  public:
   // CASCADE RTTI
-  DEFINE_STANDARD_RTTI(BinTObjDrivers_ModelDriver)
+  DEFINE_STANDARD_RTTIEXT(BinTObjDrivers_ModelDriver,BinMDF_ADriver)
 };
 
 // Define handle class