38 lines
1.0 KiB
C++
38 lines
1.0 KiB
C++
// Filename: pt_Node.h
|
|
// Created by: drose (16May00)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef PT_NODE_H
|
|
#define PT_NODE_H
|
|
|
|
#include <pandabase.h>
|
|
|
|
// We can't include node.h, because we need to include this in
|
|
// nodeRelation.h.
|
|
|
|
#include <pointerTo.h>
|
|
|
|
class Node;
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
// Class : PT_Node
|
|
// Description : A PT(Node). This is defined here solely we can
|
|
// explicitly export the template class. It's not
|
|
// strictly necessary, but it doesn't hurt.
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
EXPORT_TEMPLATE_CLASS(EXPCL_PANDA, EXPTP_PANDA, PointerToBase<Node>)
|
|
EXPORT_TEMPLATE_CLASS(EXPCL_PANDA, EXPTP_PANDA, PointerTo<Node>)
|
|
EXPORT_TEMPLATE_CLASS(EXPCL_PANDA, EXPTP_PANDA, ConstPointerTo<Node>)
|
|
|
|
typedef PointerTo<Node> PT_Node;
|
|
typedef ConstPointerTo<Node> CPT_Node;
|
|
|
|
// Tell GCC that we'll take care of the instantiation explicitly here.
|
|
#ifdef __GNUC__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#endif
|