Loading...
Searching...
No Matches
declarePtrs.h File Reference

Standard pointer typedefs. More...

+ Include dependency graph for declarePtrs.h:

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.
 
#define TF_DECLARE_REF_PTRS(type)
 Define standard ref pointer types.
 
#define TF_DECLARE_WEAK_AND_REF_PTRS(type)
 Define standard weak, ref, and vector pointer types.
 

Detailed Description

Standard pointer typedefs.

This file provides typedefs for standard pointer types.

Definition in file declarePtrs.h.


Class Documentation

◆ TfDeclarePtrs

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

◆ TF_DECLARE_REF_PTRS

#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.

◆ TF_DECLARE_WEAK_AND_REF_PTRS

#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.

◆ TF_DECLARE_WEAK_PTRS

#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.