HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SdfChildrenView< _ChildPolicy, _Predicate, _Adapter > Class Template Reference

#include <childrenView.h>

Public Types

typedef SdfChildrenView
< _ChildPolicy, _Predicate,
_Adapter > 
This
 
typedef _Adapter Adapter
 
typedef _Predicate Predicate
 
typedef _ChildPolicy ChildPolicy
 
typedef ChildPolicy::KeyPolicy KeyPolicy
 
typedef Sdf_Children< ChildPolicyChildrenType
 
typedef ChildPolicy::KeyType key_type
 
typedef Adapter::PublicType value_type
 
typedef Sdf_ChildrenViewTraits
< This, _InnerIterator,
Predicate
_Traits
 
typedef _Traits::const_iterator const_iterator
 
typedef
Tf_ProxyReferenceReverseIterator
< const_iterator
const_reverse_iterator
 
typedef size_t size_type
 
typedef ptrdiff_t difference_type
 

Public Member Functions

 SdfChildrenView ()
 
 SdfChildrenView (const SdfLayerHandle &layer, const SdfPath &path, const TfToken &childrenKey, const KeyPolicy &keyPolicy=KeyPolicy())
 
 SdfChildrenView (const SdfLayerHandle &layer, const SdfPath &path, const TfToken &childrenKey, const Predicate &predicate, const KeyPolicy &keyPolicy=KeyPolicy())
 
 SdfChildrenView (const SdfChildrenView &other)
 
template<class OtherAdapter >
 SdfChildrenView (const SdfChildrenView< ChildPolicy, Predicate, OtherAdapter > &other)
 
 ~SdfChildrenView ()
 
SdfChildrenViewoperator= (const SdfChildrenView &other)
 
const_iterator begin () const
 Returns an const_iterator pointing to the beginning of the vector. More...
 
const_iterator end () const
 Returns an const_iterator pointing to the end of the vector. More...
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator rend () const
 
size_type size () const
 Returns the size of the vector. More...
 
bool empty () const
 Returns true if the vector is empty. More...
 
value_type operator[] (size_type n) const
 Returns the n'th element. More...
 
value_type front () const
 Returns the first element. More...
 
value_type back () const
 Returns the last element. More...
 
const_iterator find (const key_type &x) const
 Finds the element with key x. More...
 
const_iterator find (const value_type &x) const
 Finds element x, if present in this view. More...
 
key_type key (const const_iterator &x) const
 Returns the key for an element. More...
 
key_type key (const value_type &x) const
 Returns the key for a value. More...
 
std::vector< value_typevalues () const
 Returns the elements, in order. More...
 
template<typename V >
values_as () const
 Returns the elements, in order. More...
 
std::vector< key_typekeys () const
 Returns the keys for all elements, in order. More...
 
template<typename V >
keys_as () const
 Returns the keys for all elements, in order. More...
 
template<typename Dict >
Dict items_as () const
 Returns the elements as a dictionary. More...
 
bool has (const key_type &x) const
 Returns true if an element with key x is in the container. More...
 
bool has (const value_type &x) const
 
size_type count (const key_type &x) const
 Returns the number of elements with key x in the container. More...
 
value_type get (const key_type &x) const
 
value_type get (const key_type &x, const value_type &fallback) const
 
value_type operator[] (const key_type &x) const
 
bool operator== (const This &other) const
 
bool operator!= (const This &other) const
 
bool IsValid () const
 
ChildrenTypeGetChildren ()
 
const PredicateGetPredicate () const
 

Friends

template<class V , class P , class A >
class SdfChildrenView
 

Detailed Description

template<typename _ChildPolicy, typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
class SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >

Provides a view onto an object's children.

The _ChildPolicy dictates the type of children being viewed by this object. This policy defines the key type by which children are referenced (e.g. a TfToken, or an SdfPath) and the value type of the children objects.

The _Predicate takes a value type argument and returns true if the object should be included in the view and false otherwise.

The _Adapter allows the view to present the children objects as a different type. The _Adapter class must provide functions to convert the children object type defined by _ChildPolicy to the desired public type and vice-versa. See SdfChildrenViewTrivialAdapter for an example. By default, the view presents children objects as the value type defined in _ChildPolicy.

Note that all methods are const, i.e. the children cannot be changed through a view.

Definition at line 222 of file childrenView.h.

Member Typedef Documentation

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
typedef Sdf_ChildrenViewTraits<This, _InnerIterator, Predicate> SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::_Traits

Definition at line 381 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
typedef _Adapter SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::Adapter

Definition at line 226 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
typedef _ChildPolicy SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::ChildPolicy

Definition at line 228 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
typedef Sdf_Children<ChildPolicy> SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::ChildrenType

Definition at line 230 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
typedef _Traits::const_iterator SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::const_iterator

Definition at line 382 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
typedef Tf_ProxyReferenceReverseIterator<const_iterator> SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::const_reverse_iterator

Definition at line 383 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
typedef ptrdiff_t SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::difference_type

Definition at line 385 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
typedef ChildPolicy::KeyType SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::key_type

Definition at line 232 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
typedef ChildPolicy::KeyPolicy SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::KeyPolicy

Definition at line 229 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
typedef _Predicate SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::Predicate

Definition at line 227 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
typedef size_t SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::size_type

