PLearn 0.1
Classes | Namespaces | Functions
ObjectGraphIterator.h File Reference
#include <string>
#include <vector>
#include <utility>
#include <boost/call_traits.hpp>
#include <plearn/base/OptionBase.h>
Include dependency graph for ObjectGraphIterator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PLearn::ObjectOptionsIterator
 An ObjectOptionsIterator iterates across all accessible sub-objects of a given PLearn::Object. More...
class  PLearn::ObjectGraphIterator
 An ObjectGraphIterator iterates through all objects through options. More...

Namespaces

namespace  PLearn
 

< for swap


Functions

template<class T , class U >
void PLearn::memfun_broadcast (const Object *o, U(T::*func)() const, ObjectGraphIterator::TraversalType tt=ObjectGraphIterator::DepthPreOrder)
 Call a specific member function across a graph of Objects.
template<class T , class U >
void PLearn::memfun_broadcast (Object *o, U(T::*func)(), ObjectGraphIterator::TraversalType tt=ObjectGraphIterator::DepthPreOrder)
template<class T , class U , class V >
void PLearn::memfun_broadcast (const Object *o, U(T::*func)(V) const, typename boost::call_traits< V >::param_type arg1, ObjectGraphIterator::TraversalType tt=ObjectGraphIterator::DepthPreOrder)
template<class T , class U , class V >
void PLearn::memfun_broadcast (Object *o, U(T::*func)(V), typename boost::call_traits< V >::param_type arg1, ObjectGraphIterator::TraversalType tt=ObjectGraphIterator::DepthPreOrder)
template<class T , class U , class V , class W >
void PLearn::memfun_broadcast (const Object *o, U(T::*func)(V, W) const, typename boost::call_traits< V >::param_type arg1, typename boost::call_traits< W >::param_type arg2, ObjectGraphIterator::TraversalType tt=ObjectGraphIterator::DepthPreOrder)
template<class T , class U , class V , class W >
void PLearn::memfun_broadcast (Object *o, U(T::*func)(V, W), typename boost::call_traits< V >::param_type arg1, typename boost::call_traits< W >::param_type arg2, ObjectGraphIterator::TraversalType tt=ObjectGraphIterator::DepthPreOrder)
template<class T , class U , class V , class W , class X >
void PLearn::memfun_broadcast (const Object *o, U(T::*func)(V, W, X) const, typename boost::call_traits< V >::param_type arg1, typename boost::call_traits< W >::param_type arg2, typename boost::call_traits< X >::param_type arg3, ObjectGraphIterator::TraversalType tt=ObjectGraphIterator::DepthPreOrder)
template<class T , class U , class V , class W , class X >
void PLearn::memfun_broadcast (Object *o, U(T::*func)(V, W, X), typename boost::call_traits< V >::param_type arg1, typename boost::call_traits< W >::param_type arg2, typename boost::call_traits< X >::param_type arg3, ObjectGraphIterator::TraversalType tt=ObjectGraphIterator::DepthPreOrder)
template<class T , class U , class V >
void PLearn::memfun_broadcast_optname (const Object *o, U(T::*func)(V) const, ObjectGraphIterator::TraversalType tt=ObjectGraphIterator::DepthPreOrder)
 Call a specific member function across a graph of Objects with the option name as argument.
template<class T , class U , class V >
void PLearn::memfun_broadcast_optname (Object *o, U(T::*func)(V), ObjectGraphIterator::TraversalType tt=ObjectGraphIterator::DepthPreOrder)
template<class T , class U , class V , class W >
void PLearn::memfun_broadcast_optname (const Object *o, U(T::*func)(V, W) const, typename boost::call_traits< V >::param_type arg1, ObjectGraphIterator::TraversalType tt=ObjectGraphIterator::DepthPreOrder)
template<class T , class U , class V , class W >
void PLearn::memfun_broadcast_optname (Object *o, U(T::*func)(V, W), typename boost::call_traits< V >::param_type arg1, ObjectGraphIterator::TraversalType tt=ObjectGraphIterator::DepthPreOrder)
template<class T , class U , class V , class W , class X >
void PLearn::memfun_broadcast_optname (const Object *o, U(T::*func)(V, W, X) const, typename boost::call_traits< V >::param_type arg1, typename boost::call_traits< W >::param_type arg2, ObjectGraphIterator::TraversalType tt=ObjectGraphIterator::DepthPreOrder)
template<class T , class U , class V , class W , class X >
void PLearn::memfun_broadcast_optname (Object *o, U(T::*func)(V, W, X), typename boost::call_traits< V >::param_type arg1, typename boost::call_traits< W >::param_type arg2, ObjectGraphIterator::TraversalType tt=ObjectGraphIterator::DepthPreOrder)
void PLearn::setoption_broadcast (const Object *o, const string &class_name, const string &option_name, const string &option_value, ObjectGraphIterator::TraversalType tt=ObjectGraphIterator::DepthPreOrder)
 Broadcast a call to setOption only for specific classes.

Detailed Description

Definition in file ObjectGraphIterator.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines