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 43 of file childrenProxy.h.

Member Typedef Documentation

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

Definition at line 46 of file childrenProxy.h.

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

Definition at line 47 of file childrenProxy.h.

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

Definition at line 210 of file childrenProxy.h.

Definition at line 211 of file childrenProxy.h.

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

Definition at line 208 of file childrenProxy.h.

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

Definition at line 48 of file childrenProxy.h.

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

Definition at line 52 of file childrenProxy.h.

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

Definition at line 49 of file childrenProxy.h.

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

Definition at line 50 of file childrenProxy.h.

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

Definition at line 207 of file childrenProxy.h.

Definition at line 209 of file childrenProxy.h.

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

Definition at line 53 of file childrenProxy.h.

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

Definition at line 54 of file childrenProxy.h.

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

Definition at line 51 of file childrenProxy.h.

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

Definition at line 45 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 217 of file childrenProxy.h.

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

Definition at line 225 of file childrenProxy.h.

Member Function Documentation

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

Definition at line 264 of file childrenProxy.h.

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

Definition at line 272 of file childrenProxy.h.

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

Definition at line 372 of file childrenProxy.h.

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

Definition at line 388 of file childrenProxy.h.

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

Definition at line 308 of file childrenProxy.h.

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

Definition at line 268 of file childrenProxy.h.

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

Definition at line 276 of file childrenProxy.h.

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

Definition at line 350 of file childrenProxy.h.

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

Definition at line 355 of file childrenProxy.h.

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

Definition at line 360 of file childrenProxy.h.

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

Definition at line 377 of file childrenProxy.h.

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

Definition at line 382 of file childrenProxy.h.

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

Definition at line 313 of file childrenProxy.h.

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

Definition at line 334 of file childrenProxy.h.

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

Definition at line 340 of file childrenProxy.h.

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

Definition at line 259 of file childrenProxy.h.

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

Definition at line 303 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 405 of file childrenProxy.h.

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

Definition at line 254 of file childrenProxy.h.

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

Definition at line 398 of file childrenProxy.h.

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

Definition at line 231 of file childrenProxy.h.

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

Definition at line 240 of file childrenProxy.h.

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

Definition at line 248 of file childrenProxy.h.

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

Definition at line 393 of file childrenProxy.h.

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

Definition at line 281 of file childrenProxy.h.

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

Definition at line 289 of file childrenProxy.h.

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

Definition at line 285 of file childrenProxy.h.

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

Definition at line 293 of file childrenProxy.h.

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

Definition at line 298 of file childrenProxy.h.

Friends And Related Function Documentation

template<class _View>
friend class _PairProxy
friend

Definition at line 102 of file childrenProxy.h.

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

Definition at line 507 of file childrenProxy.h.

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

Definition at line 508 of file childrenProxy.h.

Member Data Documentation

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

Definition at line 215 of file childrenProxy.h.

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

Definition at line 214 of file childrenProxy.h.

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

Definition at line 213 of file childrenProxy.h.


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