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

#include <childrenProxy.h>

+ Inheritance diagram for SdfChildrenProxy< _View >:

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

Member Typedef Documentation

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

Definition at line 49 of file childrenProxy.h.

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

Definition at line 50 of file childrenProxy.h.

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

Definition at line 168 of file childrenProxy.h.

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

Definition at line 169 of file childrenProxy.h.

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

Definition at line 166 of file childrenProxy.h.

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

Definition at line 51 of file childrenProxy.h.

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

Definition at line 55 of file childrenProxy.h.

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

Definition at line 52 of file childrenProxy.h.

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

Definition at line 53 of file childrenProxy.h.

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

Definition at line 165 of file childrenProxy.h.

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

Definition at line 167 of file childrenProxy.h.

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

Definition at line 56 of file childrenProxy.h.

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

Definition at line 57 of file childrenProxy.h.

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

Definition at line 54 of file childrenProxy.h.

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

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

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

Definition at line 183 of file childrenProxy.h.

Member Function Documentation

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

Definition at line 222 of file childrenProxy.h.

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

Definition at line 230 of file childrenProxy.h.

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

Definition at line 330 of file childrenProxy.h.

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

Definition at line 346 of file childrenProxy.h.

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

Definition at line 266 of file childrenProxy.h.

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

Definition at line 226 of file childrenProxy.h.

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

Definition at line 234 of file childrenProxy.h.

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

Definition at line 308 of file childrenProxy.h.

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

Definition at line 313 of file childrenProxy.h.

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

Definition at line 318 of file childrenProxy.h.

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

Definition at line 335 of file childrenProxy.h.

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

Definition at line 340 of file childrenProxy.h.

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

Definition at line 271 of file childrenProxy.h.

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

Definition at line 292 of file childrenProxy.h.

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

Definition at line 298 of file childrenProxy.h.

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

Definition at line 217 of file childrenProxy.h.

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

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

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

Definition at line 212 of file childrenProxy.h.

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

Definition at line 189 of file childrenProxy.h.

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

Definition at line 198 of file childrenProxy.h.

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

Definition at line 206 of file childrenProxy.h.

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

Definition at line 351 of file childrenProxy.h.

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

Definition at line 239 of file childrenProxy.h.

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

Definition at line 247 of file childrenProxy.h.

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

Definition at line 243 of file childrenProxy.h.

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

Definition at line 251 of file childrenProxy.h.

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

Definition at line 256 of file childrenProxy.h.

Friends And Related Function Documentation

template<class _View>
friend class _PairProxy
friend

Definition at line 105 of file childrenProxy.h.

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

Definition at line 460 of file childrenProxy.h.

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

Definition at line 461 of file childrenProxy.h.

Member Data Documentation

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

Definition at line 173 of file childrenProxy.h.

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

Definition at line 172 of file childrenProxy.h.

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

Definition at line 171 of file childrenProxy.h.


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