Panda3D
Classes | Macros | Functions
pointerTo.h File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "pandabase.h"
#include "pointerToBase.h"
#include "register_type.h"
#include "pointerTo.I"

Go to the source code of this file.

Classes

class  ConstPointerTo< T >
 A ConstPointerTo is similar to a PointerTo, except it keeps a const pointer to the thing. More...
 
struct  std::owner_less< ConstPointerTo< T > >
 
struct  std::owner_less< PointerTo< T > >
 
class  PointerTo< T >
 This file defines the classes PointerTo and ConstPointerTo (and their abbreviations, PT and CPT). More...
 

Macros

#define CPT(type)   ConstPointerTo< type >
 
#define PT(type)   PointerTo< type >
 

Functions

template<class T >
TypeHandle _get_type_handle (const PointerTo< T > *)
 
template<class T >
TypeHandle _get_type_handle (const ConstPointerTo< T > *)
 
template<class T >
void swap (PointerTo< T > &one, PointerTo< T > &two) noexcept
 
template<class T >
void swap (ConstPointerTo< T > &one, ConstPointerTo< T > &two) noexcept
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
1998-10-23

Definition in file pointerTo.h.