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
hboost::reverse_iterator
< iterator
reverse_iterator
 
typedef _Iterator< const This
*, _inner_iterator, value_type
const_iterator
 
typedef
hboost::reverse_iterator
< 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 45 of file childrenProxy.h.

Member Typedef Documentation

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

Definition at line 48 of file childrenProxy.h.

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

Definition at line 49 of file childrenProxy.h.

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

Definition at line 167 of file childrenProxy.h.

template<class _View>
typedef hboost::reverse_iterator<const_iterator> SdfChildrenProxy< _View >::const_reverse_iterator

Definition at line 168 of file childrenProxy.h.

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

Definition at line 165 of file childrenProxy.h.

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

Definition at line 50 of file childrenProxy.h.

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

Definition at line 54 of file childrenProxy.h.

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

Definition at line 51 of file childrenProxy.h.

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

Definition at line 52 of file childrenProxy.h.

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

Definition at line 164 of file childrenProxy.h.

template<class _View>
typedef hboost::reverse_iterator<iterator> SdfChildrenProxy< _View >::reverse_iterator

Definition at line 166 of file childrenProxy.h.

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

Definition at line 55 of file childrenProxy.h.

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

Definition at line 56 of file childrenProxy.h.

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

Definition at line 53 of file childrenProxy.h.

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

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

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

Definition at line 182 of file childrenProxy.h.

Member Function Documentation

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

Definition at line 221 of file childrenProxy.h.

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

Definition at line 229 of file childrenProxy.h.

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

Definition at line 329 of file childrenProxy.h.

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

Definition at line 345 of file childrenProxy.h.

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

Definition at line 265 of file childrenProxy.h.

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

Definition at line 225 of file childrenProxy.h.

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

Definition at line 233 of file childrenProxy.h.

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

Definition at line 307 of file childrenProxy.h.

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

Definition at line 312 of file childrenProxy.h.

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

Definition at line 317 of file childrenProxy.h.

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

Definition at line 334 of file childrenProxy.h.

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

Definition at line 339 of file childrenProxy.h.

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

Definition at line 270 of file childrenProxy.h.

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

Definition at line 291 of file childrenProxy.h.

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

Definition at line 297 of file childrenProxy.h.

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

Definition at line 216 of file childrenProxy.h.

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

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

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

Definition at line 211 of file childrenProxy.h.

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

Definition at line 355 of file childrenProxy.h.

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

Definition at line 188 of file childrenProxy.h.

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

Definition at line 197 of file childrenProxy.h.

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

Definition at line 205 of file childrenProxy.h.

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

Definition at line 350 of file childrenProxy.h.

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

Definition at line 238 of file childrenProxy.h.

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

Definition at line 246 of file childrenProxy.h.

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

Definition at line 242 of file childrenProxy.h.

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

Definition at line 250 of file childrenProxy.h.

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

Definition at line 255 of file childrenProxy.h.

Friends And Related Function Documentation

template<class _View>
friend class _PairProxy
friend

Definition at line 104 of file childrenProxy.h.

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

Definition at line 464 of file childrenProxy.h.

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

Definition at line 465 of file childrenProxy.h.

Member Data Documentation

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

Definition at line 172 of file childrenProxy.h.

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

Definition at line 171 of file childrenProxy.h.

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

Definition at line 170 of file childrenProxy.h.


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