HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nullPtr.h
Go to the documentation of this file.
1 //
2 // Copyright 2016 Pixar
3 //
4 // Licensed under the terms set forth in the LICENSE.txt file available at
5 // https://openusd.org/license.
6 //
7 #ifndef PXR_BASE_TF_NULL_PTR_H
8 #define PXR_BASE_TF_NULL_PTR_H
9 
10 #include "pxr/pxr.h"
11 #include "pxr/base/tf/api.h"
12 
14 
15 // A type used to create the \a TfNullPtr token.
17 {
18 };
19 
20 // A token to represent null for smart pointers like \a TfWeakPtr and \a
21 // TfRefPtr.
22 TF_API extern const TfNullPtrType TfNullPtr;
23 
25 
26 #endif // PXR_BASE_TF_NULL_PTR_H
#define TF_API
Definition: api.h:23
TF_API const TfNullPtrType TfNullPtr
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74