7 #ifndef PXR_BASE_TF_DECLARE_PTRS_H
8 #define PXR_BASE_TF_DECLARE_PTRS_H
45 #define TF_DECLARE_WEAK_PTRS(type) \
46 typedef TfDeclarePtrs< class type >::Ptr type##Ptr; \
47 typedef TfDeclarePtrs< class type >::ConstPtr type##ConstPtr; \
48 typedef TfDeclarePtrs< class type >::PtrVector type##PtrVector; \
49 typedef TfDeclarePtrs< class type >::ConstPtrVector type##ConstPtrVector
58 #define TF_DECLARE_REF_PTRS(type) \
59 typedef TfDeclarePtrs< class type >::RefPtr type##RefPtr; \
60 typedef TfDeclarePtrs< class type >::ConstRefPtr type##ConstRefPtr; \
61 typedef TfDeclarePtrs< class type >::RefPtrVector type##RefPtrVector; \
62 typedef TfDeclarePtrs< class type >::ConstRefPtrVector type##ConstRefPtrVector
72 #define TF_DECLARE_WEAK_AND_REF_PTRS(type) \
73 TF_DECLARE_WEAK_PTRS(type); \
74 TF_DECLARE_REF_PTRS(type)
std::vector< Ptr > PtrVector
TfWeakPtr< const T > ConstPtr
std::vector< RefPtr > RefPtrVector
std::vector< ConstPtr > ConstPtrVector
TfRefPtr< const T > ConstRefPtr
std::vector< ConstRefPtr > ConstRefPtrVector
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE