All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
object.h File Reference
+ Include dependency graph for object.h:

Go to the source code of this file.

Classes

class  UsdObject
 Base class for Usd scenegraph objects, providing common API. More...
 

Enumerations

enum  UsdObjType {
  UsdTypeObject, UsdTypePrim, UsdTypeProperty, UsdTypeAttribute,
  UsdTypeRelationship
}
 Enum values to represent the various Usd object types. More...
 

Functions

 TF_DECLARE_WEAK_PTRS (UsdStage)
 
bool UsdIsSubtype (UsdObjType baseType, UsdObjType subType)
 Return true if subType is the same as or a subtype of baseType, false otherwise. More...
 
bool UsdIsConvertible (UsdObjType from, UsdObjType to)
 Return true if from is convertible to to, false otherwise. More...
 
bool UsdIsConcrete (UsdObjType type)
 Return true if type is a concrete object type, namely one of Prim, Attribute, or Relationship. More...
 

Enumeration Type Documentation

enum UsdObjType

Enum values to represent the various Usd object types.

Definition at line 48 of file object.h.

Function Documentation

bool UsdIsConcrete ( UsdObjType  type)
inline

Return true if type is a concrete object type, namely one of Prim, Attribute, or Relationship.

Definition at line 98 of file object.h.

bool UsdIsConvertible ( UsdObjType  from,
UsdObjType  to 
)
inline

Return true if from is convertible to to, false otherwise.

Equivalent to UsdIsSubtype(to, from).

Definition at line 91 of file object.h.

bool UsdIsSubtype ( UsdObjType  baseType,
UsdObjType  subType 
)
inline

Return true if subType is the same as or a subtype of baseType, false otherwise.

Definition at line 83 of file object.h.