Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
factory.hpp File Reference
Include dependency graph for factory.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::serialization
 

Macros

#define BOOST_SERIALIZATION_FACTORY(N, T, A0, A1, A2, A3)
 
#define BOOST_SERIALIZATION_FACTORY_4(T, A0, A1, A2, A3)   BOOST_SERIALIZATION_FACTORY(4, T, A0, A1, A2, A3)
 
#define BOOST_SERIALIZATION_FACTORY_3(T, A0, A1, A2)   BOOST_SERIALIZATION_FACTORY(3, T, A0, A1, A2, 0)
 
#define BOOST_SERIALIZATION_FACTORY_2(T, A0, A1)   BOOST_SERIALIZATION_FACTORY(2, T, A0, A1, 0, 0)
 
#define BOOST_SERIALIZATION_FACTORY_1(T, A0)   BOOST_SERIALIZATION_FACTORY(1, T, A0, 0, 0, 0)
 
#define BOOST_SERIALIZATION_FACTORY_0(T)
 

Functions

template<class T , int N>
Tboost::serialization::factory (std::va_list)
 

Macro Definition Documentation

#define BOOST_SERIALIZATION_FACTORY (   N,
  T,
  A0,
  A1,
  A2,
  A3 
)
Value:
namespace boost { \
namespace serialization { \
template<> \
T * factory<T, N>(std::va_list ap){ \
,A0 a0 = va_arg(ap, A0); \
,A1 a1 = va_arg(ap, A1); \
,A2 a2 = va_arg(ap, A2); \
,A3 a3 = va_arg(ap, A3); \
)))) \
return new T( \
,a0 \
,a1 \
,a2 \
,a3 \
)))) \
); \
} \
} \
} \
Duration formatting facet for input.
Definition: accumulators_fwd.hpp:55
T
Definition: mem_fn_cc.hpp:25
A1
Definition: mem_fn_cc.hpp:35
A3
Definition: mem_fn_cc.hpp:55
proto::terminal< detail::attribute_placeholder< mpl::int_< 1 > > >::type const a1
Definition: regex_primitives.hpp:826
proto::terminal< detail::attribute_placeholder< mpl::int_< 2 > > >::type const a2
Definition: regex_primitives.hpp:827
proto::terminal< detail::attribute_placeholder< mpl::int_< 3 > > >::type const a3
Definition: regex_primitives.hpp:828
#define BOOST_PP_IF(cond, t, f)
Definition: if.hpp:26
#define N
Definition: forward_adapter.hpp:198
#define BOOST_PP_GREATER(x, y)
Definition: greater.hpp:25
A2
Definition: mem_fn_cc.hpp:45
#define BOOST_PP_EMPTY()
Definition: empty.hpp:21
#define BOOST_SERIALIZATION_FACTORY_0 (   T)
Value:
namespace boost { \
namespace serialization { \
template<> \
T * factory<T, 0>(std::va_list){ \
return new T(); \
} \
} \
} \
Duration formatting facet for input.
Definition: accumulators_fwd.hpp:55
T
Definition: mem_fn_cc.hpp:25
#define BOOST_SERIALIZATION_FACTORY_1 (   T,
  A0 
)    BOOST_SERIALIZATION_FACTORY(1, T, A0, 0, 0, 0)
#define BOOST_SERIALIZATION_FACTORY_2 (   T,
  A0,
  A1 
)    BOOST_SERIALIZATION_FACTORY(2, T, A0, A1, 0, 0)
#define BOOST_SERIALIZATION_FACTORY_3 (   T,
  A0,
  A1,
  A2 
)    BOOST_SERIALIZATION_FACTORY(3, T, A0, A1, A2, 0)
#define BOOST_SERIALIZATION_FACTORY_4 (   T,
  A0,
  A1,
  A2,
  A3 
)    BOOST_SERIALIZATION_FACTORY(4, T, A0, A1, A2, A3)