All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
declarePtrs.h File Reference

Standard pointer typedefs. More...

+ Include dependency graph for declarePtrs.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TfDeclarePtrs< T >
 Templated struct used for type definition macros. More...
 

Macros

#define TF_DECLARE_WEAK_PTRS(type)
 Define standard weak pointer types. More...
 
#define TF_DECLARE_REF_PTRS(type)
 Define standard ref pointer types. More...
 
#define TF_DECLARE_WEAK_AND_REF_PTRS(type)
 Define standard weak, ref, and vector pointer types. More...
 

Detailed Description

Standard pointer typedefs.

This file provides typedefs for standard pointer types.

Definition in file declarePtrs.h.


Class Documentation

struct TfDeclarePtrs

template<typename T>
struct TfDeclarePtrs< T >

Templated struct used for type definition macros.

Definition at line 42 of file declarePtrs.h.

Class Members
typedef TfWeakPtr< const T > ConstPtr
typedef vector< ConstPtr > ConstPtrVector
typedef TfRefPtr< const T > ConstRefPtr
typedef vector< ConstRefPtr > ConstRefPtrVector
typedef TfWeakPtr< T > Ptr
typedef vector< Ptr > PtrVector
typedef TfRefPtr< T > RefPtr
typedef vector< RefPtr > RefPtrVector

Macro Definition Documentation

#define TF_DECLARE_REF_PTRS (   type)

Define standard ref pointer types.

Parameters
typeis a class name.

TF_DECLARE_REF_PTRS(Class) declares ClassRefPtr and ClassConstRefPtr.

Definition at line 75 of file declarePtrs.h.

#define TF_DECLARE_WEAK_AND_REF_PTRS (   type)

Define standard weak, ref, and vector pointer types.

Parameters
typeis a class name.

TF_DECLARE_WEAK_AND_REF_PTRS(Class) declares ClassPtr, ClassConstPtr, ClassPtrVector, ClassConstPtrVector, ClassRefPtr and ClassConstRefPtr.

Definition at line 89 of file declarePtrs.h.

#define TF_DECLARE_WEAK_PTRS (   type)

Define standard weak pointer types.

Parameters
typeis a class name.

TF_DECLARE_WEAK_PTRS(Class) declares ClassPtr, ClassConstPtr, ClassPtrVector and ClassConstPtrVector.

Definition at line 62 of file declarePtrs.h.