summaryrefslogtreecommitdiff
path: root/src/NCollection/NCollection_Handle.cxx
blob: 4ef011b0dcb1e0fac429c8daecb0ef205b3a192b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// File:        NCollection_Handle.cxx
// Created:     Fri Jan 30 15:15:17 2009
// Author:      Andrey BETENEV (abv)
// Copyright:   Open CASCADE 2009

#include <NCollection_Handle.hxx>

// NOTE: OCCT type information functions are defined explicitly
// instead of using macros from Standard_DefineHandle.hxx,
// since class NCollection_Handle is template and this is not supported 
  
static Handle(Standard_Type) aTypeNCollection_Handle = 
       STANDARD_TYPE(NCollection_Handle);

const Handle(Standard_Type)& STANDARD_TYPE(NCollection_Handle)
{
  static Handle(Standard_Transient) _Ancestors[] = 
    { STANDARD_TYPE(Standard_Transient), NULL, };
  static Handle(Standard_Type) _aType = 
    new Standard_Type("NCollection_Handle", 
                      sizeof(NCollection_Handle<Standard_Transient>),
                      1, (Standard_Address)_Ancestors, (Standard_Address)NULL);
  return _aType;
}