24 #ifndef PXR_USD_KIND_REGISTRY_H
25 #define PXR_USD_KIND_REGISTRY_H
36 #include <unordered_map>
121 bool _HasKind(
const TfToken& kind)
const;
125 bool _IsA(
const TfToken& derivedKind,
const TfToken &baseKind)
const;
127 std::vector<TfToken> _GetAllKinds()
const;
135 void _RegisterDefaults();
141 typedef std::unordered_map<TfToken, _KindData, TfToken::HashFunctor>
152 #endif // PXR_USD_KIND_REGISTRY_H
static KIND_API TfToken GetBaseKind(const TfToken &kind)
static KIND_API bool IsGroup(const TfToken &kind)
Returns true if kind IsA group kind.
static KIND_API bool HasKind(const TfToken &kind)
Test whether kind is known to the registry.
TF_DECLARE_PUBLIC_TOKENS(KindTokens, KIND_API, KIND_TOKENS)
static KIND_API bool IsAssembly(const TfToken &kind)
Return true if kind IsA assembly kind.
static KIND_API bool IsSubComponent(const TfToken &kind)
Returns true if kind IsA subcomponent kind.
static KIND_API std::vector< TfToken > GetAllKinds()
Return an unordered vector of all kinds known to the registry.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
static KIND_API bool IsComponent(const TfToken &kind)
Returns true if kind IsA component kind.
#define PXR_NAMESPACE_CLOSE_SCOPE
TfRefPtr< Tf_Remnant > _Register() const
static KIND_API KindRegistry & GetInstance()
Return the single KindRegistry instance.
static KIND_API bool IsModel(const TfToken &kind)
Returns true if kind IsA model kind.
KIND_API_TEMPLATE_CLASS(TfSingleton< KindRegistry >)
static KIND_API bool IsA(const TfToken &derivedKind, const TfToken &baseKind)