HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SdfChildrenProxy< _View > Class Template Reference

#include <childrenProxy.h>

Public Types

typedef _View View
 
typedef View::Adapter Adapter
 
typedef View::ChildPolicy ChildPolicy
 
typedef View::key_type key_type
 
typedef View::value_type mapped_type
 
typedef std::vector< mapped_typemapped_vector_type
 
typedef std::pair< const
key_type, mapped_type
value_type
 
typedef std::map< key_type,
mapped_type
map_type
 
typedef View::size_type size_type
 
typedef SdfChildrenProxy< ViewThis
 
typedef _ValueProxy reference
 
typedef _Iterator< This
*, _inner_iterator, _PairProxy
iterator
 
typedef
Tf_ProxyReferenceReverseIterator
< iterator
reverse_iterator
 
typedef _Iterator< const This
*, _inner_iterator, value_type
const_iterator
 
typedef
Tf_ProxyReferenceReverseIterator
< const_iterator
const_reverse_iterator
 

Public Member Functions

 SdfChildrenProxy (const View &view, const std::string &type, int permission=CanSet|CanInsert|CanErase)
 
template<class U >
 SdfChildrenProxy (const SdfChildrenProxy< U > &other)
 
Thisoperator= (const This &other)
 
template<class U >
Thisoperator= (const SdfChildrenProxy< U > &other)
 
Thisoperator= (const mapped_vector_type &values)
 
 operator mapped_vector_type () const
 
map_type items () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
reverse_iterator rend ()
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator rend () const
 
size_type size () const
 
size_type max_size () const
 
bool empty () const
 
std::pair< iterator, bool > insert (const mapped_type &value)
 
iterator insert (iterator pos, const mapped_type &value)
 
template<class InputIterator >
void insert (InputIterator first, InputIterator last)
 
void erase (iterator pos)
 
size_type erase (const key_type &key)
 
void erase (iterator first, iterator last)
 
void clear ()
 
iterator find (const key_type &key)
 
const_iterator find (const key_type &key) const
 
size_type count (const key_type &key) const
 
bool operator== (const This &other) const
 
bool operator!= (const This &other) const
 
 operator bool () const
 

Static Public Attributes

static const int CanSet = 1
 
static const int CanInsert = 2
 
static const int CanErase = 4
 

Friends

class _PairProxy
 
template<class V >
class SdfChildrenProxy
 
template<class V >
class SdfPyChildrenProxy
 

Detailed Description

template<class _View>
class SdfChildrenProxy< _View >

Definition at line 26 of file childrenProxy.h.

Member Typedef Documentation

template<class _View>
typedef View::Adapter SdfChildrenProxy< _View >::Adapter

Definition at line 29 of file childrenProxy.h.

template<class _View>
typedef View::ChildPolicy SdfChildrenProxy< _View >::ChildPolicy

Definition at line 30 of file childrenProxy.h.

template<class _View>
typedef _Iterator<const This*, _inner_iterator, value_type> SdfChildrenProxy< _View >::const_iterator

Definition at line 186 of file childrenProxy.h.

Definition at line 187 of file childrenProxy.h.

template<class _View>
typedef _Iterator<This*, _inner_iterator, _PairProxy> SdfChildrenProxy< _View >::iterator

Definition at line 184 of file childrenProxy.h.

template<class _View>
typedef View::key_type SdfChildrenProxy< _View >::key_type

Definition at line 31 of file childrenProxy.h.

template<class _View>
typedef std::map<key_type, mapped_type> SdfChildrenProxy< _View >::map_type

Definition at line 35 of file childrenProxy.h.

template<class _View>
typedef View::value_type SdfChildrenProxy< _View >::mapped_type

Definition at line 32 of file childrenProxy.h.

template<class _View>
typedef std::vector<mapped_type> SdfChildrenProxy< _View >::mapped_vector_type

Definition at line 33 of file childrenProxy.h.

template<class _View>
typedef _ValueProxy SdfChildrenProxy< _View >::reference

Definition at line 183 of file childrenProxy.h.

Definition at line 185 of file childrenProxy.h.

template<class _View>
typedef View::size_type SdfChildrenProxy< _View >::size_type

Definition at line 36 of file childrenProxy.h.

template<class _View>
typedef SdfChildrenProxy<View> SdfChildrenProxy< _View >::This

Definition at line 37 of file childrenProxy.h.

template<class _View>
typedef std::pair<const key_type, mapped_type> SdfChildrenProxy< _View >::value_type

Definition at line 34 of file childrenProxy.h.

template<class _View>
typedef _View SdfChildrenProxy< _View >::View

Definition at line 28 of file childrenProxy.h.

Constructor & Destructor Documentation

template<class _View>
SdfChildrenProxy< _View >::SdfChildrenProxy ( const View view,
const std::string &  type,
int  permission = CanSet | CanInsert | CanErase 
)
inline

Definition at line 193 of file childrenProxy.h.

template<class _View>
template<class U >
SdfChildrenProxy< _View >::SdfChildrenProxy ( const SdfChildrenProxy< U > &  other)
inline

Definition at line 201 of file childrenProxy.h.

Member Function Documentation

template<class _View>
iterator SdfChildrenProxy< _View >::begin ( void  )
inline

