Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
class_properties.hpp File Reference
#include <boost/test/detail/config.hpp>
#include <boost/preprocessor/seq/for_each.hpp>
#include <boost/call_traits.hpp>
#include <boost/type_traits/add_pointer.hpp>
#include <boost/type_traits/add_const.hpp>
#include <boost/utility/addressof.hpp>
#include <iosfwd>
#include <boost/test/detail/suppress_warnings.hpp>
#include <boost/test/detail/enable_warnings.hpp>
Include dependency graph for class_properties.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  boost::unit_test::class_property< PropertyType >
 
class  boost::unit_test::readonly_property< PropertyType >
 
class  boost::unit_test::readwrite_property< PropertyType >
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::unit_test
 

Macros

#define DEFINE_PROPERTY_FREE_BINARY_OPERATOR(op)
 
#define BOOST_READONLY_PROPERTY_DECLARE_FRIEND(r, data, elem)   friend class elem;
 
#define BOOST_READONLY_PROPERTY(property_type, friends)
 

Functions

template<typename CharT1 , typename Tr , class PropertyType >
std::basic_ostream< CharT1, Tr > & boost::unit_test::operator<< (std::basic_ostream< CharT1, Tr > &os, class_property< PropertyType > const &p)
 
template<class PropertyType >
bool boost::unit_test::operator== (PropertyType const &lhs, class_property< PropertyType > const &rhs)
 
template<class PropertyType >
bool boost::unit_test::operator== (class_property< PropertyType > const &lhs, PropertyType const &rhs)
 
template<class PropertyType >
bool boost::unit_test::operator== (class_property< PropertyType > const &lhs, class_property< PropertyType > const &rhs)
 
template<class PropertyType >
bool boost::unit_test::operator!= (PropertyType const &lhs, class_property< PropertyType > const &rhs)
 
template<class PropertyType >
bool boost::unit_test::operator!= (class_property< PropertyType > const &lhs, PropertyType const &rhs)
 
template<class PropertyType >
bool boost::unit_test::operator!= (class_property< PropertyType > const &lhs, class_property< PropertyType > const &rhs)
 

Macro Definition Documentation

#define BOOST_READONLY_PROPERTY (   property_type,
  friends 
)
Value:
class BOOST_JOIN( readonly_property, __LINE__ ) \
: public boost::unit_test::readonly_property<property_type > { \
typedef base_prop::write_param_t write_param_t; \
public: \
BOOST_JOIN( readonly_property, __LINE__ )() {} \
explicit BOOST_JOIN( readonly_property, __LINE__ )( write_param_t init_v ) \
: base_prop( init_v ) {} \
} \
#define BOOST_JOIN(X, Y)
Definition: suffix.hpp:544
Definition: class_properties.hpp:146
BOOST_JOIN(function, BOOST_FUNCTION_NUM_ARGS)()
Definition: function_template.hpp:707
#define BOOST_PP_SEQ_FOR_EACH(macro, data, seq)
Definition: for_each.hpp:28
base_prop::write_param_t write_param_t
Definition: class_properties.hpp:150
#define BOOST_READONLY_PROPERTY_DECLARE_FRIEND(r, data, elem)
Definition: class_properties.hpp:168
#define BOOST_READONLY_PROPERTY_DECLARE_FRIEND (   r,
  data,
  elem 
)    friend class elem;
#define DEFINE_PROPERTY_FREE_BINARY_OPERATOR (   op)
Value:
template<class PropertyType> \
inline bool \
operator op( PropertyType const& lhs, class_property<PropertyType> const& rhs ) \
{ \
return lhs op rhs.get(); \
} \
template<class PropertyType> \
inline bool \
operator op( class_property<PropertyType> const& lhs, PropertyType const& rhs ) \
{ \
return lhs.get() op rhs; \
} \
template<class PropertyType> \
inline bool \
operator op( class_property<PropertyType> const& lhs, \
class_property<PropertyType> const& rhs ) \
{ \
return lhs.get() op rhs.get(); \
} \