Definition at line 384 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
typedef SdfChildrenView<_ChildPolicy, _Predicate, _Adapter> SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::This

Definition at line 224 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
typedef Adapter::PublicType SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::value_type

Definition at line 233 of file childrenView.h.

Constructor & Destructor Documentation

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::SdfChildrenView ( )
inline

Definition at line 387 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::SdfChildrenView ( const SdfLayerHandle &  layer,
const SdfPath path,
const TfToken childrenKey,
const KeyPolicy keyPolicy = KeyPolicy() 
)
inline

Definition at line 391 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::SdfChildrenView ( const SdfLayerHandle &  layer,
const SdfPath path,
const TfToken childrenKey,
const Predicate predicate,
const KeyPolicy keyPolicy = KeyPolicy() 
)
inline

Definition at line 398 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::SdfChildrenView ( const SdfChildrenView< _ChildPolicy, _Predicate, _Adapter > &  other)
inline

Definition at line 407 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
template<class OtherAdapter >
SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::SdfChildrenView ( const SdfChildrenView< ChildPolicy, Predicate, OtherAdapter > &  other)
inline

Definition at line 414 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::~SdfChildrenView ( )
inline

Definition at line 421 of file childrenView.h.

Member Function Documentation

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
value_type SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::back ( void  ) const
inline

Returns the last element.

Definition at line 479 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
const_iterator SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::begin ( void  ) const
inline

Returns an const_iterator pointing to the beginning of the vector.

Definition at line 433 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
size_type SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::count ( const key_type x) const
inline

Returns the number of elements with key x in the container.

Definition at line 564 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
bool SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::empty ( void  ) const
inline

Returns true if the vector is empty.

Definition at line 462 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
const_iterator SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::end ( void  ) const
inline

Returns an const_iterator pointing to the end of the vector.

Definition at line 439 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
const_iterator SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::find ( const key_type x) const
inline

Finds the element with key x.

Definition at line 484 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
const_iterator SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::find ( const value_type x) const
inline

Finds element x, if present in this view.

Definition at line 497 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
value_type SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::front ( void  ) const
inline

Returns the first element.

Definition at line 474 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
value_type SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::get ( const key_type x) const
inline

Returns the element with key x or a default constructed value if no such element exists.

Definition at line 570 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
value_type SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::get ( const key_type x,
const value_type fallback 
) const
inline

Returns the element with key x or the fallback if no such element exists.

Definition at line 580 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
ChildrenType& SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::GetChildren ( )
inline

Definition at line 613 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
const Predicate& SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::GetPredicate ( ) const
inline

Definition at line 618 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
bool SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::has ( const key_type x) const
inline

Returns true if an element with key x is in the container.

Definition at line 553 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
bool SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::has ( const value_type x) const
inline

Returns true if an element with the same key as x is in the container.

Definition at line 559 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
bool SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::IsValid ( ) const
inline

Definition at line 608 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
template<typename Dict >
Dict SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::items_as ( ) const
inline

Returns the elements as a dictionary.

Definition at line 544 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
key_type SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::key ( const const_iterator x) const
inline

Returns the key for an element.

Definition at line 503 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
key_type SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::key ( const value_type x) const
inline

Returns the key for a value.

Definition at line 508 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
std::vector<key_type> SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::keys ( ) const
inline

Returns the keys for all elements, in order.

Definition at line 526 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
template<typename V >
V SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::keys_as ( ) const
inline

Returns the keys for all elements, in order.

Definition at line 537 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
bool SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::operator!= ( const This other) const
inline

Compares children for inequality. Children are not equal if list edits are not identical or the keys don't contain the same elements.

Definition at line 603 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
SdfChildrenView& SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::operator= ( const SdfChildrenView< _ChildPolicy, _Predicate, _Adapter > &  other)
inline

Definition at line 425 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
bool SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::operator== ( const This other) const
inline

Compares children for equality. Children are equal if the list edits are identical and the keys contain the same elements.

Definition at line 596 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
value_type SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::operator[] ( size_type  n) const
inline

Returns the n'th element.

Definition at line 467 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
value_type SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::operator[] ( const key_type x) const
inline

Returns the element with key x or a default constructed value if no such element exists.

Definition at line 590 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
const_reverse_iterator SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::rbegin ( ) const
inline

Returns an const_reverse_iterator pointing to the beginning of the reversed vector.

Definition at line 446 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
const_reverse_iterator SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::rend ( ) const
inline

Returns an const_reverse_iterator pointing to the end of the reversed vector.

Definition at line 452 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
size_type SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::size ( void  ) const
inline

Returns the size of the vector.

Definition at line 457 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
std::vector<value_type> SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::values ( ) const
inline

Returns the elements, in order.

Definition at line 513 of file childrenView.h.

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
template<typename V >
V SdfChildrenView< _ChildPolicy, _Predicate, _Adapter >::values_as ( ) const
inline

Returns the elements, in order.

Definition at line 519 of file childrenView.h.

Friends And Related Function Documentation

template<typename _ChildPolicy , typename _Predicate = SdfChildrenViewTrivialPredicate< typename _ChildPolicy::ValueType>, typename _Adapter = SdfChildrenViewTrivialAdapter< typename _ChildPolicy::ValueType>>
template<class V , class P , class A >
friend class SdfChildrenView
friend

Definition at line 634 of file childrenView.h.


The documentation for this class was generated from the following file: