7#ifndef PXR_BASE_TF_DECLARE_PTRS_H
8#define PXR_BASE_TF_DECLARE_PTRS_H
21PXR_NAMESPACE_OPEN_SCOPE
28 typedef std::vector< Ptr > PtrVector;
29 typedef std::vector< ConstPtr > ConstPtrVector;
33 typedef std::vector< RefPtr > RefPtrVector;
34 typedef std::vector< ConstRefPtr > ConstRefPtrVector;
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)
76PXR_NAMESPACE_CLOSE_SCOPE
Reference-counted smart pointer utility class.
Pointer storage with deletion detection.
Templated struct used for type definition macros.
Pointer storage with deletion detection.