1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-06 18:26:22 +03:00
occt/src/QANCollection/QANCollection.hxx
abv e8862cf41a 0024870: Provide OCCT RTTI test cases
Test commands for checking performance and functionality of OCCT handles and RTTI added.
New test case added for that: test perf fclasses handle.

Implementation of opencascade::handle improved to enable compile-time error if two handles of incompatible types are compared.
Comparison of handle to NULL is not possible any more; method IsNull() should be used instead.

Method LDOM_MemManager::Doc() is removed to avoid cyclic dependency of headers; constructor of LDOM_Document(LDOM_MemManager&) is used directly instead.

Inclusion of headers corrected for compilation after previous patch.
2015-07-12 12:30:27 +03:00

55 lines
1.4 KiB
C++

// Created on: 2004-03-05
// Created by: Mikhail KUZMITCHEV
// Copyright (c) 2004-2014 OPEN CASCADE SAS
//
// 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 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.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _QANCollection_HeaderFile
#define _QANCollection_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx>
#include <Draw_Interpretor.hxx>
class QANCollection
{
public:
DEFINE_STANDARD_ALLOC
Standard_EXPORT static void Commands (Draw_Interpretor& DI);
Standard_EXPORT static void CommandsTest (Draw_Interpretor& DI);
Standard_EXPORT static void CommandsPerf (Draw_Interpretor& DI);
Standard_EXPORT static void CommandsAlloc (Draw_Interpretor& DI);
Standard_EXPORT static void CommandsStl (Draw_Interpretor& DI);
Standard_EXPORT static void CommandsHandle (Draw_Interpretor& DI);
};
#endif // _QANCollection_HeaderFile