|
static bool | CreateSpec (const SdfLayerHandle &layer, const SdfPath &childPath, SdfSpecType specType, bool inert=true) |
|
static SDF_API bool | CreateSpec (SdfLayer *layer, const SdfPath &childPath, SdfSpecType specType, bool inert=true) |
|
|
static SDF_API bool | IsValidName (const FieldType &newName) |
| Return whether newName is a valid name for a child. More...
|
|
static SDF_API bool | IsValidName (const std::string &newName) |
| Return whether newName is a valid name for a child. More...
|
|
static SdfAllowed | CanRename (const SdfSpec &spec, const FieldType &newName) |
| Return whether spec can be renamed to newName. More...
|
|
static SDF_API bool | Rename (const SdfSpec &spec, const FieldType &newName) |
|
|
static SDF_API bool | SetChildren (const SdfLayerHandle &layer, const SdfPath &path, const std::vector< typename ChildPolicy::ValueType > &values) |
|
static SDF_API bool | InsertChild (const SdfLayerHandle &layer, const SdfPath &path, const typename ChildPolicy::ValueType &value, int index) |
| Insert value as a child of path at the specified index. More...
|
|
static SDF_API bool | RemoveChild (const SdfLayerHandle &layer, const SdfPath &path, const typename ChildPolicy::KeyType &key) |
| Remove the child identified by key. More...
|
|
|
static SDF_API bool | MoveChildForBatchNamespaceEdit (const SdfLayerHandle &layer, const SdfPath &path, const typename ChildPolicy::ValueType &value, const typename ChildPolicy::FieldType &newName, int index) |
|
static SDF_API bool | RemoveChildForBatchNamespaceEdit (const SdfLayerHandle &layer, const SdfPath &path, const typename ChildPolicy::KeyType &key) |
| Remove the child identified by key. More...
|
|
static SDF_API bool | CanMoveChildForBatchNamespaceEdit (const SdfLayerHandle &layer, const SdfPath &path, const typename ChildPolicy::ValueType &value, const typename ChildPolicy::FieldType &newName, int index, std::string *whyNot) |
|
static SDF_API bool | CanRemoveChildForBatchNamespaceEdit (const SdfLayerHandle &layer, const SdfPath &path, const typename ChildPolicy::FieldType &key, std::string *whyNot) |
|
template<class ChildPolicy>
class Sdf_ChildrenUtils< ChildPolicy >
Helper functions for creating and manipulating the children of a spec. A ChildPolicy must be provided that specifies which type of children to edit. (See childrenPolicies.h for details).
Definition at line 43 of file childrenUtils.h.