Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::serialization::nvp< T > Struct Template Reference

#include <nvp.hpp>

Inheritance diagram for boost::serialization::nvp< T >:
Collaboration diagram for boost::serialization::nvp< T >:

Public Types

typedef mpl::int_< Level > level
 
typedef mpl::int_< Tracking > tracking
 
typedef mpl::int_< Version > version
 
typedef ETII type_info_implementation
 
typedef mpl::true_ is_wrapper
 

Public Member Functions

 nvp (const char *name_, T &t)
 
 nvp (const nvp &rhs)
 
const char * name () const
 
Tvalue () const
 
const Tconst_value () const
 
template<class Archivex >
void save (Archivex &ar, const unsigned int) const
 
template<class Archivex >
void load (Archivex &ar, const unsigned int)
 
 BOOST_STATIC_ASSERT (Version==0||Level >=object_class_info)
 
 BOOST_STATIC_ASSERT (Tracking==track_never||Level >=object_serializable)
 

Member Typedef Documentation

typedef mpl::true_ boost::serialization::traits< const nvp< T > , Level, Tracking, Version, ETII, mpl::true_ >::is_wrapper
inherited
typedef mpl::int_<Level> boost::serialization::traits< const nvp< T > , Level, Tracking, Version, ETII, mpl::true_ >::level
inherited
typedef mpl::int_<Tracking> boost::serialization::traits< const nvp< T > , Level, Tracking, Version, ETII, mpl::true_ >::tracking
inherited
typedef ETII boost::serialization::traits< const nvp< T > , Level, Tracking, Version, ETII, mpl::true_ >::type_info_implementation
inherited
typedef mpl::int_<Version> boost::serialization::traits< const nvp< T > , Level, Tracking, Version, ETII, mpl::true_ >::version
inherited

Constructor & Destructor Documentation

template<class T>
boost::serialization::nvp< T >::nvp ( const char *  name_,
T t 
)
inlineexplicit
template<class T>
boost::serialization::nvp< T >::nvp ( const nvp< T > &  rhs)
inline

Member Function Documentation

boost::serialization::traits< const nvp< T > , Level, Tracking, Version, ETII, mpl::true_ >::BOOST_STATIC_ASSERT ( Version  = = 0 || Level >= object_class_info)
inherited
boost::serialization::traits< const nvp< T > , Level, Tracking, Version, ETII, mpl::true_ >::BOOST_STATIC_ASSERT ( Tracking  = = track_never || Level >= object_serializable)
inherited
template<class T>
const T& boost::serialization::nvp< T >::const_value ( ) const
inline
template<class T>
template<class Archivex >
void boost::serialization::nvp< T >::load ( Archivex &  ar,
const unsigned  int 
)
inline
template<class T>
const char* boost::serialization::nvp< T >::name ( ) const
inline
template<class T>
template<class Archivex >
void boost::serialization::nvp< T >::save ( Archivex &  ar,
const unsigned  int 
) const
inline
template<class T>
T& boost::serialization::nvp< T >::value ( ) const
inline

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