Definition at line 240 of file childrenProxy.h.

template<class _View>
const_iterator SdfChildrenProxy< _View >::begin ( void  ) const
inline

Definition at line 248 of file childrenProxy.h.

template<class _View>
void SdfChildrenProxy< _View >::clear ( )
inline

Definition at line 348 of file childrenProxy.h.

template<class _View>
size_type SdfChildrenProxy< _View >::count ( const key_type key) const
inline

Definition at line 364 of file childrenProxy.h.

template<class _View>
bool SdfChildrenProxy< _View >::empty ( void  ) const
inline

Definition at line 284 of file childrenProxy.h.

template<class _View>
iterator SdfChildrenProxy< _View >::end ( void  )
inline

Definition at line 244 of file childrenProxy.h.

template<class _View>
const_iterator SdfChildrenProxy< _View >::end ( void  ) const
inline

Definition at line 252 of file childrenProxy.h.

template<class _View>
void SdfChildrenProxy< _View >::erase ( iterator  pos)
inline

Definition at line 326 of file childrenProxy.h.

template<class _View>
size_type SdfChildrenProxy< _View >::erase ( const key_type key)
inline

Definition at line 331 of file childrenProxy.h.

template<class _View>
void SdfChildrenProxy< _View >::erase ( iterator  first,
iterator  last 
)
inline

Definition at line 336 of file childrenProxy.h.

template<class _View>
iterator SdfChildrenProxy< _View >::find ( const key_type key)
inline

Definition at line 353 of file childrenProxy.h.

template<class _View>
const_iterator SdfChildrenProxy< _View >::find ( const key_type key) const
inline

Definition at line 358 of file childrenProxy.h.

template<class _View>
std::pair<iterator, bool> SdfChildrenProxy< _View >::insert ( const mapped_type value)
inline

Definition at line 289 of file childrenProxy.h.

template<class _View>
iterator SdfChildrenProxy< _View >::insert ( iterator  pos,
const mapped_type value 
)
inline

Definition at line 310 of file childrenProxy.h.

template<class _View>
template<class InputIterator >
void SdfChildrenProxy< _View >::insert ( InputIterator  first,
InputIterator  last 
)
inline

Definition at line 316 of file childrenProxy.h.

template<class _View>
map_type SdfChildrenProxy< _View >::items ( ) const
inline

Definition at line 235 of file childrenProxy.h.

template<class _View>
size_type SdfChildrenProxy< _View >::max_size ( void  ) const
inline

Definition at line 279 of file childrenProxy.h.

template<class _View>
SdfChildrenProxy< _View >::operator bool ( ) const
inlineexplicit

Explicit bool conversion operator. The proxy object converts to true if it is valid, false otherwise.

Definition at line 381 of file childrenProxy.h.

template<class _View>
SdfChildrenProxy< _View >::operator mapped_vector_type ( ) const
inline

Definition at line 230 of file childrenProxy.h.

template<class _View>
bool SdfChildrenProxy< _View >::operator!= ( const This other) const
inline

Definition at line 374 of file childrenProxy.h.

template<class _View>
This& SdfChildrenProxy< _View >::operator= ( const This other)
inline

Definition at line 207 of file childrenProxy.h.

template<class _View>
template<class U >
This& SdfChildrenProxy< _View >::operator= ( const SdfChildrenProxy< U > &  other)
inline

Definition at line 216 of file childrenProxy.h.

template<class _View>
This& SdfChildrenProxy< _View >::operator= ( const mapped_vector_type values)
inline

Definition at line 224 of file childrenProxy.h.

template<class _View>
bool SdfChildrenProxy< _View >::operator== ( const This other) const
inline

Definition at line 369 of file childrenProxy.h.

template<class _View>
reverse_iterator SdfChildrenProxy< _View >::rbegin ( )
inline

Definition at line 257 of file childrenProxy.h.

template<class _View>
const_reverse_iterator SdfChildrenProxy< _View >::rbegin ( ) const
inline

Definition at line 265 of file childrenProxy.h.

template<class _View>
reverse_iterator SdfChildrenProxy< _View >::rend ( )
inline

Definition at line 261 of file childrenProxy.h.

template<class _View>
const_reverse_iterator SdfChildrenProxy< _View >::rend ( ) const
inline

Definition at line 269 of file childrenProxy.h.

template<class _View>
size_type SdfChildrenProxy< _View >::size ( void  ) const
inline

Definition at line 274 of file childrenProxy.h.

Friends And Related Function Documentation

template<class _View>
friend class _PairProxy
friend

Definition at line 78 of file childrenProxy.h.

template<class _View>
template<class V >
friend class SdfChildrenProxy
friend

Definition at line 483 of file childrenProxy.h.

template<class _View>
template<class V >
friend class SdfPyChildrenProxy
friend

Definition at line 484 of file childrenProxy.h.

Member Data Documentation

template<class _View>
const int SdfChildrenProxy< _View >::CanErase = 4
static

Definition at line 191 of file childrenProxy.h.

template<class _View>
const int SdfChildrenProxy< _View >::CanInsert = 2
static

Definition at line 190 of file childrenProxy.h.

template<class _View>
const int SdfChildrenProxy< _View >::CanSet = 1
static

Definition at line 189 of file childrenProxy.h.


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