|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71608 - in sandbox/property/boost/property: . detail
From: eldiener_at_[hidden]
Date: 2011-04-29 14:53:11
Author: eldiener
Date: 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
New Revision: 71608
URL: http://svn.boost.org/trac/boost/changeset/71608
Log:
Changing identifiers to use Boost naming conventions.
Removed:
sandbox/property/boost/property/PropertyGlobalFunctions.hpp
Text files modified:
sandbox/property/boost/property/PropertyAutoPredicate.hpp | 240 +++++++++++++++---------------
sandbox/property/boost/property/PropertyAutoReference.hpp | 6
sandbox/property/boost/property/PropertyAutoValue.hpp | 246 +++++++++++++++---------------
sandbox/property/boost/property/PropertyCallableReference.hpp | 10
sandbox/property/boost/property/PropertyCallableValue.hpp | 252 ++++++++++++++++----------------
sandbox/property/boost/property/PropertyDataPredicate.hpp | 288 ++++++++++++++++++------------------
sandbox/property/boost/property/PropertyDataReference.hpp | 4
sandbox/property/boost/property/PropertyDataValue.hpp | 288 ++++++++++++++++++------------------
sandbox/property/boost/property/PropertyException.hpp | 12
sandbox/property/boost/property/PropertyFunctionReference.hpp | 8
sandbox/property/boost/property/PropertyFunctionValue.hpp | 234 ++++++++++++++--------------
sandbox/property/boost/property/PropertyFunctorReference.hpp | 6
sandbox/property/boost/property/PropertyFunctorValue.hpp | 244 +++++++++++++++---------------
sandbox/property/boost/property/PropertyIndexInterface.hpp | 8
sandbox/property/boost/property/PropertyIndexMap.hpp | 8
sandbox/property/boost/property/PropertyInterface.hpp | 10
sandbox/property/boost/property/PropertyMemberDataPredicate.hpp | 312 ++++++++++++++++++++--------------------
sandbox/property/boost/property/PropertyMemberDataReference.hpp | 6
sandbox/property/boost/property/PropertyMemberDataValue.hpp | 306 +++++++++++++++++++-------------------
sandbox/property/boost/property/PropertyMemberFunctionReference.hpp | 10
sandbox/property/boost/property/PropertyMemberFunctionValue.hpp | 244 +++++++++++++++---------------
sandbox/property/boost/property/PropertyNotificationBoostSignal.hpp | 6
sandbox/property/boost/property/PropertyOperators.hpp | 180 +++++++++++-----------
sandbox/property/boost/property/PropertyOperatorsDetail.hpp | 116 +++++++-------
sandbox/property/boost/property/PropertyOperatorsEnabling.hpp | 48 +++---
sandbox/property/boost/property/PropertyPredicateFailureRuntimeException.hpp | 4
sandbox/property/boost/property/PropertyReferenceInterface.hpp | 2
sandbox/property/boost/property/PropertyTag.hpp | 8
sandbox/property/boost/property/detail/PropertyIndexMapDetail.h | 12
29 files changed, 1559 insertions(+), 1559 deletions(-)
Modified: sandbox/property/boost/property/PropertyAutoPredicate.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyAutoPredicate.hpp (original)
+++ sandbox/property/boost/property/PropertyAutoPredicate.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -19,56 +19,56 @@
{
template <class T,
- template <class> class NotificationPolicy = DefaultPolicyTag,
- template <class> class PredicateFailurePolicy = DefaultPolicyTag
+ template <class> class NotificationPolicy = default_policy_tag,
+ template <class> class PredicateFailurePolicy = default_policy_tag
>
- struct propAutoPredicate:
- propAuto<T,NotificationPolicy>,
+ struct prop_auto_predicate:
+ prop_auto<T,NotificationPolicy>,
PredicateFailurePolicy<T>
{
BOOST_MPL_ASSERT_NOT((boost::is_const<T>));
- explicit propAutoPredicate(boost::function<bool (T)> f) :
+ explicit prop_auto_predicate(boost::function<bool (T)> f) :
fs(f)
{
}
- propAutoPredicate(const propAutoPredicate & arg) :
- propAuto<T,NotificationPolicy>(static_cast<const propAuto<T,NotificationPolicy> &>(arg)),
+ prop_auto_predicate(const prop_auto_predicate & arg) :
+ prop_auto<T,NotificationPolicy>(static_cast<const prop_auto<T,NotificationPolicy> &>(arg)),
fs(arg.fs)
{
}
- propAutoPredicate(boost::function<bool (T)> f,T arg) :
- propAuto<T,NotificationPolicy>(init(f,arg)),
+ prop_auto_predicate(boost::function<bool (T)> f,T arg) :
+ prop_auto<T,NotificationPolicy>(init(f,arg)),
fs(f)
{
}
template<class U>
- propAutoPredicate(boost::function<bool (T)> f,U arg) :
- propAuto<T,NotificationPolicy>(init(f,arg)),
+ prop_auto_predicate(boost::function<bool (T)> f,U arg) :
+ prop_auto<T,NotificationPolicy>(init(f,arg)),
fs(f)
{
}
- propAutoPredicate & operator = (const propAutoPredicate & arg)
+ prop_auto_predicate & operator = (const prop_auto_predicate & arg)
{
- static_cast<propAuto<T,NotificationPolicy> &>(*this) = static_cast<const propAuto<T,NotificationPolicy> &>(arg);
+ static_cast<prop_auto<T,NotificationPolicy> &>(*this) = static_cast<const prop_auto<T,NotificationPolicy> &>(arg);
return(*this);
}
- propAutoPredicate & operator = (T arg)
+ prop_auto_predicate & operator = (T arg)
{
- static_cast<propAuto<T,NotificationPolicy> &>(*this) = arg;
+ static_cast<prop_auto<T,NotificationPolicy> &>(*this) = arg;
return(*this);
}
template<class U>
- propAutoPredicate & operator = (U arg)
+ prop_auto_predicate & operator = (U arg)
{
- static_cast<propAuto<T,NotificationPolicy> &>(*this) = arg;
+ static_cast<prop_auto<T,NotificationPolicy> &>(*this) = arg;
return(*this);
}
@@ -76,7 +76,7 @@
{
if (!fs || fs(arg))
{
- propAuto<T,NotificationPolicy>::set(arg);
+ prop_auto<T,NotificationPolicy>::set(arg);
}
else
{
@@ -138,52 +138,52 @@
template <class T,
template <class> class NotificationPolicy
>
- struct propAutoPredicate<T,NotificationPolicy,DefaultPolicyTag> :
- propAuto<T,NotificationPolicy>
+ struct prop_auto_predicate<T,NotificationPolicy,default_policy_tag> :
+ prop_auto<T,NotificationPolicy>
{
BOOST_MPL_ASSERT_NOT((boost::is_const<T>));
- explicit propAutoPredicate(boost::function<bool (T)> f) :
+ explicit prop_auto_predicate(boost::function<bool (T)> f) :
fs(f)
{
}
- propAutoPredicate(const propAutoPredicate & arg) :
- propAuto<T,NotificationPolicy>(static_cast<const propAuto<T,NotificationPolicy> &>(arg)),
+ prop_auto_predicate(const prop_auto_predicate & arg) :
+ prop_auto<T,NotificationPolicy>(static_cast<const prop_auto<T,NotificationPolicy> &>(arg)),
fs(arg.fs)
{
}
- propAutoPredicate(boost::function<bool (T)> f,T arg) :
- propAuto<T,NotificationPolicy>(init(f,arg)),
+ prop_auto_predicate(boost::function<bool (T)> f,T arg) :
+ prop_auto<T,NotificationPolicy>(init(f,arg)),
fs(f)
{
}
template<class U>
- propAutoPredicate(boost::function<bool (T)> f,U arg) :
- propAuto<T,NotificationPolicy>(init(f,arg)),
+ prop_auto_predicate(boost::function<bool (T)> f,U arg) :
+ prop_auto<T,NotificationPolicy>(init(f,arg)),
fs(f)
{
}
- propAutoPredicate & operator = (const propAutoPredicate & arg)
+ prop_auto_predicate & operator = (const prop_auto_predicate & arg)
{
- static_cast<propAuto<T,NotificationPolicy> &>(*this) = static_cast<const propAuto<T,NotificationPolicy> &>(arg);
+ static_cast<prop_auto<T,NotificationPolicy> &>(*this) = static_cast<const prop_auto<T,NotificationPolicy> &>(arg);
return(*this);
}
- propAutoPredicate & operator = (T arg)
+ prop_auto_predicate & operator = (T arg)
{
- static_cast<propAuto<T,NotificationPolicy> &>(*this) = arg;
+ static_cast<prop_auto<T,NotificationPolicy> &>(*this) = arg;
return(*this);
}
template<class U>
- propAutoPredicate & operator = (U arg)
+ prop_auto_predicate & operator = (U arg)
{
- static_cast<propAuto<T,NotificationPolicy> &>(*this) = arg;
+ static_cast<prop_auto<T,NotificationPolicy> &>(*this) = arg;
return(*this);
}
@@ -191,7 +191,7 @@
{
if (!fs || fs(arg))
{
- propAuto<T,NotificationPolicy>::set(arg);
+ prop_auto<T,NotificationPolicy>::set(arg);
}
}
@@ -246,10 +246,10 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFIncrement<T>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_increment<T>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator ++ (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & value)
+operator ++ (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & value)
{
T t(value.get());
@@ -262,10 +262,10 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFDecrement<T>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_decrement<T>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator -- (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & value)
+operator -- (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & value)
{
T t(value.get());
@@ -278,13 +278,13 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignMultiplySame<T>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_assign_multiply_same<T>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator *= (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & first,T second)
+operator *= (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & first,T second)
{
- typename detail::BinaryROMultiplySame<T>::type t(first.get() * second);
+ typename detail::binary_ro_multiply_same<T>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -293,13 +293,13 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignMultiply<T,U>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_assign_multiply<T,U>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator *= (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & first,U second)
+operator *= (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & first,U second)
{
- typename detail::BinaryROMultiply<T,U>::type t(first.get() * second);
+ typename detail::binary_ro_multiply<T,U>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -308,13 +308,13 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignDivideSame<T>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_assign_divide_same<T>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator /= (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & first,T second)
+operator /= (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & first,T second)
{
- typename detail::BinaryRODivideSame<T>::type t(first.get() / second);
+ typename detail::binary_ro_divide_same<T>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -323,13 +323,13 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignDivide<T,U>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_assign_divide<T,U>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator /= (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & first,U second)
+operator /= (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & first,U second)
{
- typename detail::BinaryRODivide<T,U>::type t(first.get() / second);
+ typename detail::binary_ro_divide<T,U>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -338,13 +338,13 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignModuloSame<T>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_assign_modulo_same<T>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator %= (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & first,T second)
+operator %= (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & first,T second)
{
- typename detail::BinaryROModuloSame<T>::type t(first.get() % second);
+ typename detail::binary_ro_modulo_same<T>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -353,13 +353,13 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignModulo<T,U>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_assign_modulo<T,U>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator %= (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & first,U second)
+operator %= (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & first,U second)
{
- typename detail::BinaryROModulo<T,U>::type t(first.get() % second);
+ typename detail::binary_ro_modulo<T,U>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -368,13 +368,13 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignAddSame<T>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_assign_add_same<T>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator += (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & first,T second)
+operator += (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & first,T second)
{
- typename detail::BinaryROAddSame<T>::type t(first.get() + second);
+ typename detail::binary_ro_add_same<T>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -383,13 +383,13 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignAdd<T,U>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_assign_add<T,U>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator += (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & first,U second)
+operator += (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & first,U second)
{
- typename detail::BinaryROAdd<T,U>::type t(first.get() + second);
+ typename detail::binary_ro_add<T,U>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -398,13 +398,13 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignSubtractSame<T>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_assign_subtract_same<T>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator -= (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & first,T second)
+operator -= (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & first,T second)
{
- typename detail::BinaryROSubtractSame<T>::type t(first.get() - second);
+ typename detail::binary_ro_subtract_same<T>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -413,13 +413,13 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignSubtract<T,U>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_assign_subtract<T,U>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator -= (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & first,U second)
+operator -= (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & first,U second)
{
- typename detail::BinaryROSubtract<T,U>::type t(first.get() - second);
+ typename detail::binary_ro_subtract<T,U>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -428,13 +428,13 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShiftSame<T>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_assign_left_shift_same<T>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator <<= (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & first,T second)
+operator <<= (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & first,T second)
{
- typename detail::BinaryROLeftShiftSame<T>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift_same<T>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -443,13 +443,13 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShift<T,U>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_assign_left_shift<T,U>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator <<= (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & first,U second)
+operator <<= (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & first,U second)
{
- typename detail::BinaryROLeftShift<T,U>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift<T,U>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -458,13 +458,13 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignRightShiftSame<T>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_assign_right_shift_same<T>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator >>= (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & first,T second)
+operator >>= (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & first,T second)
{
- typename detail::BinaryRORightShiftSame<T>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift_same<T>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -473,13 +473,13 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignRightShift<T,U>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_assign_right_shift<T,U>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator >>= (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & first,U second)
+operator >>= (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & first,U second)
{
- typename detail::BinaryRORightShift<T,U>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift<T,U>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -488,13 +488,13 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignAndSame<T>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_assign_and_same<T>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator &= (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & first,T second)
+operator &= (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & first,T second)
{
- typename detail::BinaryROAndSame<T>::type t(first.get() & second);
+ typename detail::binary_ro_and_same<T>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -503,13 +503,13 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignAnd<T,U>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_assign_and<T,U>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator &= (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & first,U second)
+operator &= (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & first,U second)
{
- typename detail::BinaryROAnd<T,U>::type t(first.get() & second);
+ typename detail::binary_ro_and<T,U>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -518,13 +518,13 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignXOrSame<T>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_assign_xor_same<T>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator ^= (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & first,T second)
+operator ^= (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & first,T second)
{
- typename detail::BinaryROXOrSame<T>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor_same<T>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -533,13 +533,13 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignXOr<T,U>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_assign_xor<T,U>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator ^= (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & first,U second)
+operator ^= (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & first,U second)
{
- typename detail::BinaryROXOr<T,U>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor<T,U>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -548,13 +548,13 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignOrSame<T>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_assign_or_same<T>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator |= (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & first,T second)
+operator |= (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & first,T second)
{
- typename detail::BinaryROOrSame<T>::type t(first.get() | second);
+ typename detail::binary_ro_or_same<T>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
@@ -563,13 +563,13 @@
template <class T,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignOr<T,U>::type,
- propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> &
+ typename detail::omf_assign_or<T,U>::type,
+ prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> &
>::type
-operator |= (propAutoPredicate<T,NotificationPolicy,PredicateFailurePolicy> & first,U second)
+operator |= (prop_auto_predicate<T,NotificationPolicy,PredicateFailurePolicy> & first,U second)
{
- typename detail::BinaryROOr<T,U>::type t(first.get() | second);
+ typename detail::binary_ro_or<T,U>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
Modified: sandbox/property/boost/property/PropertyAutoReference.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyAutoReference.hpp (original)
+++ sandbox/property/boost/property/PropertyAutoReference.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -8,13 +8,13 @@
{
template <class T>
- class propAutoReference : public IPropertyReferenceRead<T>
+ class prop_auto_reference : public i_property_reference_read<T>
{
public:
- propAutoReference() { }
- explicit propAutoReference(T arg) : data(arg) { }
+ prop_auto_reference() { }
+ explicit prop_auto_reference(T arg) : data(arg) { }
operator const T & () const { return(get()); }
operator T & () { return(get()); }
Modified: sandbox/property/boost/property/PropertyAutoValue.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyAutoValue.hpp (original)
+++ sandbox/property/boost/property/PropertyAutoValue.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -20,34 +20,34 @@
{
template <class T,
- template <class> class NotificationPolicy = DefaultPolicyTag,
+ template <class> class NotificationPolicy = default_policy_tag,
class Access = typename boost::mpl::if_
<
boost::is_const<T>,
- ReadTag,
- ReadWriteTag
+ read_tag,
+ read_write_tag
>::type
>
- class propAuto;
+ class prop_auto;
template <class T>
- class propAuto<T,DefaultPolicyTag,ReadTag> :
- public virtual IPropertyRead<T>
+ class prop_auto<T,default_policy_tag,read_tag> :
+ public virtual i_property_read<T>
{
public:
- propAuto()
+ prop_auto()
{
}
- explicit propAuto(T arg) :
+ explicit prop_auto(T arg) :
data(arg)
{
}
template<class U>
- explicit propAuto(U arg) :
+ explicit prop_auto(U arg) :
data(static_cast<T>(arg))
{
}
@@ -68,49 +68,49 @@
private:
- propAuto & operator = (const propAuto & arg);
+ prop_auto & operator = (const prop_auto & arg);
};
template <class T>
- struct propAuto<T,DefaultPolicyTag,ReadWriteTag> :
- propAuto<T,DefaultPolicyTag,ReadTag>,
- IPropertyReadWrite<T>
+ struct prop_auto<T,default_policy_tag,read_write_tag> :
+ prop_auto<T,default_policy_tag,read_tag>,
+ i_property_read_write<T>
{
- propAuto()
+ prop_auto()
{
}
- propAuto(const propAuto & arg) :
- propAuto<T,DefaultPolicyTag,ReadTag>(static_cast<const propAuto<T,DefaultPolicyTag,ReadTag> &>(arg))
+ prop_auto(const prop_auto & arg) :
+ prop_auto<T,default_policy_tag,read_tag>(static_cast<const prop_auto<T,default_policy_tag,read_tag> &>(arg))
{
}
- explicit propAuto(T arg) :
- propAuto<T,DefaultPolicyTag,ReadTag>(arg)
+ explicit prop_auto(T arg) :
+ prop_auto<T,default_policy_tag,read_tag>(arg)
{
}
template<class U>
- explicit propAuto(U arg) :
- propAuto<T,DefaultPolicyTag,ReadTag>(arg)
+ explicit prop_auto(U arg) :
+ prop_auto<T,default_policy_tag,read_tag>(arg)
{
}
- propAuto & operator = (const propAuto & arg)
+ prop_auto & operator = (const prop_auto & arg)
{
return(*this = static_cast<T>(arg));
}
- propAuto & operator = (T arg)
+ prop_auto & operator = (T arg)
{
set(arg);
return(*this);
}
template<class U>
- propAuto & operator = (U arg)
+ prop_auto & operator = (U arg)
{
set(static_cast<T>(arg));
return(*this);
@@ -124,45 +124,45 @@
};
template <class T,template <class> class NotificationPolicy>
- struct propAuto<T,NotificationPolicy,ReadWriteTag> :
- propAuto<T,DefaultPolicyTag,ReadTag>,
- IPropertyReadWrite<T>,
+ struct prop_auto<T,NotificationPolicy,read_write_tag> :
+ prop_auto<T,default_policy_tag,read_tag>,
+ i_property_read_write<T>,
NotificationPolicy<T>
{
- propAuto()
+ prop_auto()
{
}
- propAuto(const propAuto & arg) :
- propAuto<T,DefaultPolicyTag,ReadTag>(static_cast<const propAuto<T,DefaultPolicyTag,ReadTag> &>(arg))
+ prop_auto(const prop_auto & arg) :
+ prop_auto<T,default_policy_tag,read_tag>(static_cast<const prop_auto<T,default_policy_tag,read_tag> &>(arg))
{
}
- explicit propAuto(T arg) :
- propAuto<T,DefaultPolicyTag,ReadTag>(arg)
+ explicit prop_auto(T arg) :
+ prop_auto<T,default_policy_tag,read_tag>(arg)
{
}
template<class U>
- explicit propAuto(U arg) :
- propAuto<T,DefaultPolicyTag,ReadTag>(arg)
+ explicit prop_auto(U arg) :
+ prop_auto<T,default_policy_tag,read_tag>(arg)
{
}
- propAuto & operator = (const propAuto & arg)
+ prop_auto & operator = (const prop_auto & arg)
{
return(*this = static_cast<T>(arg));
}
- propAuto & operator = (T arg)
+ prop_auto & operator = (T arg)
{
set(arg);
return(*this);
}
template<class U>
- propAuto & operator = (U arg)
+ prop_auto & operator = (U arg)
{
set(static_cast<T>(arg));
return(*this);
@@ -174,7 +174,7 @@
T t(*this);
boost::get(data) = arg;
- PropertyChanged(*this,boost::optional<T>(t),arg);
+ property_changed(*this,boost::optional<T>(t),arg);
}
};
@@ -182,10 +182,10 @@
template <class T,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFIncrement<T>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_increment<T>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator ++ (propAuto<T,NotificationPolicy,ReadWriteTag> & value)
+operator ++ (prop_auto<T,NotificationPolicy,read_write_tag> & value)
{
T t(value.get());
@@ -198,10 +198,10 @@
template <class T,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFDecrement<T>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_decrement<T>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator -- (propAuto<T,NotificationPolicy,ReadWriteTag> & value)
+operator -- (prop_auto<T,NotificationPolicy,read_write_tag> & value)
{
T t(value.get());
@@ -214,13 +214,13 @@
template <class T,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignMultiplySame<T>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_multiply_same<T>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator *= (propAuto<T,NotificationPolicy,ReadWriteTag> & first,T second)
+operator *= (prop_auto<T,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROMultiplySame<T>::type t(first.get() * second);
+ typename detail::binary_ro_multiply_same<T>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -229,13 +229,13 @@
template <class T,template <class> class NotificationPolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignMultiply<T,U>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_multiply<T,U>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator *= (propAuto<T,NotificationPolicy,ReadWriteTag> & first,U second)
+operator *= (prop_auto<T,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROMultiply<T,U>::type t(first.get() * second);
+ typename detail::binary_ro_multiply<T,U>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -244,13 +244,13 @@
template <class T,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignDivideSame<T>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_divide_same<T>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator /= (propAuto<T,NotificationPolicy,ReadWriteTag> & first,T second)
+operator /= (prop_auto<T,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryRODivideSame<T>::type t(first.get() / second);
+ typename detail::binary_ro_divide_same<T>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -259,13 +259,13 @@
template <class T,template <class> class NotificationPolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignDivide<T,U>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_divide<T,U>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator /= (propAuto<T,NotificationPolicy,ReadWriteTag> & first,U second)
+operator /= (prop_auto<T,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryRODivide<T,U>::type t(first.get() / second);
+ typename detail::binary_ro_divide<T,U>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -274,13 +274,13 @@
template <class T,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignModuloSame<T>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_modulo_same<T>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator %= (propAuto<T,NotificationPolicy,ReadWriteTag> & first,T second)
+operator %= (prop_auto<T,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROModuloSame<T>::type t(first.get() % second);
+ typename detail::binary_ro_modulo_same<T>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -289,13 +289,13 @@
template <class T,template <class> class NotificationPolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignModulo<T,U>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_modulo<T,U>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator %= (propAuto<T,NotificationPolicy,ReadWriteTag> & first,U second)
+operator %= (prop_auto<T,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROModulo<T,U>::type t(first.get() % second);
+ typename detail::binary_ro_modulo<T,U>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -304,13 +304,13 @@
template <class T,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignAddSame<T>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_add_same<T>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator += (propAuto<T,NotificationPolicy,ReadWriteTag> & first,T second)
+operator += (prop_auto<T,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROAddSame<T>::type t(first.get() + second);
+ typename detail::binary_ro_add_same<T>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -319,13 +319,13 @@
template <class T,template <class> class NotificationPolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignAdd<T,U>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_add<T,U>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator += (propAuto<T,NotificationPolicy,ReadWriteTag> & first,U second)
+operator += (prop_auto<T,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROAdd<T,U>::type t(first.get() + second);
+ typename detail::binary_ro_add<T,U>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -334,13 +334,13 @@
template <class T,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignSubtractSame<T>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_subtract_same<T>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator -= (propAuto<T,NotificationPolicy,ReadWriteTag> & first,T second)
+operator -= (prop_auto<T,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROSubtractSame<T>::type t(first.get() - second);
+ typename detail::binary_ro_subtract_same<T>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -349,13 +349,13 @@
template <class T,template <class> class NotificationPolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignSubtract<T,U>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_subtract<T,U>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator -= (propAuto<T,NotificationPolicy,ReadWriteTag> & first,U second)
+operator -= (prop_auto<T,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROSubtract<T,U>::type t(first.get() - second);
+ typename detail::binary_ro_subtract<T,U>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -364,13 +364,13 @@
template <class T,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShiftSame<T>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_left_shift_same<T>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator <<= (propAuto<T,NotificationPolicy,ReadWriteTag> & first,T second)
+operator <<= (prop_auto<T,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROLeftShiftSame<T>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift_same<T>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -379,13 +379,13 @@
template <class T,template <class> class NotificationPolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShift<T,U>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_left_shift<T,U>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator <<= (propAuto<T,NotificationPolicy,ReadWriteTag> & first,U second)
+operator <<= (prop_auto<T,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROLeftShift<T,U>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift<T,U>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -394,13 +394,13 @@
template <class T,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignRightShiftSame<T>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_right_shift_same<T>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator >>= (propAuto<T,NotificationPolicy,ReadWriteTag> & first,T second)
+operator >>= (prop_auto<T,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryRORightShiftSame<T>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift_same<T>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -409,13 +409,13 @@
template <class T,template <class> class NotificationPolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignRightShift<T,U>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_right_shift<T,U>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator >>= (propAuto<T,NotificationPolicy,ReadWriteTag> & first,U second)
+operator >>= (prop_auto<T,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryRORightShift<T,U>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift<T,U>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -424,13 +424,13 @@
template <class T,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignAndSame<T>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_and_same<T>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator &= (propAuto<T,NotificationPolicy,ReadWriteTag> & first,T second)
+operator &= (prop_auto<T,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROAndSame<T>::type t(first.get() & second);
+ typename detail::binary_ro_and_same<T>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -439,13 +439,13 @@
template <class T,template <class> class NotificationPolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignAnd<T,U>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_and<T,U>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator &= (propAuto<T,NotificationPolicy,ReadWriteTag> & first,U second)
+operator &= (prop_auto<T,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROAnd<T,U>::type t(first.get() & second);
+ typename detail::binary_ro_and<T,U>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -454,13 +454,13 @@
template <class T,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignXOrSame<T>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_xor_same<T>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator ^= (propAuto<T,NotificationPolicy,ReadWriteTag> & first,T second)
+operator ^= (prop_auto<T,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROXOrSame<T>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor_same<T>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -469,13 +469,13 @@
template <class T,template <class> class NotificationPolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignXOr<T,U>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_xor<T,U>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator ^= (propAuto<T,NotificationPolicy,ReadWriteTag> & first,U second)
+operator ^= (prop_auto<T,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROXOr<T,U>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor<T,U>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -484,13 +484,13 @@
template <class T,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignOrSame<T>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_or_same<T>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator |= (propAuto<T,NotificationPolicy,ReadWriteTag> & first,T second)
+operator |= (prop_auto<T,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROOrSame<T>::type t(first.get() | second);
+ typename detail::binary_ro_or_same<T>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
@@ -499,13 +499,13 @@
template <class T,template <class> class NotificationPolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignOr<T,U>::type,
- propAuto<T,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_or<T,U>::type,
+ prop_auto<T,NotificationPolicy,read_write_tag> &
>::type
-operator |= (propAuto<T,NotificationPolicy,ReadWriteTag> & first,U second)
+operator |= (prop_auto<T,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROOr<T,U>::type t(first.get() | second);
+ typename detail::binary_ro_or<T,U>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
Modified: sandbox/property/boost/property/PropertyCallableReference.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyCallableReference.hpp (original)
+++ sandbox/property/boost/property/PropertyCallableReference.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -8,13 +8,13 @@
namespace properties
{
template <class T>
- class propCallableReference :
- public IPropertyReferenceRead<T>
+ class prop_callable_reference :
+ public i_property_reference_read<T>
{
public:
- propCallableReference(boost::function<T & ()> g) :
+ prop_callable_reference(boost::function<T & ()> g) :
fg(g)
{
}
@@ -33,7 +33,7 @@
{
if (fg == 0)
{
- throw PropertyReadException();
+ throw property_read_exception();
}
return(fg());
}
@@ -42,7 +42,7 @@
{
if (fg == 0)
{
- throw PropertyReadException();
+ throw property_read_exception();
}
return(fg());
}
Modified: sandbox/property/boost/property/PropertyCallableValue.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyCallableValue.hpp (original)
+++ sandbox/property/boost/property/PropertyCallableValue.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -23,20 +23,20 @@
class Access = typename boost::mpl::if_
<
boost::is_const<T>,
- ReadTag,
- ReadWriteTag
+ read_tag,
+ read_write_tag
>::type
>
- class propCallable;
+ class prop_callable;
template <class T>
- class propCallable<T,ReadTag> :
- public virtual IPropertyRead<T>
+ class prop_callable<T,read_tag> :
+ public virtual i_property_read<T>
{
public:
- explicit propCallable(boost::function<T ()> g) :
+ explicit prop_callable(boost::function<T ()> g) :
fg(g)
{
}
@@ -50,7 +50,7 @@
{
if (fg == 0)
{
- throw PropertyReadException();
+ throw property_read_exception();
}
return(fg());
}
@@ -59,51 +59,51 @@
boost::function<T ()> fg;
- propCallable & operator = (const propCallable & arg);
+ prop_callable & operator = (const prop_callable & arg);
};
template <class T>
- class propCallable<T,WriteTag> :
- public virtual IPropertyWrite<T>
+ class prop_callable<T,write_tag> :
+ public virtual i_property_write<T>
{
public:
- explicit propCallable(boost::function<void (T)> s) :
+ explicit prop_callable(boost::function<void (T)> s) :
fs(s)
{
}
- propCallable(boost::function<void (T)> s,T arg) :
+ prop_callable(boost::function<void (T)> s,T arg) :
fs(s)
{
if (fs == 0)
{
- throw PropertyWriteException();
+ throw property_write_exception();
}
fs(arg);
}
template<class U>
- propCallable(boost::function<void (T)> s,U arg) :
+ prop_callable(boost::function<void (T)> s,U arg) :
fs(s)
{
if (fs == 0)
{
- throw PropertyWriteException();
+ throw property_write_exception();
}
fs(static_cast<T>(arg));
}
- propCallable & operator = (T arg)
+ prop_callable & operator = (T arg)
{
set(arg);
return(*this);
}
template<class U>
- propCallable & operator = (U arg)
+ prop_callable & operator = (U arg)
{
set(static_cast<T>(arg));
return(*this);
@@ -113,7 +113,7 @@
{
if (fs == 0)
{
- throw PropertyWriteException();
+ throw property_write_exception();
}
fs(arg);
}
@@ -122,57 +122,57 @@
boost::function<void (T)> fs;
- propCallable & operator = (const propCallable & arg);
+ prop_callable & operator = (const prop_callable & arg);
};
template <class T>
- struct propCallable<T,ReadWriteTag> :
- propCallable<T,ReadTag>,
- propCallable<T,WriteTag>,
- IPropertyReadWrite<T>
+ struct prop_callable<T,read_write_tag> :
+ prop_callable<T,read_tag>,
+ prop_callable<T,write_tag>,
+ i_property_read_write<T>
{
- propCallable(const propCallable & arg) :
- propCallable<T,ReadTag>(arg),
- propCallable<T,WriteTag>(static_cast<const propCallable<T,WriteTag> &>(arg))
+ prop_callable(const prop_callable & arg) :
+ prop_callable<T,read_tag>(arg),
+ prop_callable<T,write_tag>(static_cast<const prop_callable<T,write_tag> &>(arg))
{
}
- propCallable(boost::function<T ()> g,boost::function<void (T)> s) :
- propCallable<T,ReadTag>(g),
- propCallable<T,WriteTag>(s)
+ prop_callable(boost::function<T ()> g,boost::function<void (T)> s) :
+ prop_callable<T,read_tag>(g),
+ prop_callable<T,write_tag>(s)
{
}
- propCallable(boost::function<T ()> g,boost::function<void (T)> s,T arg) :
- propCallable<T,ReadTag>(g),
- propCallable<T,WriteTag>(s,arg)
+ prop_callable(boost::function<T ()> g,boost::function<void (T)> s,T arg) :
+ prop_callable<T,read_tag>(g),
+ prop_callable<T,write_tag>(s,arg)
{
}
template<class U>
- propCallable(boost::function<T ()> g,boost::function<void (T)> s,U arg) :
- propCallable<T,ReadTag>(g),
- propCallable<T,WriteTag>(s,arg)
+ prop_callable(boost::function<T ()> g,boost::function<void (T)> s,U arg) :
+ prop_callable<T,read_tag>(g),
+ prop_callable<T,write_tag>(s,arg)
{
}
- propCallable & operator = (const propCallable & arg)
+ prop_callable & operator = (const prop_callable & arg)
{
return(*this = static_cast<T>(arg));
}
- propCallable & operator = (T arg)
+ prop_callable & operator = (T arg)
{
- (static_cast<propCallable<T,WriteTag> &>(*this)) = arg;
+ (static_cast<prop_callable<T,write_tag> &>(*this)) = arg;
return(*this);
}
template<class U>
- propCallable & operator = (U arg)
+ prop_callable & operator = (U arg)
{
- (static_cast<propCallable<T,WriteTag> &>(*this)) = arg;
+ (static_cast<prop_callable<T,write_tag> &>(*this)) = arg;
return(*this);
}
@@ -181,10 +181,10 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFIncrement<T>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_increment<T>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator ++ (propCallable<T,ReadWriteTag> & value)
+operator ++ (prop_callable<T,read_write_tag> & value)
{
T t(value.get());
@@ -197,10 +197,10 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFDecrement<T>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_decrement<T>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator -- (propCallable<T,ReadWriteTag> & value)
+operator -- (prop_callable<T,read_write_tag> & value)
{
T t(value.get());
@@ -213,13 +213,13 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFAssignMultiplySame<T>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_assign_multiply_same<T>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator *= (propCallable<T,ReadWriteTag> & first,T second)
+operator *= (prop_callable<T,read_write_tag> & first,T second)
{
- typename detail::BinaryROMultiplySame<T>::type t(first.get() * second);
+ typename detail::binary_ro_multiply_same<T>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -228,13 +228,13 @@
template <class T,class U>
typename boost::enable_if
<
- typename detail::OMFAssignMultiply<T,U>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_assign_multiply<T,U>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator *= (propCallable<T,ReadWriteTag> & first,U second)
+operator *= (prop_callable<T,read_write_tag> & first,U second)
{
- typename detail::BinaryROMultiply<T,U>::type t(first.get() * second);
+ typename detail::binary_ro_multiply<T,U>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -243,13 +243,13 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFAssignDivideSame<T>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_assign_divide_same<T>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator /= (propCallable<T,ReadWriteTag> & first,T second)
+operator /= (prop_callable<T,read_write_tag> & first,T second)
{
- typename detail::BinaryRODivideSame<T>::type t(first.get() / second);
+ typename detail::binary_ro_divide_same<T>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -258,13 +258,13 @@
template <class T,class U>
typename boost::enable_if
<
- typename detail::OMFAssignDivide<T,U>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_assign_divide<T,U>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator /= (propCallable<T,ReadWriteTag> & first,U second)
+operator /= (prop_callable<T,read_write_tag> & first,U second)
{
- typename detail::BinaryRODivide<T,U>::type t(first.get() / second);
+ typename detail::binary_ro_divide<T,U>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -273,13 +273,13 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFAssignModuloSame<T>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_assign_modulo_same<T>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator %= (propCallable<T,ReadWriteTag> & first,T second)
+operator %= (prop_callable<T,read_write_tag> & first,T second)
{
- typename detail::BinaryROModuloSame<T>::type t(first.get() % second);
+ typename detail::binary_ro_modulo_same<T>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -288,13 +288,13 @@
template <class T,class U>
typename boost::enable_if
<
- typename detail::OMFAssignModulo<T,U>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_assign_modulo<T,U>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator %= (propCallable<T,ReadWriteTag> & first,U second)
+operator %= (prop_callable<T,read_write_tag> & first,U second)
{
- typename detail::BinaryROModulo<T,U>::type t(first.get() % second);
+ typename detail::binary_ro_modulo<T,U>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -303,13 +303,13 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFAssignAddSame<T>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_assign_add_same<T>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator += (propCallable<T,ReadWriteTag> & first,T second)
+operator += (prop_callable<T,read_write_tag> & first,T second)
{
- typename detail::BinaryROAddSame<T>::type t(first.get() + second);
+ typename detail::binary_ro_add_same<T>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -318,13 +318,13 @@
template <class T,class U>
typename boost::enable_if
<
- typename detail::OMFAssignAdd<T,U>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_assign_add<T,U>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator += (propCallable<T,ReadWriteTag> & first,U second)
+operator += (prop_callable<T,read_write_tag> & first,U second)
{
- typename detail::BinaryROAdd<T,U>::type t(first.get() + second);
+ typename detail::binary_ro_add<T,U>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -333,13 +333,13 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFAssignSubtractSame<T>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_assign_subtract_same<T>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator -= (propCallable<T,ReadWriteTag> & first,T second)
+operator -= (prop_callable<T,read_write_tag> & first,T second)
{
- typename detail::BinaryROSubtractSame<T>::type t(first.get() - second);
+ typename detail::binary_ro_subtract_same<T>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -348,13 +348,13 @@
template <class T,class U>
typename boost::enable_if
<
- typename detail::OMFAssignSubtract<T,U>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_assign_subtract<T,U>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator -= (propCallable<T,ReadWriteTag> & first,U second)
+operator -= (prop_callable<T,read_write_tag> & first,U second)
{
- typename detail::BinaryROSubtract<T,U>::type t(first.get() - second);
+ typename detail::binary_ro_subtract<T,U>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -363,13 +363,13 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShiftSame<T>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_assign_left_shift_same<T>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator <<= (propCallable<T,ReadWriteTag> & first,T second)
+operator <<= (prop_callable<T,read_write_tag> & first,T second)
{
- typename detail::BinaryROLeftShiftSame<T>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift_same<T>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -378,13 +378,13 @@
template <class T,class U>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShift<T,U>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_assign_left_shift<T,U>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator <<= (propCallable<T,ReadWriteTag> & first,U second)
+operator <<= (prop_callable<T,read_write_tag> & first,U second)
{
- typename detail::BinaryROLeftShift<T,U>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift<T,U>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -393,13 +393,13 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFAssignRightShiftSame<T>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_assign_right_shift_same<T>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator >>= (propCallable<T,ReadWriteTag> & first,T second)
+operator >>= (prop_callable<T,read_write_tag> & first,T second)
{
- typename detail::BinaryRORightShiftSame<T>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift_same<T>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -408,13 +408,13 @@
template <class T,class U>
typename boost::enable_if
<
- typename detail::OMFAssignRightShift<T,U>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_assign_right_shift<T,U>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator >>= (propCallable<T,ReadWriteTag> & first,U second)
+operator >>= (prop_callable<T,read_write_tag> & first,U second)
{
- typename detail::BinaryRORightShift<T,U>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift<T,U>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -423,13 +423,13 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFAssignAndSame<T>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_assign_and_same<T>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator &= (propCallable<T,ReadWriteTag> & first,T second)
+operator &= (prop_callable<T,read_write_tag> & first,T second)
{
- typename detail::BinaryROAndSame<T>::type t(first.get() & second);
+ typename detail::binary_ro_and_same<T>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -438,13 +438,13 @@
template <class T,class U>
typename boost::enable_if
<
- typename detail::OMFAssignAnd<T,U>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_assign_and<T,U>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator &= (propCallable<T,ReadWriteTag> & first,U second)
+operator &= (prop_callable<T,read_write_tag> & first,U second)
{
- typename detail::BinaryROAnd<T,U>::type t(first.get() & second);
+ typename detail::binary_ro_and<T,U>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -453,13 +453,13 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFAssignXOrSame<T>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_assign_xor_same<T>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator ^= (propCallable<T,ReadWriteTag> & first,T second)
+operator ^= (prop_callable<T,read_write_tag> & first,T second)
{
- typename detail::BinaryROXOrSame<T>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor_same<T>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -468,13 +468,13 @@
template <class T,class U>
typename boost::enable_if
<
- typename detail::OMFAssignXOr<T,U>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_assign_xor<T,U>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator ^= (propCallable<T,ReadWriteTag> & first,U second)
+operator ^= (prop_callable<T,read_write_tag> & first,U second)
{
- typename detail::BinaryROXOr<T,U>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor<T,U>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -483,13 +483,13 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFAssignOrSame<T>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_assign_or_same<T>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator |= (propCallable<T,ReadWriteTag> & first,T second)
+operator |= (prop_callable<T,read_write_tag> & first,T second)
{
- typename detail::BinaryROOrSame<T>::type t(first.get() | second);
+ typename detail::binary_ro_or_same<T>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
@@ -498,13 +498,13 @@
template <class T,class U>
typename boost::enable_if
<
- typename detail::OMFAssignOr<T,U>::type,
- propCallable<T,ReadWriteTag> &
+ typename detail::omf_assign_or<T,U>::type,
+ prop_callable<T,read_write_tag> &
>::type
-operator |= (propCallable<T,ReadWriteTag> & first,U second)
+operator |= (prop_callable<T,read_write_tag> & first,U second)
{
- typename detail::BinaryROOr<T,U>::type t(first.get() | second);
+ typename detail::binary_ro_or<T,U>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
Modified: sandbox/property/boost/property/PropertyDataPredicate.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyDataPredicate.hpp (original)
+++ sandbox/property/boost/property/PropertyDataPredicate.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -17,30 +17,30 @@
{
template <class T,
T *d,
- template <class> class NotificationPolicy = DefaultPolicyTag,
- template <class> class PredicateFailurePolicy = DefaultPolicyTag,
- class Access = ReadWriteTag
+ template <class> class NotificationPolicy = default_policy_tag,
+ template <class> class PredicateFailurePolicy = default_policy_tag,
+ class Access = read_write_tag
>
- class propDataPredicate;
+ class prop_data_predicate;
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
- struct propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,WriteTag> :
- propData<T,d,NotificationPolicy,WriteTag>,
+ struct prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,write_tag> :
+ prop_data<T,d,NotificationPolicy,write_tag>,
PredicateFailurePolicy<T>
{
- explicit propDataPredicate(boost::function<bool (T)> f) :
+ explicit prop_data_predicate(boost::function<bool (T)> f) :
fs(f)
{
}
- propDataPredicate(const propDataPredicate & arg) :
- propData<T,d,NotificationPolicy,WriteTag>(static_cast<const propData<T,d,NotificationPolicy,WriteTag> &>(arg)),
+ prop_data_predicate(const prop_data_predicate & arg) :
+ prop_data<T,d,NotificationPolicy,write_tag>(static_cast<const prop_data<T,d,NotificationPolicy,write_tag> &>(arg)),
fs(arg.fs)
{
}
- propDataPredicate(boost::function<bool (T)> f,T arg) :
+ prop_data_predicate(boost::function<bool (T)> f,T arg) :
fs(f)
{
if (!fs || fs(arg))
@@ -50,7 +50,7 @@
}
template<class U>
- propDataPredicate(boost::function<bool (T)> f,U arg) :
+ prop_data_predicate(boost::function<bool (T)> f,U arg) :
fs(f)
{
if (!fs || fs(arg))
@@ -59,16 +59,16 @@
}
}
- propDataPredicate & operator = (T arg)
+ prop_data_predicate & operator = (T arg)
{
- static_cast<propData<T,d,NotificationPolicy,WriteTag> &>(*this) = arg;
+ static_cast<prop_data<T,d,NotificationPolicy,write_tag> &>(*this) = arg;
return(*this);
}
template<class U>
- propDataPredicate & operator = (U arg)
+ prop_data_predicate & operator = (U arg)
{
- static_cast<propData<T,d,NotificationPolicy,WriteTag> &>(*this) = arg;
+ static_cast<prop_data<T,d,NotificationPolicy,write_tag> &>(*this) = arg;
return(*this);
}
@@ -76,7 +76,7 @@
{
if (!fs || fs(arg))
{
- propData<T,d,NotificationPolicy,WriteTag>::set(arg);
+ prop_data<T,d,NotificationPolicy,write_tag>::set(arg);
}
else
{
@@ -88,27 +88,27 @@
boost::function<bool (T)> fs;
- propDataPredicate & operator = (const propDataPredicate & arg);
+ prop_data_predicate & operator = (const prop_data_predicate & arg);
};
template <class T, T *d,template <class> class NotificationPolicy>
- struct propDataPredicate<T,d,NotificationPolicy,DefaultPolicyTag,WriteTag> :
- propData<T,d,NotificationPolicy,WriteTag>
+ struct prop_data_predicate<T,d,NotificationPolicy,default_policy_tag,write_tag> :
+ prop_data<T,d,NotificationPolicy,write_tag>
{
- explicit propDataPredicate(boost::function<bool (T)> f) :
+ explicit prop_data_predicate(boost::function<bool (T)> f) :
fs(f)
{
}
- propDataPredicate(const propDataPredicate & arg) :
- propData<T,d,NotificationPolicy,WriteTag>(static_cast<const propData<T,d,NotificationPolicy,WriteTag> &>(arg)),
+ prop_data_predicate(const prop_data_predicate & arg) :
+ prop_data<T,d,NotificationPolicy,write_tag>(static_cast<const prop_data<T,d,NotificationPolicy,write_tag> &>(arg)),
fs(arg.fs)
{
}
- propDataPredicate(boost::function<bool (T)> f,T arg) :
+ prop_data_predicate(boost::function<bool (T)> f,T arg) :
fs(f)
{
if (!fs || fs(arg))
@@ -118,7 +118,7 @@
}
template<class U>
- propDataPredicate(boost::function<bool (T)> f,U arg) :
+ prop_data_predicate(boost::function<bool (T)> f,U arg) :
fs(f)
{
if (!fs || fs(arg))
@@ -127,16 +127,16 @@
}
}
- propDataPredicate & operator = (T arg)
+ prop_data_predicate & operator = (T arg)
{
- static_cast<propData<T,d,NotificationPolicy,WriteTag> &>(*this) = arg;
+ static_cast<prop_data<T,d,NotificationPolicy,write_tag> &>(*this) = arg;
return(*this);
}
template<class U>
- propDataPredicate & operator = (U arg)
+ prop_data_predicate & operator = (U arg)
{
- static_cast<propData<T,d,NotificationPolicy,WriteTag> &>(*this) = arg;
+ static_cast<prop_data<T,d,NotificationPolicy,write_tag> &>(*this) = arg;
return(*this);
}
@@ -144,7 +144,7 @@
{
if (!fs || fs(arg))
{
- propData<T,d,NotificationPolicy,WriteTag>::set(arg);
+ prop_data<T,d,NotificationPolicy,write_tag>::set(arg);
}
}
@@ -152,28 +152,28 @@
boost::function<bool (T)> fs;
- propDataPredicate & operator = (const propDataPredicate & arg);
+ prop_data_predicate & operator = (const prop_data_predicate & arg);
};
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
- struct propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> :
- propData<T,d,NotificationPolicy,ReadWriteTag>,
+ struct prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> :
+ prop_data<T,d,NotificationPolicy,read_write_tag>,
PredicateFailurePolicy<T>
{
- explicit propDataPredicate(boost::function<bool (T)> f) :
+ explicit prop_data_predicate(boost::function<bool (T)> f) :
fs(f)
{
}
- propDataPredicate(const propDataPredicate & arg) :
- propData<T,d,NotificationPolicy,ReadWriteTag>(static_cast<const propData<T,d,NotificationPolicy,ReadWriteTag> &>(arg)),
+ prop_data_predicate(const prop_data_predicate & arg) :
+ prop_data<T,d,NotificationPolicy,read_write_tag>(static_cast<const prop_data<T,d,NotificationPolicy,read_write_tag> &>(arg)),
fs(arg.fs)
{
}
- propDataPredicate(boost::function<bool (T)> f,T arg) :
+ prop_data_predicate(boost::function<bool (T)> f,T arg) :
fs(f)
{
if (!fs || fs(arg))
@@ -183,7 +183,7 @@
}
template<class U>
- propDataPredicate(boost::function<bool (T)> f,U arg) :
+ prop_data_predicate(boost::function<bool (T)> f,U arg) :
fs(f)
{
if (!fs || fs(arg))
@@ -192,22 +192,22 @@
}
}
- propDataPredicate & operator = (const propDataPredicate & arg)
+ prop_data_predicate & operator = (const prop_data_predicate & arg)
{
- static_cast<propData<T,d,NotificationPolicy,ReadWriteTag> &>(*this) = static_cast<const propData<T,d,NotificationPolicy,ReadWriteTag> &>(arg);
+ static_cast<prop_data<T,d,NotificationPolicy,read_write_tag> &>(*this) = static_cast<const prop_data<T,d,NotificationPolicy,read_write_tag> &>(arg);
return(*this);
}
- propDataPredicate & operator = (T arg)
+ prop_data_predicate & operator = (T arg)
{
- static_cast<propData<T,d,NotificationPolicy,ReadWriteTag> &>(*this) = arg;
+ static_cast<prop_data<T,d,NotificationPolicy,read_write_tag> &>(*this) = arg;
return(*this);
}
template<class U>
- propDataPredicate & operator = (U arg)
+ prop_data_predicate & operator = (U arg)
{
- static_cast<propData<T,d,NotificationPolicy,ReadWriteTag> &>(*this) = arg;
+ static_cast<prop_data<T,d,NotificationPolicy,read_write_tag> &>(*this) = arg;
return(*this);
}
@@ -215,7 +215,7 @@
{
if (!fs || fs(arg))
{
- propData<T,d,NotificationPolicy,ReadWriteTag>::set(arg);
+ prop_data<T,d,NotificationPolicy,read_write_tag>::set(arg);
}
else
{
@@ -233,22 +233,22 @@
};
template <class T, T *d,template <class> class NotificationPolicy>
- struct propDataPredicate<T,d,NotificationPolicy,DefaultPolicyTag,ReadWriteTag> :
- propData<T,d,NotificationPolicy,ReadWriteTag>
+ struct prop_data_predicate<T,d,NotificationPolicy,default_policy_tag,read_write_tag> :
+ prop_data<T,d,NotificationPolicy,read_write_tag>
{
- explicit propDataPredicate(boost::function<bool (T)> f) :
+ explicit prop_data_predicate(boost::function<bool (T)> f) :
fs(f)
{
}
- propDataPredicate(const propDataPredicate & arg) :
- propData<T,d,NotificationPolicy,ReadWriteTag>(static_cast<const propData<T,d,NotificationPolicy,ReadWriteTag> &>(arg)),
+ prop_data_predicate(const prop_data_predicate & arg) :
+ prop_data<T,d,NotificationPolicy,read_write_tag>(static_cast<const prop_data<T,d,NotificationPolicy,read_write_tag> &>(arg)),
fs(arg.fs)
{
}
- propDataPredicate(boost::function<bool (T)> f,T arg) :
+ prop_data_predicate(boost::function<bool (T)> f,T arg) :
fs(f)
{
if (!fs || fs(arg))
@@ -258,7 +258,7 @@
}
template<class U>
- propDataPredicate(boost::function<bool (T)> f,U arg) :
+ prop_data_predicate(boost::function<bool (T)> f,U arg) :
fs(f)
{
if (!fs || fs(arg))
@@ -267,22 +267,22 @@
}
}
- propDataPredicate & operator = (const propDataPredicate & arg)
+ prop_data_predicate & operator = (const prop_data_predicate & arg)
{
- static_cast<propData<T,d,NotificationPolicy,ReadWriteTag> &>(*this) = static_cast<const propData<T,d,NotificationPolicy,ReadWriteTag> &>(arg);
+ static_cast<prop_data<T,d,NotificationPolicy,read_write_tag> &>(*this) = static_cast<const prop_data<T,d,NotificationPolicy,read_write_tag> &>(arg);
return(*this);
}
- propDataPredicate & operator = (T arg)
+ prop_data_predicate & operator = (T arg)
{
- static_cast<propData<T,d,NotificationPolicy,ReadWriteTag> &>(*this) = arg;
+ static_cast<prop_data<T,d,NotificationPolicy,read_write_tag> &>(*this) = arg;
return(*this);
}
template<class U>
- propDataPredicate & operator = (U arg)
+ prop_data_predicate & operator = (U arg)
{
- static_cast<propData<T,d,NotificationPolicy,ReadWriteTag> &>(*this) = arg;
+ static_cast<prop_data<T,d,NotificationPolicy,read_write_tag> &>(*this) = arg;
return(*this);
}
@@ -290,7 +290,7 @@
{
if (!fs || fs(arg))
{
- propData<T,d,NotificationPolicy,ReadWriteTag>::set(arg);
+ prop_data<T,d,NotificationPolicy,read_write_tag>::set(arg);
}
}
@@ -303,10 +303,10 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFIncrement<T>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_increment<T>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator ++ (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & value)
+operator ++ (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & value)
{
T t(value.get());
@@ -319,10 +319,10 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFDecrement<T>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_decrement<T>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator -- (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & value)
+operator -- (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & value)
{
T t(value.get());
@@ -335,13 +335,13 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignMultiplySame<T>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_multiply_same<T>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator *= (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,T second)
+operator *= (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROMultiplySame<T>::type t(first.get() * second);
+ typename detail::binary_ro_multiply_same<T>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -350,13 +350,13 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignMultiply<T,U>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_multiply<T,U>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator *= (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,U second)
+operator *= (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROMultiply<T,U>::type t(first.get() * second);
+ typename detail::binary_ro_multiply<T,U>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -365,13 +365,13 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignDivideSame<T>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_divide_same<T>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator /= (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,T second)
+operator /= (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryRODivideSame<T>::type t(first.get() / second);
+ typename detail::binary_ro_divide_same<T>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -380,13 +380,13 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignDivide<T,U>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_divide<T,U>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator /= (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,U second)
+operator /= (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryRODivide<T,U>::type t(first.get() / second);
+ typename detail::binary_ro_divide<T,U>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -395,13 +395,13 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignModuloSame<T>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_modulo_same<T>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator %= (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,T second)
+operator %= (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROModuloSame<T>::type t(first.get() % second);
+ typename detail::binary_ro_modulo_same<T>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -410,13 +410,13 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignModulo<T,U>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_modulo<T,U>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator %= (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,U second)
+operator %= (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROModulo<T,U>::type t(first.get() % second);
+ typename detail::binary_ro_modulo<T,U>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -425,13 +425,13 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignAddSame<T>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_add_same<T>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator += (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,T second)
+operator += (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROAddSame<T>::type t(first.get() + second);
+ typename detail::binary_ro_add_same<T>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -440,13 +440,13 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignAdd<T,U>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_add<T,U>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator += (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,U second)
+operator += (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROAdd<T,U>::type t(first.get() + second);
+ typename detail::binary_ro_add<T,U>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -455,13 +455,13 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignSubtractSame<T>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_subtract_same<T>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator -= (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,T second)
+operator -= (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROSubtractSame<T>::type t(first.get() - second);
+ typename detail::binary_ro_subtract_same<T>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -470,13 +470,13 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignSubtract<T,U>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_subtract<T,U>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator -= (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,U second)
+operator -= (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROSubtract<T,U>::type t(first.get() - second);
+ typename detail::binary_ro_subtract<T,U>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -485,13 +485,13 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShiftSame<T>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_left_shift_same<T>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator <<= (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,T second)
+operator <<= (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROLeftShiftSame<T>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift_same<T>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -500,13 +500,13 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShift<T,U>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_left_shift<T,U>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator <<= (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,U second)
+operator <<= (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROLeftShift<T,U>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift<T,U>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -515,13 +515,13 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignRightShiftSame<T>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_right_shift_same<T>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator >>= (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,T second)
+operator >>= (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryRORightShiftSame<T>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift_same<T>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -530,13 +530,13 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignRightShift<T,U>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_right_shift<T,U>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator >>= (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,U second)
+operator >>= (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryRORightShift<T,U>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift<T,U>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -545,13 +545,13 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignAndSame<T>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_and_same<T>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator &= (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,T second)
+operator &= (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROAndSame<T>::type t(first.get() & second);
+ typename detail::binary_ro_and_same<T>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -560,13 +560,13 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignAnd<T,U>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_and<T,U>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator &= (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,U second)
+operator &= (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROAnd<T,U>::type t(first.get() & second);
+ typename detail::binary_ro_and<T,U>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -575,13 +575,13 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignXOrSame<T>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_xor_same<T>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator ^= (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,T second)
+operator ^= (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROXOrSame<T>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor_same<T>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -590,13 +590,13 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignXOr<T,U>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_xor<T,U>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator ^= (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,U second)
+operator ^= (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROXOr<T,U>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor<T,U>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -605,13 +605,13 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignOrSame<T>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_or_same<T>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator |= (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,T second)
+operator |= (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROOrSame<T>::type t(first.get() | second);
+ typename detail::binary_ro_or_same<T>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
@@ -620,13 +620,13 @@
template <class T, T *d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignOr<T,U>::type,
- propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_or<T,U>::type,
+ prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator |= (propDataPredicate<T,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,U second)
+operator |= (prop_data_predicate<T,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROOr<T,U>::type t(first.get() | second);
+ typename detail::binary_ro_or<T,U>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
Modified: sandbox/property/boost/property/PropertyDataReference.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyDataReference.hpp (original)
+++ sandbox/property/boost/property/PropertyDataReference.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -7,8 +7,8 @@
{
template <class T, T *d>
- struct propDataReference :
- IPropertyReferenceRead<T>
+ struct prop_data_reference :
+ i_property_reference_read<T>
{
operator const T & () const
Modified: sandbox/property/boost/property/PropertyDataValue.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyDataValue.hpp (original)
+++ sandbox/property/boost/property/PropertyDataValue.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -22,19 +22,19 @@
template <class T,
T *d,
- template <class> class NotificationPolicy = DefaultPolicyTag,
+ template <class> class NotificationPolicy = default_policy_tag,
class Access = typename boost::mpl::if_
<
boost::is_const<T>,
- ReadTag,
- ReadWriteTag
+ read_tag,
+ read_write_tag
>::type
>
- class propData;
+ class prop_data;
template <class T, T *d>
- struct propData<T,d,DefaultPolicyTag,ReadTag> :
- virtual IPropertyRead<T>
+ struct prop_data<T,d,default_policy_tag,read_tag> :
+ virtual i_property_read<T>
{
operator T() const
@@ -49,38 +49,38 @@
private:
- propData & operator = (const propData &);
+ prop_data & operator = (const prop_data &);
};
template <class T, T *d>
- struct propData<T,d,DefaultPolicyTag,WriteTag> :
- virtual IPropertyWrite<T>
+ struct prop_data<T,d,default_policy_tag,write_tag> :
+ virtual i_property_write<T>
{
- propData()
+ prop_data()
{
}
- explicit propData(T arg)
+ explicit prop_data(T arg)
{
*d = arg;
}
template<class U>
- explicit propData(U arg)
+ explicit prop_data(U arg)
{
*d = static_cast<T>(arg);
}
- propData & operator = (T arg)
+ prop_data & operator = (T arg)
{
set(arg);
return(*this);
}
template<class U>
- propData & operator = (U arg)
+ prop_data & operator = (U arg)
{
set(static_cast<T>(arg));
return(*this);
@@ -93,39 +93,39 @@
private:
- propData & operator = (const propData &);
+ prop_data & operator = (const prop_data &);
};
template <class T, T *d,template <class> class NotificationPolicy>
- struct propData<T,d,NotificationPolicy,WriteTag> :
- virtual IPropertyWrite<T>,
+ struct prop_data<T,d,NotificationPolicy,write_tag> :
+ virtual i_property_write<T>,
NotificationPolicy<T>
{
- propData()
+ prop_data()
{
}
- explicit propData(T arg)
+ explicit prop_data(T arg)
{
*d = arg;
}
template<class U>
- explicit propData(U arg)
+ explicit prop_data(U arg)
{
*d = static_cast<T>(arg);
}
- propData & operator = (T arg)
+ prop_data & operator = (T arg)
{
set(arg);
return(*this);
}
template<class U>
- propData & operator = (U arg)
+ prop_data & operator = (U arg)
{
set(static_cast<T>(arg));
return(*this);
@@ -134,7 +134,7 @@
void set(T arg)
{
*d = arg;
- PropertyChanged(*this,oldT,arg);
+ property_changed(*this,oldT,arg);
}
protected:
@@ -143,103 +143,103 @@
private:
- propData & operator = (const propData &);
+ prop_data & operator = (const prop_data &);
};
template <class T, T *d>
- struct propData<T,d,DefaultPolicyTag,ReadWriteTag> :
- propData<T,d,DefaultPolicyTag,ReadTag> ,
- propData<T,d,DefaultPolicyTag,WriteTag>,
- IPropertyReadWrite<T>
+ struct prop_data<T,d,default_policy_tag,read_write_tag> :
+ prop_data<T,d,default_policy_tag,read_tag> ,
+ prop_data<T,d,default_policy_tag,write_tag>,
+ i_property_read_write<T>
{
- propData()
+ prop_data()
{
}
- propData(const propData & arg) :
- propData<T,d,DefaultPolicyTag,ReadTag>(arg),
- propData<T,d,DefaultPolicyTag,WriteTag>(static_cast<const propData<T,d,DefaultPolicyTag,WriteTag> &>(arg))
+ prop_data(const prop_data & arg) :
+ prop_data<T,d,default_policy_tag,read_tag>(arg),
+ prop_data<T,d,default_policy_tag,write_tag>(static_cast<const prop_data<T,d,default_policy_tag,write_tag> &>(arg))
{
}
- explicit propData(T arg) :
- propData<T,d,DefaultPolicyTag,WriteTag>(arg)
+ explicit prop_data(T arg) :
+ prop_data<T,d,default_policy_tag,write_tag>(arg)
{
}
template<class U>
- explicit propData(U arg) :
- propData<T,d,DefaultPolicyTag,WriteTag>(arg)
+ explicit prop_data(U arg) :
+ prop_data<T,d,default_policy_tag,write_tag>(arg)
{
}
- propData & operator = (const propData & arg)
+ prop_data & operator = (const prop_data & arg)
{
return(*this = static_cast<T>(arg));
}
- propData & operator = (T arg)
+ prop_data & operator = (T arg)
{
- (static_cast<propData<T,d,DefaultPolicyTag,WriteTag> & >(*this)) = arg;
+ (static_cast<prop_data<T,d,default_policy_tag,write_tag> & >(*this)) = arg;
return(*this);
}
template<class U>
- propData & operator = (U arg)
+ prop_data & operator = (U arg)
{
- (static_cast<propData<T,d,DefaultPolicyTag,WriteTag> & >(*this)) = arg;
+ (static_cast<prop_data<T,d,default_policy_tag,write_tag> & >(*this)) = arg;
return(*this);
}
};
template <class T, T *d,template <class> class NotificationPolicy>
- struct propData<T,d,NotificationPolicy,ReadWriteTag> :
- propData<T,d,NotificationPolicy,ReadTag> ,
- propData<T,d,NotificationPolicy,WriteTag>,
- IPropertyReadWrite<T>
+ struct prop_data<T,d,NotificationPolicy,read_write_tag> :
+ prop_data<T,d,NotificationPolicy,read_tag> ,
+ prop_data<T,d,NotificationPolicy,write_tag>,
+ i_property_read_write<T>
{
- propData()
+ prop_data()
{
}
- propData(const propData & arg) :
- propData<T,d,DefaultPolicyTag,ReadTag>(arg),
- propData<T,d,NotificationPolicy,WriteTag>(static_cast<const propData<T,d,NotificationPolicy,WriteTag> &>(arg))
+ prop_data(const prop_data & arg) :
+ prop_data<T,d,default_policy_tag,read_tag>(arg),
+ prop_data<T,d,NotificationPolicy,write_tag>(static_cast<const prop_data<T,d,NotificationPolicy,write_tag> &>(arg))
{
}
- explicit propData(T arg) :
- propData<T,d,NotificationPolicy,WriteTag>(arg)
+ explicit prop_data(T arg) :
+ prop_data<T,d,NotificationPolicy,write_tag>(arg)
{
}
template<class U>
- explicit propData(U arg) :
- propData<T,d,NotificationPolicy,WriteTag>(arg)
+ explicit prop_data(U arg) :
+ prop_data<T,d,NotificationPolicy,write_tag>(arg)
{
}
- propData & operator = (const propData & arg)
+ prop_data & operator = (const prop_data & arg)
{
return(*this = static_cast<T>(arg));
}
- propData & operator = (T arg)
+ prop_data & operator = (T arg)
{
oldT = *this;
- (static_cast<propData<T,d,NotificationPolicy,WriteTag> & >(*this)) = arg;
+ (static_cast<prop_data<T,d,NotificationPolicy,write_tag> & >(*this)) = arg;
return(*this);
}
template<class U>
- propData & operator = (U arg)
+ prop_data & operator = (U arg)
{
oldT = *this;
- (static_cast<propData<T,d,NotificationPolicy,WriteTag> & >(*this)) = arg;
+ (static_cast<prop_data<T,d,NotificationPolicy,write_tag> & >(*this)) = arg;
return(*this);
}
@@ -248,10 +248,10 @@
template <class T, T *d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFIncrement<T>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_increment<T>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator ++ (propData<T,d,NotificationPolicy,ReadWriteTag> & value)
+operator ++ (prop_data<T,d,NotificationPolicy,read_write_tag> & value)
{
T t(value.get());
@@ -264,10 +264,10 @@
template <class T, T *d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFDecrement<T>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_decrement<T>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator -- (propData<T,d,NotificationPolicy,ReadWriteTag> & value)
+operator -- (prop_data<T,d,NotificationPolicy,read_write_tag> & value)
{
T t(value.get());
@@ -280,13 +280,13 @@
template <class T, T *d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignMultiplySame<T>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_multiply_same<T>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator *= (propData<T,d,NotificationPolicy,ReadWriteTag> & first,T second)
+operator *= (prop_data<T,d,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROMultiplySame<T>::type t(first.get() * second);
+ typename detail::binary_ro_multiply_same<T>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -295,13 +295,13 @@
template <class T, T *d,template <class> class NotificationPolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignMultiply<T,U>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_multiply<T,U>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator *= (propData<T,d,NotificationPolicy,ReadWriteTag> & first,U second)
+operator *= (prop_data<T,d,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROMultiply<T,U>::type t(first.get() * second);
+ typename detail::binary_ro_multiply<T,U>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -310,13 +310,13 @@
template <class T, T *d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignDivideSame<T>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_divide_same<T>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator /= (propData<T,d,NotificationPolicy,ReadWriteTag> & first,T second)
+operator /= (prop_data<T,d,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryRODivideSame<T>::type t(first.get() / second);
+ typename detail::binary_ro_divide_same<T>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -325,13 +325,13 @@
template <class T, T *d,template <class> class NotificationPolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignDivide<T,U>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_divide<T,U>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator /= (propData<T,d,NotificationPolicy,ReadWriteTag> & first,U second)
+operator /= (prop_data<T,d,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryRODivide<T,U>::type t(first.get() / second);
+ typename detail::binary_ro_divide<T,U>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -340,13 +340,13 @@
template <class T, T *d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignModuloSame<T>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_modulo_same<T>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator %= (propData<T,d,NotificationPolicy,ReadWriteTag> & first,T second)
+operator %= (prop_data<T,d,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROModuloSame<T>::type t(first.get() % second);
+ typename detail::binary_ro_modulo_same<T>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -355,13 +355,13 @@
template <class T, T *d,template <class> class NotificationPolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignModulo<T,U>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_modulo<T,U>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator %= (propData<T,d,NotificationPolicy,ReadWriteTag> & first,U second)
+operator %= (prop_data<T,d,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROModulo<T,U>::type t(first.get() % second);
+ typename detail::binary_ro_modulo<T,U>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -370,13 +370,13 @@
template <class T, T *d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignAddSame<T>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_add_same<T>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator += (propData<T,d,NotificationPolicy,ReadWriteTag> & first,T second)
+operator += (prop_data<T,d,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROAddSame<T>::type t(first.get() + second);
+ typename detail::binary_ro_add_same<T>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -385,13 +385,13 @@
template <class T, T *d,template <class> class NotificationPolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignAdd<T,U>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_add<T,U>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator += (propData<T,d,NotificationPolicy,ReadWriteTag> & first,U second)
+operator += (prop_data<T,d,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROAdd<T,U>::type t(first.get() + second);
+ typename detail::binary_ro_add<T,U>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -400,13 +400,13 @@
template <class T, T *d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignSubtractSame<T>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_subtract_same<T>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator -= (propData<T,d,NotificationPolicy,ReadWriteTag> & first,T second)
+operator -= (prop_data<T,d,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROSubtractSame<T>::type t(first.get() - second);
+ typename detail::binary_ro_subtract_same<T>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -415,13 +415,13 @@
template <class T, T *d,template <class> class NotificationPolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignSubtract<T,U>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_subtract<T,U>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator -= (propData<T,d,NotificationPolicy,ReadWriteTag> & first,U second)
+operator -= (prop_data<T,d,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROSubtract<T,U>::type t(first.get() - second);
+ typename detail::binary_ro_subtract<T,U>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -430,13 +430,13 @@
template <class T, T *d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShiftSame<T>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_left_shift_same<T>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator <<= (propData<T,d,NotificationPolicy,ReadWriteTag> & first,T second)
+operator <<= (prop_data<T,d,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROLeftShiftSame<T>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift_same<T>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -445,13 +445,13 @@
template <class T, T *d,template <class> class NotificationPolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShift<T,U>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_left_shift<T,U>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator <<= (propData<T,d,NotificationPolicy,ReadWriteTag> & first,U second)
+operator <<= (prop_data<T,d,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROLeftShift<T,U>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift<T,U>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -460,13 +460,13 @@
template <class T, T *d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignRightShiftSame<T>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_right_shift_same<T>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator >>= (propData<T,d,NotificationPolicy,ReadWriteTag> & first,T second)
+operator >>= (prop_data<T,d,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryRORightShiftSame<T>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift_same<T>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -475,13 +475,13 @@
template <class T, T *d,template <class> class NotificationPolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignRightShift<T,U>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_right_shift<T,U>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator >>= (propData<T,d,NotificationPolicy,ReadWriteTag> & first,U second)
+operator >>= (prop_data<T,d,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryRORightShift<T,U>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift<T,U>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -490,13 +490,13 @@
template <class T, T *d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignAndSame<T>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_and_same<T>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator &= (propData<T,d,NotificationPolicy,ReadWriteTag> & first,T second)
+operator &= (prop_data<T,d,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROAndSame<T>::type t(first.get() & second);
+ typename detail::binary_ro_and_same<T>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -505,13 +505,13 @@
template <class T, T *d,template <class> class NotificationPolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignAnd<T,U>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_and<T,U>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator &= (propData<T,d,NotificationPolicy,ReadWriteTag> & first,U second)
+operator &= (prop_data<T,d,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROAnd<T,U>::type t(first.get() & second);
+ typename detail::binary_ro_and<T,U>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -520,13 +520,13 @@
template <class T, T *d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignXOrSame<T>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_xor_same<T>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator ^= (propData<T,d,NotificationPolicy,ReadWriteTag> & first,T second)
+operator ^= (prop_data<T,d,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROXOrSame<T>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor_same<T>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -535,13 +535,13 @@
template <class T, T *d,template <class> class NotificationPolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignXOr<T,U>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_xor<T,U>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator ^= (propData<T,d,NotificationPolicy,ReadWriteTag> & first,U second)
+operator ^= (prop_data<T,d,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROXOr<T,U>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor<T,U>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -550,13 +550,13 @@
template <class T, T *d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignOrSame<T>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_or_same<T>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator |= (propData<T,d,NotificationPolicy,ReadWriteTag> & first,T second)
+operator |= (prop_data<T,d,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROOrSame<T>::type t(first.get() | second);
+ typename detail::binary_ro_or_same<T>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
@@ -565,13 +565,13 @@
template <class T, T *d,template <class> class NotificationPolicy,class U>
typename boost::enable_if
<
- typename detail::OMFAssignOr<T,U>::type,
- propData<T,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_or<T,U>::type,
+ prop_data<T,d,NotificationPolicy,read_write_tag> &
>::type
-operator |= (propData<T,d,NotificationPolicy,ReadWriteTag> & first,U second)
+operator |= (prop_data<T,d,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROOr<T,U>::type t(first.get() | second);
+ typename detail::binary_ro_or<T,U>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
Modified: sandbox/property/boost/property/PropertyException.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyException.hpp (original)
+++ sandbox/property/boost/property/PropertyException.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -6,28 +6,28 @@
namespace properties
{
- class PropertyReadException : std::runtime_error
+ class property_read_exception : std::runtime_error
{
public:
- PropertyReadException() : std::runtime_error("") { }
+ property_read_exception() : std::runtime_error("") { }
};
- class PropertyWriteException : std::runtime_error
+ class property_write_exception : std::runtime_error
{
public:
- PropertyWriteException() : std::runtime_error("") { }
+ property_write_exception() : std::runtime_error("") { }
};
- class PropertyIndexException : std::runtime_error
+ class property_index_exception : std::runtime_error
{
public:
- PropertyIndexException() : std::runtime_error("") { }
+ property_index_exception() : std::runtime_error("") { }
};
}
Modified: sandbox/property/boost/property/PropertyFunctionReference.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyFunctionReference.hpp (original)
+++ sandbox/property/boost/property/PropertyFunctionReference.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -8,8 +8,8 @@
{
template <class T, T & (*g)()>
- struct propFunctionReference :
- IPropertyReferenceRead<T>
+ struct prop_function_reference :
+ i_property_reference_read<T>
{
operator T const & () const
@@ -26,7 +26,7 @@
{
if (g == 0)
{
- throw PropertyReadException();
+ throw property_read_exception();
}
return((*g)());
}
@@ -35,7 +35,7 @@
{
if (g == 0)
{
- throw PropertyReadException();
+ throw property_read_exception();
}
return((*g)());
}
Modified: sandbox/property/boost/property/PropertyFunctionValue.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyFunctionValue.hpp (original)
+++ sandbox/property/boost/property/PropertyFunctionValue.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -17,8 +17,8 @@
{
template <class T, T (*g)()>
- struct propReadFunction :
- virtual IPropertyRead<T>
+ struct prop_read_function :
+ virtual i_property_read<T>
{
operator T() const
@@ -30,55 +30,55 @@
{
if (g == 0)
{
- throw PropertyReadException();
+ throw property_read_exception();
}
return((*g)());
}
private:
- propReadFunction & operator = (const propReadFunction &);
+ prop_read_function & operator = (const prop_read_function &);
};
template <class T,
void (*s)(T)
>
- struct propWriteFunction :
- virtual IPropertyWrite<T>
+ struct prop_write_function :
+ virtual i_property_write<T>
{
- propWriteFunction()
+ prop_write_function()
{
}
- explicit propWriteFunction(T arg)
+ explicit prop_write_function(T arg)
{
if (s == 0)
{
- throw PropertyWriteException();
+ throw property_write_exception();
}
(*s)(arg);
}
template<class U>
- explicit propWriteFunction(U arg)
+ explicit prop_write_function(U arg)
{
if (s == 0)
{
- throw PropertyWriteException();
+ throw property_write_exception();
}
(*s)(static_cast<T>(arg));
}
- propWriteFunction & operator = (T arg)
+ prop_write_function & operator = (T arg)
{
set(arg);
return(*this);
}
template<class U>
- propWriteFunction & operator = (U arg)
+ prop_write_function & operator = (U arg)
{
set(static_cast<T>(arg));
return(*this);
@@ -88,60 +88,60 @@
{
if (s == 0)
{
- throw PropertyWriteException();
+ throw property_write_exception();
}
(*s)(arg);
}
private:
- propWriteFunction & operator = (const propWriteFunction &);
+ prop_write_function & operator = (const prop_write_function &);
};
template <class T, T (*g)(), void (*s)(T)>
- struct propFunction :
- propReadFunction<T,g>,
- propWriteFunction<T,s>
+ struct prop_function :
+ prop_read_function<T,g>,
+ prop_write_function<T,s>
{
- propFunction()
+ prop_function()
{
}
- explicit propFunction(T arg) :
- propWriteFunction<T,s>(arg)
+ explicit prop_function(T arg) :
+ prop_write_function<T,s>(arg)
{
}
- propFunction(const propFunction & arg) :
- propReadFunction<T,g>(arg),
- propWriteFunction<T,s>(static_cast<const propWriteFunction<T,s> &>(arg))
+ prop_function(const prop_function & arg) :
+ prop_read_function<T,g>(arg),
+ prop_write_function<T,s>(static_cast<const prop_write_function<T,s> &>(arg))
{
}
template<class U>
- explicit propFunction(U arg) :
- propWriteFunction<T,s>(arg)
+ explicit prop_function(U arg) :
+ prop_write_function<T,s>(arg)
{
}
- propFunction & operator = (const propFunction & arg)
+ prop_function & operator = (const prop_function & arg)
{
return(*this = static_cast<T>(arg));
}
- propFunction & operator = (T arg)
+ prop_function & operator = (T arg)
{
- (static_cast<propWriteFunction<T,s> &>(*this)) = arg;
+ (static_cast<prop_write_function<T,s> &>(*this)) = arg;
return(*this);
}
template<class U>
- propFunction & operator = (U arg)
+ prop_function & operator = (U arg)
{
- (static_cast<propWriteFunction<T,s> &>(*this)) = arg;
+ (static_cast<prop_write_function<T,s> &>(*this)) = arg;
return(*this);
}
@@ -153,10 +153,10 @@
>
typename boost::enable_if
<
- typename detail::OMFIncrement<T>::type,
- propFunction<T,g,s> &
+ typename detail::omf_increment<T>::type,
+ prop_function<T,g,s> &
>::type
-operator ++ (propFunction<T,g,s> & value)
+operator ++ (prop_function<T,g,s> & value)
{
T t(value.get());
@@ -172,10 +172,10 @@
>
typename boost::enable_if
<
- typename detail::OMFDecrement<T>::type,
- propFunction<T,g,s> &
+ typename detail::omf_decrement<T>::type,
+ prop_function<T,g,s> &
>::type
-operator -- (propFunction<T,g,s> & value)
+operator -- (prop_function<T,g,s> & value)
{
T t(value.get());
@@ -191,13 +191,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignMultiplySame<T>::type,
- propFunction<T,g,s> &
+ typename detail::omf_assign_multiply_same<T>::type,
+ prop_function<T,g,s> &
>::type
-operator *= (propFunction<T,g,s> & first,T second)
+operator *= (prop_function<T,g,s> & first,T second)
{
- typename detail::BinaryROMultiplySame<T>::type t(first.get() * second);
+ typename detail::binary_ro_multiply_same<T>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -209,13 +209,13 @@
class U>
typename boost::enable_if
<
- typename detail::OMFAssignMultiply<T,U>::type,
- propFunction<T,g,s> &
+ typename detail::omf_assign_multiply<T,U>::type,
+ prop_function<T,g,s> &
>::type
-operator *= (propFunction<T,g,s> & first,U second)
+operator *= (prop_function<T,g,s> & first,U second)
{
- typename detail::BinaryROMultiply<T,U>::type t(first.get() * second);
+ typename detail::binary_ro_multiply<T,U>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -227,13 +227,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignDivideSame<T>::type,
- propFunction<T,g,s> &
+ typename detail::omf_assign_divide_same<T>::type,
+ prop_function<T,g,s> &
>::type
-operator /= (propFunction<T,g,s> & first,T second)
+operator /= (prop_function<T,g,s> & first,T second)
{
- typename detail::BinaryRODivideSame<T>::type t(first.get() / second);
+ typename detail::binary_ro_divide_same<T>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -245,13 +245,13 @@
class U>
typename boost::enable_if
<
- typename detail::OMFAssignDivide<T,U>::type,
- propFunction<T,g,s> &
+ typename detail::omf_assign_divide<T,U>::type,
+ prop_function<T,g,s> &
>::type
-operator /= (propFunction<T,g,s> & first,U second)
+operator /= (prop_function<T,g,s> & first,U second)
{
- typename detail::BinaryRODivide<T,U>::type t(first.get() / second);
+ typename detail::binary_ro_divide<T,U>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -263,13 +263,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignModuloSame<T>::type,
- propFunction<T,g,s> &
+ typename detail::omf_assign_modulo_same<T>::type,
+ prop_function<T,g,s> &
>::type
-operator %= (propFunction<T,g,s> & first,T second)
+operator %= (prop_function<T,g,s> & first,T second)
{
- typename detail::BinaryROModuloSame<T>::type t(first.get() % second);
+ typename detail::binary_ro_modulo_same<T>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -281,13 +281,13 @@
class U>
typename boost::enable_if
<
- typename detail::OMFAssignModulo<T,U>::type,
- propFunction<T,g,s> &
+ typename detail::omf_assign_modulo<T,U>::type,
+ prop_function<T,g,s> &
>::type
-operator %= (propFunction<T,g,s> & first,U second)
+operator %= (prop_function<T,g,s> & first,U second)
{
- typename detail::BinaryROModulo<T,U>::type t(first.get() % second);
+ typename detail::binary_ro_modulo<T,U>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -299,13 +299,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignAddSame<T>::type,
- propFunction<T,g,s> &
+ typename detail::omf_assign_add_same<T>::type,
+ prop_function<T,g,s> &
>::type
-operator += (propFunction<T,g,s> & first,T second)
+operator += (prop_function<T,g,s> & first,T second)
{
- typename detail::BinaryROAddSame<T>::type t(first.get() + second);
+ typename detail::binary_ro_add_same<T>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -317,13 +317,13 @@
class U>
typename boost::enable_if
<
- typename detail::OMFAssignAdd<T,U>::type,
- propFunction<T,g,s> &
+ typename detail::omf_assign_add<T,U>::type,
+ prop_function<T,g,s> &
>::type
-operator += (propFunction<T,g,s> & first,U second)
+operator += (prop_function<T,g,s> & first,U second)
{
- typename detail::BinaryROAdd<T,U>::type t(first.get() + second);
+ typename detail::binary_ro_add<T,U>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -335,13 +335,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignSubtractSame<T>::type,
- propFunction<T,g,s> &
+ typename detail::omf_assign_subtract_same<T>::type,
+ prop_function<T,g,s> &
>::type
-operator -= (propFunction<T,g,s> & first,T second)
+operator -= (prop_function<T,g,s> & first,T second)
{
- typename detail::BinaryROSubtractSame<T>::type t(first.get() - second);
+ typename detail::binary_ro_subtract_same<T>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -353,13 +353,13 @@
class U>
typename boost::enable_if
<
- typename detail::OMFAssignSubtract<T,U>::type,
- propFunction<T,g,s> &
+ typename detail::omf_assign_subtract<T,U>::type,
+ prop_function<T,g,s> &
>::type
-operator -= (propFunction<T,g,s> & first,U second)
+operator -= (prop_function<T,g,s> & first,U second)
{
- typename detail::BinaryROSubtract<T,U>::type t(first.get() - second);
+ typename detail::binary_ro_subtract<T,U>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -371,13 +371,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShiftSame<T>::type,
- propFunction<T,g,s> &
+ typename detail::omf_assign_left_shift_same<T>::type,
+ prop_function<T,g,s> &
>::type
-operator <<= (propFunction<T,g,s> & first,T second)
+operator <<= (prop_function<T,g,s> & first,T second)
{
- typename detail::BinaryROLeftShiftSame<T>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift_same<T>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -389,13 +389,13 @@
class U>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShift<T,U>::type,
- propFunction<T,g,s> &
+ typename detail::omf_assign_left_shift<T,U>::type,
+ prop_function<T,g,s> &
>::type
-operator <<= (propFunction<T,g,s> & first,U second)
+operator <<= (prop_function<T,g,s> & first,U second)
{
- typename detail::BinaryROLeftShift<T,U>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift<T,U>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -407,13 +407,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignRightShiftSame<T>::type,
- propFunction<T,g,s> &
+ typename detail::omf_assign_right_shift_same<T>::type,
+ prop_function<T,g,s> &
>::type
-operator >>= (propFunction<T,g,s> & first,T second)
+operator >>= (prop_function<T,g,s> & first,T second)
{
- typename detail::BinaryRORightShiftSame<T>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift_same<T>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -425,13 +425,13 @@
class U>
typename boost::enable_if
<
- typename detail::OMFAssignRightShift<T,U>::type,
- propFunction<T,g,s> &
+ typename detail::omf_assign_right_shift<T,U>::type,
+ prop_function<T,g,s> &
>::type
-operator >>= (propFunction<T,g,s> & first,U second)
+operator >>= (prop_function<T,g,s> & first,U second)
{
- typename detail::BinaryRORightShift<T,U>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift<T,U>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -443,13 +443,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignAndSame<T>::type,
- propFunction<T,g,s> &
+ typename detail::omf_assign_and_same<T>::type,
+ prop_function<T,g,s> &
>::type
-operator &= (propFunction<T,g,s> & first,T second)
+operator &= (prop_function<T,g,s> & first,T second)
{
- typename detail::BinaryROAndSame<T>::type t(first.get() & second);
+ typename detail::binary_ro_and_same<T>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -461,13 +461,13 @@
class U>
typename boost::enable_if
<
- typename detail::OMFAssignAnd<T,U>::type,
- propFunction<T,g,s> &
+ typename detail::omf_assign_and<T,U>::type,
+ prop_function<T,g,s> &
>::type
-operator &= (propFunction<T,g,s> & first,U second)
+operator &= (prop_function<T,g,s> & first,U second)
{
- typename detail::BinaryROAnd<T,U>::type t(first.get() & second);
+ typename detail::binary_ro_and<T,U>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -479,13 +479,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignXOrSame<T>::type,
- propFunction<T,g,s> &
+ typename detail::omf_assign_xor_same<T>::type,
+ prop_function<T,g,s> &
>::type
-operator ^= (propFunction<T,g,s> & first,T second)
+operator ^= (prop_function<T,g,s> & first,T second)
{
- typename detail::BinaryROXOrSame<T>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor_same<T>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -497,13 +497,13 @@
class U>
typename boost::enable_if
<
- typename detail::OMFAssignXOr<T,U>::type,
- propFunction<T,g,s> &
+ typename detail::omf_assign_xor<T,U>::type,
+ prop_function<T,g,s> &
>::type
-operator ^= (propFunction<T,g,s> & first,U second)
+operator ^= (prop_function<T,g,s> & first,U second)
{
- typename detail::BinaryROXOr<T,U>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor<T,U>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -515,13 +515,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignOrSame<T>::type,
- propFunction<T,g,s> &
+ typename detail::omf_assign_or_same<T>::type,
+ prop_function<T,g,s> &
>::type
-operator |= (propFunction<T,g,s> & first,T second)
+operator |= (prop_function<T,g,s> & first,T second)
{
- typename detail::BinaryROOrSame<T>::type t(first.get() | second);
+ typename detail::binary_ro_or_same<T>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
@@ -533,13 +533,13 @@
class U>
typename boost::enable_if
<
- typename detail::OMFAssignOr<T,U>::type,
- propFunction<T,g,s> &
+ typename detail::omf_assign_or<T,U>::type,
+ prop_function<T,g,s> &
>::type
-operator |= (propFunction<T,g,s> & first,U second)
+operator |= (prop_function<T,g,s> & first,U second)
{
- typename detail::BinaryROOr<T,U>::type t(first.get() | second);
+ typename detail::binary_ro_or<T,U>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
Modified: sandbox/property/boost/property/PropertyFunctorReference.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyFunctorReference.hpp (original)
+++ sandbox/property/boost/property/PropertyFunctorReference.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -7,13 +7,13 @@
{
template <class T, class C>
- class propFunctorReference :
- public IPropertyReferenceRead<T>
+ class prop_functor_reference :
+ public i_property_reference_read<T>
{
public:
- propFunctorReference(C & c) :
+ prop_functor_reference(C & c) :
cf(c)
{
}
Modified: sandbox/property/boost/property/PropertyFunctorValue.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyFunctorValue.hpp (original)
+++ sandbox/property/boost/property/PropertyFunctorValue.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -22,20 +22,20 @@
class Access = typename boost::mpl::if_
<
boost::is_const<T>,
- ReadTag,
- ReadWriteTag
+ read_tag,
+ read_write_tag
>::type
>
- class propFunctor;
+ class prop_functor;
template <class T, class C>
- class propFunctor<T,C,ReadTag> :
- public virtual IPropertyRead<T>
+ class prop_functor<T,C,read_tag> :
+ public virtual i_property_read<T>
{
public:
- explicit propFunctor(C & c) : cf(c)
+ explicit prop_functor(C & c) : cf(c)
{
}
@@ -53,43 +53,43 @@
C & cf;
- propFunctor & operator = (const propFunctor &);
+ prop_functor & operator = (const prop_functor &);
};
template <class T, class C>
- class propFunctor<T,C,WriteTag> :
- public virtual IPropertyWrite<T>
+ class prop_functor<T,C,write_tag> :
+ public virtual i_property_write<T>
{
public:
- explicit propFunctor(C & c) :
+ explicit prop_functor(C & c) :
cf(c)
{
}
- propFunctor(C & c,T arg) :
+ prop_functor(C & c,T arg) :
cf(c)
{
cf(arg);
}
template<class U>
- propFunctor(C & c,U arg) :
+ prop_functor(C & c,U arg) :
cf(c)
{
cf(static_cast<T>(arg));
}
- propFunctor & operator = (T arg)
+ prop_functor & operator = (T arg)
{
set(arg);
return(*this);
}
template<class U>
- propFunctor & operator = (U arg)
+ prop_functor & operator = (U arg)
{
set(static_cast<T>(arg));
return(*this);
@@ -104,57 +104,57 @@
C & cf;
- propFunctor & operator = (const propFunctor &);
+ prop_functor & operator = (const prop_functor &);
};
template <class T, class C>
- struct propFunctor<T,C,ReadWriteTag> :
- propFunctor<T,C,ReadTag>,
- propFunctor<T,C,WriteTag>,
- IPropertyReadWrite<T>
+ struct prop_functor<T,C,read_write_tag> :
+ prop_functor<T,C,read_tag>,
+ prop_functor<T,C,write_tag>,
+ i_property_read_write<T>
{
- explicit propFunctor(C & c) :
- propFunctor<T,C,ReadTag>(c),
- propFunctor<T,C,WriteTag>(c)
+ explicit prop_functor(C & c) :
+ prop_functor<T,C,read_tag>(c),
+ prop_functor<T,C,write_tag>(c)
{
}
- propFunctor(const propFunctor & arg) :
- propFunctor<T,C,ReadTag>(arg),
- propFunctor<T,C,WriteTag>(static_cast<const propFunctor<T,C,WriteTag> &>(arg))
+ prop_functor(const prop_functor & arg) :
+ prop_functor<T,C,read_tag>(arg),
+ prop_functor<T,C,write_tag>(static_cast<const prop_functor<T,C,write_tag> &>(arg))
{
}
- propFunctor(C & c,T arg) :
- propFunctor<T,C,ReadTag>(c) ,
- propFunctor<T,C,WriteTag>(c,arg)
+ prop_functor(C & c,T arg) :
+ prop_functor<T,C,read_tag>(c) ,
+ prop_functor<T,C,write_tag>(c,arg)
{
}
template<class U>
- propFunctor(C & c,U arg) :
- propFunctor<T,C,ReadTag>(c),
- propFunctor<T,C,WriteTag>(c,arg)
+ prop_functor(C & c,U arg) :
+ prop_functor<T,C,read_tag>(c),
+ prop_functor<T,C,write_tag>(c,arg)
{
}
- propFunctor & operator = (const propFunctor & arg)
+ prop_functor & operator = (const prop_functor & arg)
{
return(*this = static_cast<T>(arg));
}
- propFunctor & operator = (T arg)
+ prop_functor & operator = (T arg)
{
- (static_cast<propFunctor<T,C,WriteTag> & >(*this)) = arg;
+ (static_cast<prop_functor<T,C,write_tag> & >(*this)) = arg;
return(*this);
}
template<class U>
- propFunctor & operator = (U arg)
+ prop_functor & operator = (U arg)
{
- (static_cast<propFunctor<T,C,WriteTag> & >(*this)) = arg;
+ (static_cast<prop_functor<T,C,write_tag> & >(*this)) = arg;
return(*this);
}
@@ -163,10 +163,10 @@
template <class T, class C>
typename boost::enable_if
<
- typename detail::OMFIncrement<T>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_increment<T>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator ++ (propFunctor<T,C,ReadWriteTag> & value)
+operator ++ (prop_functor<T,C,read_write_tag> & value)
{
T t(value.get());
@@ -179,10 +179,10 @@
template <class T, class C>
typename boost::enable_if
<
- typename detail::OMFDecrement<T>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_decrement<T>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator -- (propFunctor<T,C,ReadWriteTag> & value)
+operator -- (prop_functor<T,C,read_write_tag> & value)
{
T t(value.get());
@@ -195,13 +195,13 @@
template <class T, class C>
typename boost::enable_if
<
- typename detail::OMFAssignMultiplySame<T>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_assign_multiply_same<T>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator *= (propFunctor<T,C,ReadWriteTag> & first,T second)
+operator *= (prop_functor<T,C,read_write_tag> & first,T second)
{
- typename detail::BinaryROMultiplySame<T>::type t(first.get() * second);
+ typename detail::binary_ro_multiply_same<T>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -210,13 +210,13 @@
template <class T, class C, class U>
typename boost::enable_if
<
- typename detail::OMFAssignMultiply<T,U>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_assign_multiply<T,U>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator *= (propFunctor<T,C,ReadWriteTag> & first,U second)
+operator *= (prop_functor<T,C,read_write_tag> & first,U second)
{
- typename detail::BinaryROMultiply<T,U>::type t(first.get() * second);
+ typename detail::binary_ro_multiply<T,U>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -225,13 +225,13 @@
template <class T, class C>
typename boost::enable_if
<
- typename detail::OMFAssignDivideSame<T>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_assign_divide_same<T>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator /= (propFunctor<T,C,ReadWriteTag> & first,T second)
+operator /= (prop_functor<T,C,read_write_tag> & first,T second)
{
- typename detail::BinaryRODivideSame<T>::type t(first.get() / second);
+ typename detail::binary_ro_divide_same<T>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -240,13 +240,13 @@
template <class T, class C, class U>
typename boost::enable_if
<
- typename detail::OMFAssignDivide<T,U>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_assign_divide<T,U>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator /= (propFunctor<T,C,ReadWriteTag> & first,U second)
+operator /= (prop_functor<T,C,read_write_tag> & first,U second)
{
- typename detail::BinaryRODivide<T,U>::type t(first.get() / second);
+ typename detail::binary_ro_divide<T,U>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -255,13 +255,13 @@
template <class T, class C>
typename boost::enable_if
<
- typename detail::OMFAssignModuloSame<T>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_assign_modulo_same<T>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator %= (propFunctor<T,C,ReadWriteTag> & first,T second)
+operator %= (prop_functor<T,C,read_write_tag> & first,T second)
{
- typename detail::BinaryROModuloSame<T>::type t(first.get() % second);
+ typename detail::binary_ro_modulo_same<T>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -270,13 +270,13 @@
template <class T, class C, class U>
typename boost::enable_if
<
- typename detail::OMFAssignModulo<T,U>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_assign_modulo<T,U>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator %= (propFunctor<T,C,ReadWriteTag> & first,U second)
+operator %= (prop_functor<T,C,read_write_tag> & first,U second)
{
- typename detail::BinaryROModulo<T,U>::type t(first.get() % second);
+ typename detail::binary_ro_modulo<T,U>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -285,13 +285,13 @@
template <class T, class C>
typename boost::enable_if
<
- typename detail::OMFAssignAddSame<T>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_assign_add_same<T>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator += (propFunctor<T,C,ReadWriteTag> & first,T second)
+operator += (prop_functor<T,C,read_write_tag> & first,T second)
{
- typename detail::BinaryROAddSame<T>::type t(first.get() + second);
+ typename detail::binary_ro_add_same<T>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -300,13 +300,13 @@
template <class T, class C, class U>
typename boost::enable_if
<
- typename detail::OMFAssignAdd<T,U>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_assign_add<T,U>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator += (propFunctor<T,C,ReadWriteTag> & first,U second)
+operator += (prop_functor<T,C,read_write_tag> & first,U second)
{
- typename detail::BinaryROAdd<T,U>::type t(first.get() + second);
+ typename detail::binary_ro_add<T,U>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -315,13 +315,13 @@
template <class T, class C>
typename boost::enable_if
<
- typename detail::OMFAssignSubtractSame<T>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_assign_subtract_same<T>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator -= (propFunctor<T,C,ReadWriteTag> & first,T second)
+operator -= (prop_functor<T,C,read_write_tag> & first,T second)
{
- typename detail::BinaryROSubtractSame<T>::type t(first.get() - second);
+ typename detail::binary_ro_subtract_same<T>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -330,13 +330,13 @@
template <class T, class C, class U>
typename boost::enable_if
<
- typename detail::OMFAssignSubtract<T,U>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_assign_subtract<T,U>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator -= (propFunctor<T,C,ReadWriteTag> & first,U second)
+operator -= (prop_functor<T,C,read_write_tag> & first,U second)
{
- typename detail::BinaryROSubtract<T,U>::type t(first.get() - second);
+ typename detail::binary_ro_subtract<T,U>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -345,13 +345,13 @@
template <class T, class C>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShiftSame<T>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_assign_left_shift_same<T>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator <<= (propFunctor<T,C,ReadWriteTag> & first,T second)
+operator <<= (prop_functor<T,C,read_write_tag> & first,T second)
{
- typename detail::BinaryROLeftShiftSame<T>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift_same<T>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -360,13 +360,13 @@
template <class T, class C, class U>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShift<T,U>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_assign_left_shift<T,U>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator <<= (propFunctor<T,C,ReadWriteTag> & first,U second)
+operator <<= (prop_functor<T,C,read_write_tag> & first,U second)
{
- typename detail::BinaryROLeftShift<T,U>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift<T,U>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -375,13 +375,13 @@
template <class T, class C>
typename boost::enable_if
<
- typename detail::OMFAssignRightShiftSame<T>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_assign_right_shift_same<T>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator >>= (propFunctor<T,C,ReadWriteTag> & first,T second)
+operator >>= (prop_functor<T,C,read_write_tag> & first,T second)
{
- typename detail::BinaryRORightShiftSame<T>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift_same<T>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -390,13 +390,13 @@
template <class T, class C, class U>
typename boost::enable_if
<
- typename detail::OMFAssignRightShift<T,U>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_assign_right_shift<T,U>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator >>= (propFunctor<T,C,ReadWriteTag> & first,U second)
+operator >>= (prop_functor<T,C,read_write_tag> & first,U second)
{
- typename detail::BinaryRORightShift<T,U>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift<T,U>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -405,13 +405,13 @@
template <class T, class C>
typename boost::enable_if
<
- typename detail::OMFAssignAndSame<T>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_assign_and_same<T>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator &= (propFunctor<T,C,ReadWriteTag> & first,T second)
+operator &= (prop_functor<T,C,read_write_tag> & first,T second)
{
- typename detail::BinaryROAndSame<T>::type t(first.get() & second);
+ typename detail::binary_ro_and_same<T>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -420,13 +420,13 @@
template <class T, class C, class U>
typename boost::enable_if
<
- typename detail::OMFAssignAnd<T,U>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_assign_and<T,U>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator &= (propFunctor<T,C,ReadWriteTag> & first,U second)
+operator &= (prop_functor<T,C,read_write_tag> & first,U second)
{
- typename detail::BinaryROAnd<T,U>::type t(first.get() & second);
+ typename detail::binary_ro_and<T,U>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -435,13 +435,13 @@
template <class T, class C>
typename boost::enable_if
<
- typename detail::OMFAssignXOrSame<T>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_assign_xor_same<T>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator ^= (propFunctor<T,C,ReadWriteTag> & first,T second)
+operator ^= (prop_functor<T,C,read_write_tag> & first,T second)
{
- typename detail::BinaryROXOrSame<T>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor_same<T>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -450,13 +450,13 @@
template <class T, class C, class U>
typename boost::enable_if
<
- typename detail::OMFAssignXOr<T,U>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_assign_xor<T,U>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator ^= (propFunctor<T,C,ReadWriteTag> & first,U second)
+operator ^= (prop_functor<T,C,read_write_tag> & first,U second)
{
- typename detail::BinaryROXOr<T,U>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor<T,U>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -465,13 +465,13 @@
template <class T, class C>
typename boost::enable_if
<
- typename detail::OMFAssignOrSame<T>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_assign_or_same<T>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator |= (propFunctor<T,C,ReadWriteTag> & first,T second)
+operator |= (prop_functor<T,C,read_write_tag> & first,T second)
{
- typename detail::BinaryROOrSame<T>::type t(first.get() | second);
+ typename detail::binary_ro_or_same<T>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
@@ -480,13 +480,13 @@
template <class T, class C, class U>
typename boost::enable_if
<
- typename detail::OMFAssignOr<T,U>::type,
- propFunctor<T,C,ReadWriteTag> &
+ typename detail::omf_assign_or<T,U>::type,
+ prop_functor<T,C,read_write_tag> &
>::type
-operator |= (propFunctor<T,C,ReadWriteTag> & first,U second)
+operator |= (prop_functor<T,C,read_write_tag> & first,U second)
{
- typename detail::BinaryROOr<T,U>::type t(first.get() | second);
+ typename detail::binary_ro_or<T,U>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
Deleted: sandbox/property/boost/property/PropertyGlobalFunctions.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyGlobalFunctions.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
+++ (empty file)
@@ -1,11 +0,0 @@
-#if !defined(PROPERTY_GLOBAL_FUNCTIONS_HPP)
-#define PROPERTY_GLOBAL_FUNCTIONS_HPP
-
-class PropertyGlobalFunctions
-{
-public:
- PropertyGlobalFunctions(void);
- ~PropertyGlobalFunctions(void);
-};
-
-#endif
Modified: sandbox/property/boost/property/PropertyIndexInterface.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyIndexInterface.hpp (original)
+++ sandbox/property/boost/property/PropertyIndexInterface.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -9,7 +9,7 @@
{
template <class T,class I>
- struct IPropertyIndexRead
+ struct i_property_index_read
{
BOOST_MPL_ASSERT_NOT((boost::is_reference<T>));
@@ -19,7 +19,7 @@
};
template <class T,class I>
- struct IPropertyIndexWrite
+ struct i_property_index_write
{
BOOST_MPL_ASSERT_NOT((boost::is_reference<T>));
@@ -30,7 +30,7 @@
};
template <class T,class I,class R>
- struct IPropertyIndexReadWriteLValue : IPropertyIndexRead<T,I>, public IPropertyIndexWrite<T,I>
+ struct i_property_index_read_write_lvalue : i_property_index_read<T,I>, public i_property_index_write<T,I>
{
virtual R operator [] (I) = 0;
@@ -38,7 +38,7 @@
};
template <class T,class I,class R>
- struct IPropertyIndexReadImmutable : IPropertyIndexRead<T,I>
+ struct i_property_index_read_immutable : i_property_index_read<T,I>
{
virtual R operator [] (I) const = 0;
Modified: sandbox/property/boost/property/PropertyIndexMap.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyIndexMap.hpp (original)
+++ sandbox/property/boost/property/PropertyIndexMap.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -7,19 +7,19 @@
{
template <class PMAP>
- struct PropertyIndexMap :
+ struct prop_index_map :
detail::PropertyIndexMapMakeBase<PMAP>::type
{
- PropertyIndexMap(PMAP & pmap) :
+ prop_index_map(PMAP & pmap) :
detail::PropertyIndexMapMakeBase<PMAP>::type(pmap)
{
}
private:
- PropertyIndexMap(const PropertyIndexMap<PMAP> &);
- PropertyIndexMap & operator = (const PropertyIndexMap<PMAP> &);
+ prop_index_map(const prop_index_map<PMAP> &);
+ prop_index_map & operator = (const prop_index_map<PMAP> &);
};
Modified: sandbox/property/boost/property/PropertyInterface.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyInterface.hpp (original)
+++ sandbox/property/boost/property/PropertyInterface.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -9,7 +9,7 @@
{
template <class T>
- struct IPropertyRead
+ struct i_property_read
{
BOOST_MPL_ASSERT_NOT((boost::is_reference<T>));
@@ -19,7 +19,7 @@
};
template <class T>
- struct IPropertyWrite
+ struct i_property_write
{
BOOST_MPL_ASSERT_NOT((boost::is_reference<T>));
@@ -30,9 +30,9 @@
};
template <class T>
- struct IPropertyReadWrite :
- virtual IPropertyRead<T>,
- virtual IPropertyWrite<T>
+ struct i_property_read_write :
+ virtual i_property_read<T>,
+ virtual i_property_write<T>
{
BOOST_MPL_ASSERT_NOT((boost::is_reference<T>));
Modified: sandbox/property/boost/property/PropertyMemberDataPredicate.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyMemberDataPredicate.hpp (original)
+++ sandbox/property/boost/property/PropertyMemberDataPredicate.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -19,32 +19,32 @@
template <class T,
class C,
T C::*d,
- template <class> class NotificationPolicy = DefaultPolicyTag,
- template <class> class PredicateFailurePolicy = DefaultPolicyTag,
- class Access = ReadWriteTag
+ template <class> class NotificationPolicy = default_policy_tag,
+ template <class> class PredicateFailurePolicy = default_policy_tag,
+ class Access = read_write_tag
>
- class propMemberDataPredicate;
+ class prop_member_data_predicate;
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
- struct propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,WriteTag> :
- propMemberData<T,C,d,NotificationPolicy,WriteTag>,
+ struct prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,write_tag> :
+ prop_member_data<T,C,d,NotificationPolicy,write_tag>,
PredicateFailurePolicy<T>
{
- propMemberDataPredicate(const propMemberDataPredicate & arg) :
- propMemberData<T,C,d,NotificationPolicy,WriteTag>(static_cast<const propMemberData<T,C,d,NotificationPolicy,WriteTag> &>(arg)),
+ prop_member_data_predicate(const prop_member_data_predicate & arg) :
+ prop_member_data<T,C,d,NotificationPolicy,write_tag>(static_cast<const prop_member_data<T,C,d,NotificationPolicy,write_tag> &>(arg)),
fs(f)
{
}
- propMemberDataPredicate(boost::function<bool (T)> f,C & c) :
- propMemberData<T,C,d,NotificationPolicy,WriteTag>(c),
+ prop_member_data_predicate(boost::function<bool (T)> f,C & c) :
+ prop_member_data<T,C,d,NotificationPolicy,write_tag>(c),
fs(f)
{
}
- propMemberDataPredicate(boost::function<bool (T)> f,C & c,T arg) :
- propMemberData<T,C,d,NotificationPolicy,WriteTag>(c),
+ prop_member_data_predicate(boost::function<bool (T)> f,C & c,T arg) :
+ prop_member_data<T,C,d,NotificationPolicy,write_tag>(c),
fs(f)
{
if (!fs || fs(arg))
@@ -54,8 +54,8 @@
}
template<class U>
- propMemberDataPredicate(boost::function<bool (T)> f,C & c,U arg) :
- propMemberData<T,C,d,NotificationPolicy,WriteTag>(c),
+ prop_member_data_predicate(boost::function<bool (T)> f,C & c,U arg) :
+ prop_member_data<T,C,d,NotificationPolicy,write_tag>(c),
fs(f)
{
if (!fs || fs(arg))
@@ -64,16 +64,16 @@
}
}
- propMemberDataPredicate & operator = (T arg)
+ prop_member_data_predicate & operator = (T arg)
{
- static_cast<propMemberData<T,C,d,NotificationPolicy,WriteTag> &>(*this) = arg;
+ static_cast<prop_member_data<T,C,d,NotificationPolicy,write_tag> &>(*this) = arg;
return(*this);
}
template<class U>
- propMemberDataPredicate & operator = (U arg)
+ prop_member_data_predicate & operator = (U arg)
{
- static_cast<propMemberData<T,C,d,NotificationPolicy,WriteTag> &>(*this) = arg;
+ static_cast<prop_member_data<T,C,d,NotificationPolicy,write_tag> &>(*this) = arg;
return(*this);
}
@@ -81,7 +81,7 @@
{
if (!fs || fs(arg))
{
- propMemberData<T,C,d,NotificationPolicy,WriteTag>::set(arg);
+ prop_member_data<T,C,d,NotificationPolicy,write_tag>::set(arg);
}
else
{
@@ -93,29 +93,29 @@
boost::function<bool (T)> fs;
- propMemberDataPredicate & operator = (const propMemberDataPredicate & arg);
+ prop_member_data_predicate & operator = (const prop_member_data_predicate & arg);
};
template <class T, class C, T C::*d,template <class> class NotificationPolicy>
- struct propMemberDataPredicate<T,C,d,NotificationPolicy,DefaultPolicyTag,WriteTag> :
- propMemberData<T,C,d,NotificationPolicy,WriteTag>
+ struct prop_member_data_predicate<T,C,d,NotificationPolicy,default_policy_tag,write_tag> :
+ prop_member_data<T,C,d,NotificationPolicy,write_tag>
{
- propMemberDataPredicate(const propMemberDataPredicate & arg) :
- propMemberData<T,C,d,NotificationPolicy,WriteTag>(static_cast<const propMemberData<T,C,d,NotificationPolicy,WriteTag> &>(arg)),
+ prop_member_data_predicate(const prop_member_data_predicate & arg) :
+ prop_member_data<T,C,d,NotificationPolicy,write_tag>(static_cast<const prop_member_data<T,C,d,NotificationPolicy,write_tag> &>(arg)),
fs(f)
{
}
- propMemberDataPredicate(boost::function<bool (T)> f,C & c) :
- propMemberData<T,C,d,NotificationPolicy,WriteTag>(c),
+ prop_member_data_predicate(boost::function<bool (T)> f,C & c) :
+ prop_member_data<T,C,d,NotificationPolicy,write_tag>(c),
fs(f)
{
}
- propMemberDataPredicate(boost::function<bool (T)> f,C & c,T arg) :
- propMemberData<T,C,d,NotificationPolicy,WriteTag>(c),
+ prop_member_data_predicate(boost::function<bool (T)> f,C & c,T arg) :
+ prop_member_data<T,C,d,NotificationPolicy,write_tag>(c),
fs(f)
{
if (!fs || fs(arg))
@@ -125,8 +125,8 @@
}
template<class U>
- propMemberDataPredicate(boost::function<bool (T)> f,C & c,U arg) :
- propMemberData<T,C,d,NotificationPolicy,WriteTag>(c),
+ prop_member_data_predicate(boost::function<bool (T)> f,C & c,U arg) :
+ prop_member_data<T,C,d,NotificationPolicy,write_tag>(c),
fs(f)
{
if (!fs || fs(arg))
@@ -135,16 +135,16 @@
}
}
- propMemberDataPredicate & operator = (T arg)
+ prop_member_data_predicate & operator = (T arg)
{
- static_cast<propMemberData<T,C,d,NotificationPolicy,WriteTag> &>(*this) = arg;
+ static_cast<prop_member_data<T,C,d,NotificationPolicy,write_tag> &>(*this) = arg;
return(*this);
}
template<class U>
- propMemberDataPredicate & operator = (U arg)
+ prop_member_data_predicate & operator = (U arg)
{
- static_cast<propMemberData<T,C,d,NotificationPolicy,WriteTag> &>(*this) = arg;
+ static_cast<prop_member_data<T,C,d,NotificationPolicy,write_tag> &>(*this) = arg;
return(*this);
}
@@ -152,7 +152,7 @@
{
if (!fs || fs(arg))
{
- propMemberData<T,C,d,NotificationPolicy,WriteTag>::set(arg);
+ prop_member_data<T,C,d,NotificationPolicy,write_tag>::set(arg);
}
}
@@ -160,30 +160,30 @@
boost::function<bool (T)> fs;
- propMemberDataPredicate & operator = (const propMemberDataPredicate & arg);
+ prop_member_data_predicate & operator = (const prop_member_data_predicate & arg);
};
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
- struct propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> :
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag>,
+ struct prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> :
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag>,
PredicateFailurePolicy<T>
{
- propMemberDataPredicate(const propMemberDataPredicate & arg) :
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag>(static_cast<const propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &>(arg)),
+ prop_member_data_predicate(const prop_member_data_predicate & arg) :
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag>(static_cast<const prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &>(arg)),
fs(f)
{
}
- propMemberDataPredicate(boost::function<bool (T)> f,C & c) :
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag>(c),
+ prop_member_data_predicate(boost::function<bool (T)> f,C & c) :
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag>(c),
fs(f)
{
}
- propMemberDataPredicate(boost::function<bool (T)> f,C & c,T arg) :
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag>(c),
+ prop_member_data_predicate(boost::function<bool (T)> f,C & c,T arg) :
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag>(c),
fs(f)
{
if (!fs || fs(arg))
@@ -193,8 +193,8 @@
}
template<class U>
- propMemberDataPredicate(boost::function<bool (T)> f,C & c,U arg) :
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag>(c),
+ prop_member_data_predicate(boost::function<bool (T)> f,C & c,U arg) :
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag>(c),
fs(f)
{
if (!fs || fs(arg))
@@ -203,22 +203,22 @@
}
}
- propMemberDataPredicate & operator = (const propMemberDataPredicate & arg)
+ prop_member_data_predicate & operator = (const prop_member_data_predicate & arg)
{
- static_cast<propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &>(*this) = static_cast<const propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &>(arg);
+ static_cast<prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &>(*this) = static_cast<const prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &>(arg);
return(*this);
}
- propMemberDataPredicate & operator = (T arg)
+ prop_member_data_predicate & operator = (T arg)
{
- static_cast<propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &>(*this) = arg;
+ static_cast<prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &>(*this) = arg;
return(*this);
}
template<class U>
- propMemberDataPredicate & operator = (U arg)
+ prop_member_data_predicate & operator = (U arg)
{
- static_cast<propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &>(*this) = arg;
+ static_cast<prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &>(*this) = arg;
return(*this);
}
@@ -226,7 +226,7 @@
{
if (!fs || fs(arg))
{
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag>::set(arg);
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag>::set(arg);
}
else
{
@@ -244,24 +244,24 @@
};
template <class T, class C, T C::*d,template <class> class NotificationPolicy>
- struct propMemberDataPredicate<T,C,d,NotificationPolicy,DefaultPolicyTag,ReadWriteTag> :
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag>
+ struct prop_member_data_predicate<T,C,d,NotificationPolicy,default_policy_tag,read_write_tag> :
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag>
{
- propMemberDataPredicate(const propMemberDataPredicate & arg) :
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag>(static_cast<const propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &>(arg)),
+ prop_member_data_predicate(const prop_member_data_predicate & arg) :
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag>(static_cast<const prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &>(arg)),
fs(f)
{
}
- propMemberDataPredicate(boost::function<bool (T)> f,C & c) :
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag>(c),
+ prop_member_data_predicate(boost::function<bool (T)> f,C & c) :
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag>(c),
fs(f)
{
}
- propMemberDataPredicate(boost::function<bool (T)> f,C & c,T arg) :
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag>(c),
+ prop_member_data_predicate(boost::function<bool (T)> f,C & c,T arg) :
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag>(c),
fs(f)
{
if (!fs || fs(arg))
@@ -271,8 +271,8 @@
}
template<class U>
- propMemberDataPredicate(boost::function<bool (T)> f,C & c,U arg) :
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag>(c),
+ prop_member_data_predicate(boost::function<bool (T)> f,C & c,U arg) :
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag>(c),
fs(f)
{
if (!fs || fs(arg))
@@ -281,22 +281,22 @@
}
}
- propMemberDataPredicate & operator = (const propMemberDataPredicate & arg)
+ prop_member_data_predicate & operator = (const prop_member_data_predicate & arg)
{
- static_cast<propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &>(*this) = static_cast<const propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &>(arg);
+ static_cast<prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &>(*this) = static_cast<const prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &>(arg);
return(*this);
}
- propMemberDataPredicate & operator = (T arg)
+ prop_member_data_predicate & operator = (T arg)
{
- static_cast<propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &>(*this) = arg;
+ static_cast<prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &>(*this) = arg;
return(*this);
}
template<class U>
- propMemberDataPredicate & operator = (U arg)
+ prop_member_data_predicate & operator = (U arg)
{
- static_cast<propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &>(*this) = arg;
+ static_cast<prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &>(*this) = arg;
return(*this);
}
@@ -304,7 +304,7 @@
{
if (!fs || fs(arg))
{
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag>::set(arg);
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag>::set(arg);
}
}
@@ -317,10 +317,10 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFIncrement<T>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_increment<T>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator ++ (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & value)
+operator ++ (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & value)
{
T t(value.get());
@@ -333,10 +333,10 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFDecrement<T>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_decrement<T>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator -- (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & value)
+operator -- (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & value)
{
T t(value.get());
@@ -349,13 +349,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignMultiplySame<T>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_multiply_same<T>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator *= (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,T second)
+operator *= (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROMultiplySame<T>::type t(first.get() * second);
+ typename detail::binary_ro_multiply_same<T>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -364,13 +364,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy, class U>
typename boost::enable_if
<
- typename detail::OMFAssignMultiply<T,U>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_multiply<T,U>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator *= (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,U second)
+operator *= (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROMultiply<T,U>::type t(first.get() * second);
+ typename detail::binary_ro_multiply<T,U>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -379,13 +379,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignDivideSame<T>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_divide_same<T>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator /= (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,T second)
+operator /= (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryRODivideSame<T>::type t(first.get() / second);
+ typename detail::binary_ro_divide_same<T>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -394,13 +394,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy, class U>
typename boost::enable_if
<
- typename detail::OMFAssignDivide<T,U>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_divide<T,U>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator /= (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,U second)
+operator /= (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryRODivide<T,U>::type t(first.get() / second);
+ typename detail::binary_ro_divide<T,U>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -409,13 +409,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignModuloSame<T>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_modulo_same<T>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator %= (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,T second)
+operator %= (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROModuloSame<T>::type t(first.get() % second);
+ typename detail::binary_ro_modulo_same<T>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -424,13 +424,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy, class U>
typename boost::enable_if
<
- typename detail::OMFAssignModulo<T,U>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_modulo<T,U>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator %= (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,U second)
+operator %= (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROModulo<T,U>::type t(first.get() % second);
+ typename detail::binary_ro_modulo<T,U>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -439,13 +439,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignAddSame<T>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_add_same<T>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator += (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,T second)
+operator += (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROAddSame<T>::type t(first.get() + second);
+ typename detail::binary_ro_add_same<T>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -454,13 +454,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy, class U>
typename boost::enable_if
<
- typename detail::OMFAssignAdd<T,U>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_add<T,U>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator += (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,U second)
+operator += (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROAdd<T,U>::type t(first.get() + second);
+ typename detail::binary_ro_add<T,U>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -469,13 +469,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignSubtractSame<T>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_subtract_same<T>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator -= (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,T second)
+operator -= (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROSubtractSame<T>::type t(first.get() - second);
+ typename detail::binary_ro_subtract_same<T>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -484,13 +484,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy, class U>
typename boost::enable_if
<
- typename detail::OMFAssignSubtract<T,U>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_subtract<T,U>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator -= (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,U second)
+operator -= (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROSubtract<T,U>::type t(first.get() - second);
+ typename detail::binary_ro_subtract<T,U>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -499,13 +499,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShiftSame<T>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_left_shift_same<T>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator <<= (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,T second)
+operator <<= (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROLeftShiftSame<T>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift_same<T>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -514,13 +514,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy, class U>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShift<T,U>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_left_shift<T,U>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator <<= (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,U second)
+operator <<= (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROLeftShift<T,U>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift<T,U>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -529,13 +529,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignRightShiftSame<T>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_right_shift_same<T>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator >>= (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,T second)
+operator >>= (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryRORightShiftSame<T>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift_same<T>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -544,13 +544,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy, class U>
typename boost::enable_if
<
- typename detail::OMFAssignRightShift<T,U>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_right_shift<T,U>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator >>= (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,U second)
+operator >>= (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryRORightShift<T,U>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift<T,U>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -559,13 +559,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignAndSame<T>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_and_same<T>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator &= (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,T second)
+operator &= (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROAndSame<T>::type t(first.get() & second);
+ typename detail::binary_ro_and_same<T>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -574,13 +574,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy, class U>
typename boost::enable_if
<
- typename detail::OMFAssignAnd<T,U>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_and<T,U>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator &= (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,U second)
+operator &= (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROAnd<T,U>::type t(first.get() & second);
+ typename detail::binary_ro_and<T,U>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -589,13 +589,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignXOrSame<T>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_xor_same<T>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator ^= (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,T second)
+operator ^= (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROXOrSame<T>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor_same<T>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -604,13 +604,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy, class U>
typename boost::enable_if
<
- typename detail::OMFAssignXOr<T,U>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_xor<T,U>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator ^= (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,U second)
+operator ^= (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROXOr<T,U>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor<T,U>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -619,13 +619,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy>
typename boost::enable_if
<
- typename detail::OMFAssignOrSame<T>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_or_same<T>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator |= (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,T second)
+operator |= (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROOrSame<T>::type t(first.get() | second);
+ typename detail::binary_ro_or_same<T>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
@@ -634,13 +634,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy,template <class> class PredicateFailurePolicy, class U>
typename boost::enable_if
<
- typename detail::OMFAssignOr<T,U>::type,
- propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> &
+ typename detail::omf_assign_or<T,U>::type,
+ prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> &
>::type
-operator |= (propMemberDataPredicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,ReadWriteTag> & first,U second)
+operator |= (prop_member_data_predicate<T,C,d,NotificationPolicy,PredicateFailurePolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROOr<T,U>::type t(first.get() | second);
+ typename detail::binary_ro_or<T,U>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
Modified: sandbox/property/boost/property/PropertyMemberDataReference.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyMemberDataReference.hpp (original)
+++ sandbox/property/boost/property/PropertyMemberDataReference.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -7,12 +7,12 @@
{
template <class T, class C, T C::*d>
- class propMemberDataReference :
- public IPropertyReferenceRead<T>
+ class prop_member_data_reference :
+ public i_property_reference_read<T>
{
public:
- propMemberDataReference(C & c) :
+ prop_member_data_reference(C & c) :
cf(c)
{
}
Modified: sandbox/property/boost/property/PropertyMemberDataValue.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyMemberDataValue.hpp (original)
+++ sandbox/property/boost/property/PropertyMemberDataValue.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -21,23 +21,23 @@
template <class T,
class C,
T C::*d,
- template <class> class NotificationPolicy = DefaultPolicyTag,
+ template <class> class NotificationPolicy = default_policy_tag,
class Access = typename boost::mpl::if_
<
boost::is_const<T>,
- ReadTag,
- ReadWriteTag
+ read_tag,
+ read_write_tag
>::type
>
- class propMemberData;
+ class prop_member_data;
template <class T, class C, T C::*d>
- class propMemberData<T,C,d,DefaultPolicyTag,ReadTag> :
- public virtual IPropertyRead<T>
+ class prop_member_data<T,C,d,default_policy_tag,read_tag> :
+ public virtual i_property_read<T>
{
public:
- explicit propMemberData(C & c) :
+ explicit prop_member_data(C & c) :
cf(c)
{
}
@@ -56,42 +56,42 @@
C & cf;
- propMemberData & operator = (const propMemberData &);
+ prop_member_data & operator = (const prop_member_data &);
};
template <class T, class C, T C::*d>
- class propMemberData<T,C,d,DefaultPolicyTag,WriteTag> :
- public virtual IPropertyWrite<T>
+ class prop_member_data<T,C,d,default_policy_tag,write_tag> :
+ public virtual i_property_write<T>
{
public:
- explicit propMemberData(C & c) :
+ explicit prop_member_data(C & c) :
cf(c)
{
}
- propMemberData(C & c,T arg) :
+ prop_member_data(C & c,T arg) :
cf(c)
{
cf.*d = arg;
}
template<class U>
- propMemberData(C & c,U arg) :
+ prop_member_data(C & c,U arg) :
cf(c)
{
cf.*d = static_cast<T>(arg);
}
- propMemberData & operator = (T arg)
+ prop_member_data & operator = (T arg)
{
set(arg);
return(*this);
}
template<class U>
- propMemberData & operator = (U arg)
+ prop_member_data & operator = (U arg)
{
set(static_cast<T>(arg));
return(*this);
@@ -106,43 +106,43 @@
C & cf;
- propMemberData & operator = (const propMemberData &);
+ prop_member_data & operator = (const prop_member_data &);
};
template <class T, class C, T C::*d,template <class> class NotificationPolicy>
- class propMemberData<T,C,d,NotificationPolicy,WriteTag> :
- public virtual IPropertyWrite<T>,
+ class prop_member_data<T,C,d,NotificationPolicy,write_tag> :
+ public virtual i_property_write<T>,
public NotificationPolicy<T>
{
public:
- explicit propMemberData(C & c) :
+ explicit prop_member_data(C & c) :
cf(c)
{
}
- propMemberData(C & c,T arg) :
+ prop_member_data(C & c,T arg) :
cf(c)
{
cf.*d = arg;
}
template<class U>
- propMemberData(C & c,U arg) :
+ prop_member_data(C & c,U arg) :
cf(c)
{
cf.*d = static_cast<T>(arg);
}
- propMemberData & operator = (T arg)
+ prop_member_data & operator = (T arg)
{
set(arg);
return(*this);
}
template<class U>
- propMemberData & operator = (U arg)
+ prop_member_data & operator = (U arg)
{
set(static_cast<T>(arg));
return(*this);
@@ -151,7 +151,7 @@
void set(T arg)
{
cf.*d = arg;
- PropertyChanged(*this,oldT,arg);
+ property_changed(*this,oldT,arg);
}
private:
@@ -162,113 +162,113 @@
boost::optional<T> oldT;
- propMemberData & operator = (const propMemberData &);
+ prop_member_data & operator = (const prop_member_data &);
};
template <class T, class C, T C::*d>
- struct propMemberData<T,C,d,DefaultPolicyTag,ReadWriteTag> :
- propMemberData<T,C,d,DefaultPolicyTag,ReadTag>,
- propMemberData<T,C,d,DefaultPolicyTag,WriteTag>,
- IPropertyReadWrite<T>
+ struct prop_member_data<T,C,d,default_policy_tag,read_write_tag> :
+ prop_member_data<T,C,d,default_policy_tag,read_tag>,
+ prop_member_data<T,C,d,default_policy_tag,write_tag>,
+ i_property_read_write<T>
{
public:
- explicit propMemberData(C & c) :
- propMemberData<T,C,d,DefaultPolicyTag,ReadTag>(c) ,
- propMemberData<T,C,d,DefaultPolicyTag,WriteTag>(c)
+ explicit prop_member_data(C & c) :
+ prop_member_data<T,C,d,default_policy_tag,read_tag>(c) ,
+ prop_member_data<T,C,d,default_policy_tag,write_tag>(c)
{
}
- propMemberData(const propMemberData & arg) :
- propMemberData<T,C,d,DefaultPolicyTag,ReadTag>(arg) ,
- propMemberData<T,C,d,DefaultPolicyTag,WriteTag>(static_cast<const propMemberData<T,C,d,DefaultPolicyTag,WriteTag> &>(arg))
+ prop_member_data(const prop_member_data & arg) :
+ prop_member_data<T,C,d,default_policy_tag,read_tag>(arg) ,
+ prop_member_data<T,C,d,default_policy_tag,write_tag>(static_cast<const prop_member_data<T,C,d,default_policy_tag,write_tag> &>(arg))
{
}
- propMemberData(C & c,T arg) :
- propMemberData<T,C,d,DefaultPolicyTag,ReadTag>(c) ,
- propMemberData<T,C,d,DefaultPolicyTag,WriteTag>(c,arg)
+ prop_member_data(C & c,T arg) :
+ prop_member_data<T,C,d,default_policy_tag,read_tag>(c) ,
+ prop_member_data<T,C,d,default_policy_tag,write_tag>(c,arg)
{
}
template<class U>
- propMemberData(C & c,U arg) :
- propMemberData<T,C,d,DefaultPolicyTag,ReadTag>(c),
- propMemberData<T,C,d,DefaultPolicyTag,WriteTag>(c,arg)
+ prop_member_data(C & c,U arg) :
+ prop_member_data<T,C,d,default_policy_tag,read_tag>(c),
+ prop_member_data<T,C,d,default_policy_tag,write_tag>(c,arg)
{
}
- propMemberData & operator = (const propMemberData & arg)
+ prop_member_data & operator = (const prop_member_data & arg)
{
return(*this = static_cast<T>(arg));
}
- propMemberData & operator = (T arg)
+ prop_member_data & operator = (T arg)
{
- (static_cast<propMemberData<T,C,d,DefaultPolicyTag,WriteTag> &>(*this)) = arg;
+ (static_cast<prop_member_data<T,C,d,default_policy_tag,write_tag> &>(*this)) = arg;
return(*this);
}
template<class U>
- propMemberData & operator = (U arg)
+ prop_member_data & operator = (U arg)
{
- (static_cast<propMemberData<T,C,d,DefaultPolicyTag,WriteTag> &>(*this)) = arg;
+ (static_cast<prop_member_data<T,C,d,default_policy_tag,write_tag> &>(*this)) = arg;
return(*this);
}
};
template <class T, class C, T C::*d,template <class> class NotificationPolicy>
- struct propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> :
- propMemberData<T,C,d,DefaultPolicyTag,ReadTag>,
- propMemberData<T,C,d,NotificationPolicy,WriteTag>,
- IPropertyReadWrite<T>
+ struct prop_member_data<T,C,d,NotificationPolicy,read_write_tag> :
+ prop_member_data<T,C,d,default_policy_tag,read_tag>,
+ prop_member_data<T,C,d,NotificationPolicy,write_tag>,
+ i_property_read_write<T>
{
public:
- explicit propMemberData(C & c) :
- propMemberData<T,C,d,DefaultPolicyTag,ReadTag>(c),
- propMemberData<T,C,d,NotificationPolicy,WriteTag>(c)
+ explicit prop_member_data(C & c) :
+ prop_member_data<T,C,d,default_policy_tag,read_tag>(c),
+ prop_member_data<T,C,d,NotificationPolicy,write_tag>(c)
{
}
- propMemberData(const propMemberData & arg) :
- propMemberData<T,C,d,DefaultPolicyTag,ReadTag>(arg),
- propMemberData<T,C,d,NotificationPolicy,WriteTag>(static_cast<const propMemberData<T,C,d,NotificationPolicy,WriteTag> &>(arg))
+ prop_member_data(const prop_member_data & arg) :
+ prop_member_data<T,C,d,default_policy_tag,read_tag>(arg),
+ prop_member_data<T,C,d,NotificationPolicy,write_tag>(static_cast<const prop_member_data<T,C,d,NotificationPolicy,write_tag> &>(arg))
{
}
- propMemberData(C & c,T arg) :
- propMemberData<T,C,d,DefaultPolicyTag,ReadTag>(c),
- propMemberData<T,C,d,NotificationPolicy,WriteTag>(c,arg)
+ prop_member_data(C & c,T arg) :
+ prop_member_data<T,C,d,default_policy_tag,read_tag>(c),
+ prop_member_data<T,C,d,NotificationPolicy,write_tag>(c,arg)
{
}
template<class U>
- propMemberData(C & c,U arg) :
- propMemberData<T,C,d,DefaultPolicyTag,ReadTag>(c) ,
- propMemberData<T,C,d,NotificationPolicy,WriteTag>(c,arg)
+ prop_member_data(C & c,U arg) :
+ prop_member_data<T,C,d,default_policy_tag,read_tag>(c) ,
+ prop_member_data<T,C,d,NotificationPolicy,write_tag>(c,arg)
{
}
- propMemberData & operator = (const propMemberData & arg)
+ prop_member_data & operator = (const prop_member_data & arg)
{
return(*this = static_cast<T>(arg));
}
- propMemberData & operator = (T arg)
+ prop_member_data & operator = (T arg)
{
oldT = *this;
- (static_cast<propMemberData<T,C,d,NotificationPolicy,WriteTag> &>(*this)) = arg;
+ (static_cast<prop_member_data<T,C,d,NotificationPolicy,write_tag> &>(*this)) = arg;
return(*this);
}
template<class U>
- propMemberData & operator = (U arg)
+ prop_member_data & operator = (U arg)
{
oldT = *this;
- (static_cast<propMemberData<T,C,d,NotificationPolicy,WriteTag> &>(*this)) = arg;
+ (static_cast<prop_member_data<T,C,d,NotificationPolicy,write_tag> &>(*this)) = arg;
return(*this);
}
@@ -277,10 +277,10 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFIncrement<T>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_increment<T>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator ++ (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & value)
+operator ++ (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & value)
{
T t(value.get());
@@ -293,10 +293,10 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFDecrement<T>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_decrement<T>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator -- (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & value)
+operator -- (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & value)
{
T t(value.get());
@@ -309,13 +309,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignMultiplySame<T>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_multiply_same<T>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator *= (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & first,T second)
+operator *= (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROMultiplySame<T>::type t(first.get() * second);
+ typename detail::binary_ro_multiply_same<T>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -324,13 +324,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy, class U>
typename boost::enable_if
<
- typename detail::OMFAssignMultiply<T,U>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_multiply<T,U>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator *= (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & first,U second)
+operator *= (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROMultiply<T,U>::type t(first.get() * second);
+ typename detail::binary_ro_multiply<T,U>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -339,13 +339,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignDivideSame<T>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_divide_same<T>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator /= (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & first,T second)
+operator /= (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryRODivideSame<T>::type t(first.get() / second);
+ typename detail::binary_ro_divide_same<T>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -354,13 +354,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy, class U>
typename boost::enable_if
<
- typename detail::OMFAssignDivide<T,U>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_divide<T,U>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator /= (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & first,U second)
+operator /= (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryRODivide<T,U>::type t(first.get() / second);
+ typename detail::binary_ro_divide<T,U>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -369,13 +369,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignModuloSame<T>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_modulo_same<T>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator %= (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & first,T second)
+operator %= (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROModuloSame<T>::type t(first.get() % second);
+ typename detail::binary_ro_modulo_same<T>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -384,13 +384,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy, class U>
typename boost::enable_if
<
- typename detail::OMFAssignModulo<T,U>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_modulo<T,U>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator %= (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & first,U second)
+operator %= (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROModulo<T,U>::type t(first.get() % second);
+ typename detail::binary_ro_modulo<T,U>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -399,13 +399,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignAddSame<T>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_add_same<T>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator += (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & first,T second)
+operator += (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROAddSame<T>::type t(first.get() + second);
+ typename detail::binary_ro_add_same<T>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -414,13 +414,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy, class U>
typename boost::enable_if
<
- typename detail::OMFAssignAdd<T,U>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_add<T,U>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator += (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & first,U second)
+operator += (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROAdd<T,U>::type t(first.get() + second);
+ typename detail::binary_ro_add<T,U>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -429,13 +429,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignSubtractSame<T>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_subtract_same<T>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator -= (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & first,T second)
+operator -= (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROSubtractSame<T>::type t(first.get() - second);
+ typename detail::binary_ro_subtract_same<T>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -444,13 +444,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy, class U>
typename boost::enable_if
<
- typename detail::OMFAssignSubtract<T,U>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_subtract<T,U>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator -= (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & first,U second)
+operator -= (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROSubtract<T,U>::type t(first.get() - second);
+ typename detail::binary_ro_subtract<T,U>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -459,13 +459,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShiftSame<T>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_left_shift_same<T>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator <<= (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & first,T second)
+operator <<= (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROLeftShiftSame<T>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift_same<T>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -474,13 +474,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy, class U>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShift<T,U>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_left_shift<T,U>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator <<= (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & first,U second)
+operator <<= (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROLeftShift<T,U>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift<T,U>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -489,13 +489,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignRightShiftSame<T>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_right_shift_same<T>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator >>= (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & first,T second)
+operator >>= (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryRORightShiftSame<T>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift_same<T>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -504,13 +504,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy, class U>
typename boost::enable_if
<
- typename detail::OMFAssignRightShift<T,U>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_right_shift<T,U>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator >>= (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & first,U second)
+operator >>= (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryRORightShift<T,U>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift<T,U>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -519,13 +519,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignAndSame<T>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_and_same<T>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator &= (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & first,T second)
+operator &= (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROAndSame<T>::type t(first.get() & second);
+ typename detail::binary_ro_and_same<T>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -534,13 +534,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy, class U>
typename boost::enable_if
<
- typename detail::OMFAssignAnd<T,U>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_and<T,U>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator &= (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & first,U second)
+operator &= (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROAnd<T,U>::type t(first.get() & second);
+ typename detail::binary_ro_and<T,U>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -549,13 +549,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignXOrSame<T>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_xor_same<T>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator ^= (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & first,T second)
+operator ^= (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROXOrSame<T>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor_same<T>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -564,13 +564,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy, class U>
typename boost::enable_if
<
- typename detail::OMFAssignXOr<T,U>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_xor<T,U>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator ^= (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & first,U second)
+operator ^= (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROXOr<T,U>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor<T,U>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -579,13 +579,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy>
typename boost::enable_if
<
- typename detail::OMFAssignOrSame<T>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_or_same<T>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator |= (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & first,T second)
+operator |= (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & first,T second)
{
- typename detail::BinaryROOrSame<T>::type t(first.get() | second);
+ typename detail::binary_ro_or_same<T>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
@@ -594,13 +594,13 @@
template <class T, class C, T C::*d,template <class> class NotificationPolicy, class U>
typename boost::enable_if
<
- typename detail::OMFAssignOr<T,U>::type,
- propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> &
+ typename detail::omf_assign_or<T,U>::type,
+ prop_member_data<T,C,d,NotificationPolicy,read_write_tag> &
>::type
-operator |= (propMemberData<T,C,d,NotificationPolicy,ReadWriteTag> & first,U second)
+operator |= (prop_member_data<T,C,d,NotificationPolicy,read_write_tag> & first,U second)
{
- typename detail::BinaryROOr<T,U>::type t(first.get() | second);
+ typename detail::binary_ro_or<T,U>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
Modified: sandbox/property/boost/property/PropertyMemberFunctionReference.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyMemberFunctionReference.hpp (original)
+++ sandbox/property/boost/property/PropertyMemberFunctionReference.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -8,12 +8,12 @@
{
template <class T, class C, T & (C::*g)()>
- class propMemberFunctionReference :
- public IPropertyReferenceRead<T>
+ class prop_member_function_reference :
+ public i_property_reference_read<T>
{
public:
- propMemberFunctionReference(C & c) :
+ prop_member_function_reference(C & c) :
cf(c)
{
}
@@ -32,7 +32,7 @@
{
if (g == 0)
{
- throw PropertyReadException();
+ throw property_read_exception();
}
return((cf.*g)());
}
@@ -41,7 +41,7 @@
{
if (g == 0)
{
- throw PropertyReadException();
+ throw property_read_exception();
}
return((cf.*g)());
}
Modified: sandbox/property/boost/property/PropertyMemberFunctionValue.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyMemberFunctionValue.hpp (original)
+++ sandbox/property/boost/property/PropertyMemberFunctionValue.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -17,12 +17,12 @@
{
template <class T, class C, T (C::*g)()>
- class propReadMemberFunction :
- public virtual IPropertyRead<T>
+ class prop_read_member_function :
+ public virtual i_property_read<T>
{
public:
- explicit propReadMemberFunction(C & c) :
+ explicit prop_read_member_function(C & c) :
cf(c)
{
}
@@ -36,7 +36,7 @@
{
if (g == 0)
{
- throw PropertyReadException();
+ throw property_read_exception();
}
return((cf.*g)());
}
@@ -45,50 +45,50 @@
C & cf;
- propReadMemberFunction & operator = (const propReadMemberFunction &);
+ prop_read_member_function & operator = (const prop_read_member_function &);
};
template <class T, class C, void (C::*s)(T)>
- class propWriteMemberFunction :
- public virtual IPropertyWrite<T>
+ class prop_write_member_function :
+ public virtual i_property_write<T>
{
public:
- explicit propWriteMemberFunction(C & c) :
+ explicit prop_write_member_function(C & c) :
cf(c)
{
}
- propWriteMemberFunction(C & c,T arg) :
+ prop_write_member_function(C & c,T arg) :
cf(c)
{
if (s == 0)
{
- throw PropertyWriteException();
+ throw property_write_exception();
}
(cf.*s)(arg);
}
template<class U>
- propWriteMemberFunction(C & c,U arg) :
+ prop_write_member_function(C & c,U arg) :
cf(c)
{
if (s == 0)
{
- throw PropertyWriteException();
+ throw property_write_exception();
}
(cf.*s)(static_cast<T>(arg));
}
- propWriteMemberFunction & operator = (T arg)
+ prop_write_member_function & operator = (T arg)
{
set(arg);
return(*this);
}
template<class U>
- propWriteMemberFunction & operator = (U arg)
+ prop_write_member_function & operator = (U arg)
{
set(static_cast<T>(arg));
return(*this);
@@ -98,7 +98,7 @@
{
if (s == 0)
{
- throw PropertyWriteException();
+ throw property_write_exception();
}
(cf.*s)(arg);
}
@@ -107,56 +107,56 @@
C & cf;
- propWriteMemberFunction & operator = (const propWriteMemberFunction &);
+ prop_write_member_function & operator = (const prop_write_member_function &);
};
template <class T, class C, T (C::*g)(), void (C::*s)(T)>
- struct propMemberFunction :
- propReadMemberFunction<T,C,g> ,
- propWriteMemberFunction<T,C,s>
+ struct prop_member_function :
+ prop_read_member_function<T,C,g> ,
+ prop_write_member_function<T,C,s>
{
- explicit propMemberFunction(C & c) :
- propReadMemberFunction<T,C,g>(c) ,
- propWriteMemberFunction<T,C,s>(c)
+ explicit prop_member_function(C & c) :
+ prop_read_member_function<T,C,g>(c) ,
+ prop_write_member_function<T,C,s>(c)
{
}
- propMemberFunction(const propMemberFunction & arg) :
- propReadMemberFunction<T,C,g>(arg) ,
- propWriteMemberFunction<T,C,s>(static_cast<const propWriteMemberFunction<T,C,s> &>(arg))
+ prop_member_function(const prop_member_function & arg) :
+ prop_read_member_function<T,C,g>(arg) ,
+ prop_write_member_function<T,C,s>(static_cast<const prop_write_member_function<T,C,s> &>(arg))
{
}
- propMemberFunction(C & c,T arg) :
- propReadMemberFunction<T,C,g>(c) ,
- propWriteMemberFunction<T,C,s>(c,arg)
+ prop_member_function(C & c,T arg) :
+ prop_read_member_function<T,C,g>(c) ,
+ prop_write_member_function<T,C,s>(c,arg)
{
}
template<class U>
- propMemberFunction(C & c,U arg) :
- propReadMemberFunction<T,C,g>(c) ,
- propWriteMemberFunction<T,C,s>(c,arg)
+ prop_member_function(C & c,U arg) :
+ prop_read_member_function<T,C,g>(c) ,
+ prop_write_member_function<T,C,s>(c,arg)
{
}
- propMemberFunction & operator = (const propMemberFunction & arg)
+ prop_member_function & operator = (const prop_member_function & arg)
{
return(*this = static_cast<T>(arg));
}
- propMemberFunction & operator = (T arg)
+ prop_member_function & operator = (T arg)
{
- (static_cast<propWriteMemberFunction<T,C,s> &>(*this)) = arg;
+ (static_cast<prop_write_member_function<T,C,s> &>(*this)) = arg;
return(*this);
}
template<class U>
- propMemberFunction & operator = (U arg)
+ prop_member_function & operator = (U arg)
{
- (static_cast<propWriteMemberFunction<T,C,s> &>(*this)) = arg;
+ (static_cast<prop_write_member_function<T,C,s> &>(*this)) = arg;
return(*this);
}
@@ -169,10 +169,10 @@
>
typename boost::enable_if
<
- typename detail::OMFIncrement<T>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_increment<T>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator ++ (propMemberFunction<T,C,g,s> & value)
+operator ++ (prop_member_function<T,C,g,s> & value)
{
T t(value.get());
@@ -189,10 +189,10 @@
>
typename boost::enable_if
<
- typename detail::OMFDecrement<T>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_decrement<T>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator -- (propMemberFunction<T,C,g,s> & value)
+operator -- (prop_member_function<T,C,g,s> & value)
{
T t(value.get());
@@ -209,13 +209,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignMultiplySame<T>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_assign_multiply_same<T>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator *= (propMemberFunction<T,C,g,s> & first,T second)
+operator *= (prop_member_function<T,C,g,s> & first,T second)
{
- typename detail::BinaryROMultiplySame<T>::type t(first.get() * second);
+ typename detail::binary_ro_multiply_same<T>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -229,13 +229,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignMultiply<T,U>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_assign_multiply<T,U>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator *= (propMemberFunction<T,C,g,s> & first,U second)
+operator *= (prop_member_function<T,C,g,s> & first,U second)
{
- typename detail::BinaryROMultiply<T,U>::type t(first.get() * second);
+ typename detail::binary_ro_multiply<T,U>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -248,13 +248,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignDivideSame<T>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_assign_divide_same<T>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator /= (propMemberFunction<T,C,g,s> & first,T second)
+operator /= (prop_member_function<T,C,g,s> & first,T second)
{
- typename detail::BinaryRODivideSame<T>::type t(first.get() / second);
+ typename detail::binary_ro_divide_same<T>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -268,13 +268,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignDivide<T,U>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_assign_divide<T,U>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator /= (propMemberFunction<T,C,g,s> & first,U second)
+operator /= (prop_member_function<T,C,g,s> & first,U second)
{
- typename detail::BinaryRODivide<T,U>::type t(first.get() / second);
+ typename detail::binary_ro_divide<T,U>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -287,13 +287,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignModuloSame<T>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_assign_modulo_same<T>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator %= (propMemberFunction<T,C,g,s> & first,T second)
+operator %= (prop_member_function<T,C,g,s> & first,T second)
{
- typename detail::BinaryROModuloSame<T>::type t(first.get() % second);
+ typename detail::binary_ro_modulo_same<T>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -307,13 +307,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignModulo<T,U>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_assign_modulo<T,U>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator %= (propMemberFunction<T,C,g,s> & first,U second)
+operator %= (prop_member_function<T,C,g,s> & first,U second)
{
- typename detail::BinaryROModulo<T,U>::type t(first.get() % second);
+ typename detail::binary_ro_modulo<T,U>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -326,13 +326,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignAddSame<T>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_assign_add_same<T>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator += (propMemberFunction<T,C,g,s> & first,T second)
+operator += (prop_member_function<T,C,g,s> & first,T second)
{
- typename detail::BinaryROAddSame<T>::type t(first.get() + second);
+ typename detail::binary_ro_add_same<T>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -346,13 +346,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignAdd<T,U>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_assign_add<T,U>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator += (propMemberFunction<T,C,g,s> & first,U second)
+operator += (prop_member_function<T,C,g,s> & first,U second)
{
- typename detail::BinaryROAdd<T,U>::type t(first.get() + second);
+ typename detail::binary_ro_add<T,U>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -365,13 +365,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignSubtractSame<T>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_assign_subtract_same<T>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator -= (propMemberFunction<T,C,g,s> & first,T second)
+operator -= (prop_member_function<T,C,g,s> & first,T second)
{
- typename detail::BinaryROSubtractSame<T>::type t(first.get() - second);
+ typename detail::binary_ro_subtract_same<T>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -385,13 +385,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignSubtract<T,U>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_assign_subtract<T,U>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator -= (propMemberFunction<T,C,g,s> & first,U second)
+operator -= (prop_member_function<T,C,g,s> & first,U second)
{
- typename detail::BinaryROSubtract<T,U>::type t(first.get() - second);
+ typename detail::binary_ro_subtract<T,U>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -404,13 +404,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShiftSame<T>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_assign_left_shift_same<T>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator <<= (propMemberFunction<T,C,g,s> & first,T second)
+operator <<= (prop_member_function<T,C,g,s> & first,T second)
{
- typename detail::BinaryROLeftShiftSame<T>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift_same<T>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -424,13 +424,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShift<T,U>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_assign_left_shift<T,U>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator <<= (propMemberFunction<T,C,g,s> & first,U second)
+operator <<= (prop_member_function<T,C,g,s> & first,U second)
{
- typename detail::BinaryROLeftShift<T,U>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift<T,U>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -443,13 +443,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignRightShiftSame<T>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_assign_right_shift_same<T>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator >>= (propMemberFunction<T,C,g,s> & first,T second)
+operator >>= (prop_member_function<T,C,g,s> & first,T second)
{
- typename detail::BinaryRORightShiftSame<T>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift_same<T>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -463,13 +463,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignRightShift<T,U>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_assign_right_shift<T,U>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator >>= (propMemberFunction<T,C,g,s> & first,U second)
+operator >>= (prop_member_function<T,C,g,s> & first,U second)
{
- typename detail::BinaryRORightShift<T,U>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift<T,U>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -482,13 +482,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignAndSame<T>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_assign_and_same<T>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator &= (propMemberFunction<T,C,g,s> & first,T second)
+operator &= (prop_member_function<T,C,g,s> & first,T second)
{
- typename detail::BinaryROAndSame<T>::type t(first.get() & second);
+ typename detail::binary_ro_and_same<T>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -502,13 +502,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignAnd<T,U>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_assign_and<T,U>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator &= (propMemberFunction<T,C,g,s> & first,U second)
+operator &= (prop_member_function<T,C,g,s> & first,U second)
{
- typename detail::BinaryROAnd<T,U>::type t(first.get() & second);
+ typename detail::binary_ro_and<T,U>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -521,13 +521,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignXOrSame<T>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_assign_xor_same<T>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator ^= (propMemberFunction<T,C,g,s> & first,T second)
+operator ^= (prop_member_function<T,C,g,s> & first,T second)
{
- typename detail::BinaryROXOrSame<T>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor_same<T>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -541,13 +541,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignXOr<T,U>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_assign_xor<T,U>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator ^= (propMemberFunction<T,C,g,s> & first,U second)
+operator ^= (prop_member_function<T,C,g,s> & first,U second)
{
- typename detail::BinaryROXOr<T,U>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor<T,U>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -560,13 +560,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignOrSame<T>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_assign_or_same<T>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator |= (propMemberFunction<T,C,g,s> & first,T second)
+operator |= (prop_member_function<T,C,g,s> & first,T second)
{
- typename detail::BinaryROOrSame<T>::type t(first.get() | second);
+ typename detail::binary_ro_or_same<T>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
@@ -580,13 +580,13 @@
>
typename boost::enable_if
<
- typename detail::OMFAssignOr<T,U>::type,
- propMemberFunction<T,C,g,s> &
+ typename detail::omf_assign_or<T,U>::type,
+ prop_member_function<T,C,g,s> &
>::type
-operator |= (propMemberFunction<T,C,g,s> & first,U second)
+operator |= (prop_member_function<T,C,g,s> & first,U second)
{
- typename detail::BinaryROOr<T,U>::type t(first.get() | second);
+ typename detail::binary_ro_or<T,U>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
Modified: sandbox/property/boost/property/PropertyNotificationBoostSignal.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyNotificationBoostSignal.hpp (original)
+++ sandbox/property/boost/property/PropertyNotificationBoostSignal.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -8,16 +8,16 @@
namespace properties
{
- template <class T> class NotificationBoostSignal
+ template <class T> class notification_boost_signal
{
public:
- boost::signal<void (const IPropertyWrite<T> &,boost::optional<T>,T)> sig;
+ boost::signal<void (const i_property_write<T> &,boost::optional<T>,T)> sig;
protected:
- void PropertyChanged(const IPropertyWrite<T> & signaller,boost::optional<T> oldValue,T newValue)
+ void property_changed(const i_property_write<T> & signaller,boost::optional<T> oldValue,T newValue)
{
sig(signaller,oldValue,newValue);
}
Modified: sandbox/property/boost/property/PropertyOperators.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyOperators.hpp (original)
+++ sandbox/property/boost/property/PropertyOperators.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -12,10 +12,10 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFIncrement<T>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_increment<T>::type,
+ i_property_read_write<T> &
>::type
-operator ++ (IPropertyReadWrite<T> & value)
+operator ++ (i_property_read_write<T> & value)
{
T t(value.get());
@@ -28,10 +28,10 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFDecrement<T>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_decrement<T>::type,
+ i_property_read_write<T> &
>::type
-operator -- (IPropertyReadWrite<T> & value)
+operator -- (i_property_read_write<T> & value)
{
T t(value.get());
@@ -44,10 +44,10 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFPostIncrement<T>::type,
+ typename detail::omf_post_increment<T>::type,
T
>::type
-operator ++ (IPropertyReadWrite<T> & value,int)
+operator ++ (i_property_read_write<T> & value,int)
{
T ret(value.get());
@@ -61,10 +61,10 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFPostDecrement<T>::type,
+ typename detail::omf_post_decrement<T>::type,
T
>::type
-operator -- (IPropertyReadWrite<T> & value,int)
+operator -- (i_property_read_write<T> & value,int)
{
T ret(value.get());
@@ -78,13 +78,13 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFAssignMultiplySame<T>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_assign_multiply_same<T>::type,
+ i_property_read_write<T> &
>::type
-operator *= (IPropertyReadWrite<T> & first,T second)
+operator *= (i_property_read_write<T> & first,T second)
{
- typename detail::BinaryROMultiplySame<T>::type t(first.get() * second);
+ typename detail::binary_ro_multiply_same<T>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -93,13 +93,13 @@
template <class T,class U>
typename boost::enable_if
<
- typename detail::OMFAssignMultiply<T,U>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_assign_multiply<T,U>::type,
+ i_property_read_write<T> &
>::type
-operator *= (IPropertyReadWrite<T> & first,U second)
+operator *= (i_property_read_write<T> & first,U second)
{
- typename detail::BinaryROMultiply<T,U>::type t(first.get() * second);
+ typename detail::binary_ro_multiply<T,U>::type t(first.get() * second);
first.set(static_cast<T>(t));
return(first);
@@ -108,13 +108,13 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFAssignDivideSame<T>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_assign_divide_same<T>::type,
+ i_property_read_write<T> &
>::type
-operator /= (IPropertyReadWrite<T> & first,T second)
+operator /= (i_property_read_write<T> & first,T second)
{
- typename detail::BinaryRODivideSame<T>::type t(first.get() / second);
+ typename detail::binary_ro_divide_same<T>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -123,13 +123,13 @@
template <class T,class U>
typename boost::enable_if
<
- typename detail::OMFAssignDivide<T,U>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_assign_divide<T,U>::type,
+ i_property_read_write<T> &
>::type
-operator /= (IPropertyReadWrite<T> & first,U second)
+operator /= (i_property_read_write<T> & first,U second)
{
- typename detail::BinaryRODivide<T,U>::type t(first.get() / second);
+ typename detail::binary_ro_divide<T,U>::type t(first.get() / second);
first.set(static_cast<T>(t));
return(first);
@@ -138,13 +138,13 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFAssignModuloSame<T>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_assign_modulo_same<T>::type,
+ i_property_read_write<T> &
>::type
-operator %= (IPropertyReadWrite<T> & first,T second)
+operator %= (i_property_read_write<T> & first,T second)
{
- typename detail::BinaryROModuloSame<T>::type t(first.get() % second);
+ typename detail::binary_ro_modulo_same<T>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -153,13 +153,13 @@
template <class T,class U>
typename boost::enable_if
<
- typename detail::OMFAssignModulo<T,U>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_assign_modulo<T,U>::type,
+ i_property_read_write<T> &
>::type
-operator %= (IPropertyReadWrite<T> & first,U second)
+operator %= (i_property_read_write<T> & first,U second)
{
- typename detail::BinaryROModulo<T,U>::type t(first.get() % second);
+ typename detail::binary_ro_modulo<T,U>::type t(first.get() % second);
first.set(static_cast<T>(t));
return(first);
@@ -168,13 +168,13 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFAssignAddSame<T>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_assign_add_same<T>::type,
+ i_property_read_write<T> &
>::type
-operator += (IPropertyReadWrite<T> & first,T second)
+operator += (i_property_read_write<T> & first,T second)
{
- typename detail::BinaryROAddSame<T>::type t(first.get() + second);
+ typename detail::binary_ro_add_same<T>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -183,13 +183,13 @@
template <class T,class U>
typename boost::enable_if
<
- typename detail::OMFAssignAdd<T,U>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_assign_add<T,U>::type,
+ i_property_read_write<T> &
>::type
-operator += (IPropertyReadWrite<T> & first,U second)
+operator += (i_property_read_write<T> & first,U second)
{
- typename detail::BinaryROAdd<T,U>::type t(first.get() + second);
+ typename detail::binary_ro_add<T,U>::type t(first.get() + second);
first.set(static_cast<T>(t));
return(first);
@@ -198,13 +198,13 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFAssignSubtractSame<T>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_assign_subtract_same<T>::type,
+ i_property_read_write<T> &
>::type
-operator -= (IPropertyReadWrite<T> & first,T second)
+operator -= (i_property_read_write<T> & first,T second)
{
- typename detail::BinaryROSubtractSame<T>::type t(first.get() - second);
+ typename detail::binary_ro_subtract_same<T>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -213,13 +213,13 @@
template <class T,class U>
typename boost::enable_if
<
- typename detail::OMFAssignSubtract<T,U>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_assign_subtract<T,U>::type,
+ i_property_read_write<T> &
>::type
-operator -= (IPropertyReadWrite<T> & first,U second)
+operator -= (i_property_read_write<T> & first,U second)
{
- typename detail::BinaryROSubtract<T,U>::type t(first.get() - second);
+ typename detail::binary_ro_subtract<T,U>::type t(first.get() - second);
first.set(static_cast<T>(t));
return(first);
@@ -228,13 +228,13 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShiftSame<T>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_assign_left_shift_same<T>::type,
+ i_property_read_write<T> &
>::type
-operator <<= (IPropertyReadWrite<T> & first,T second)
+operator <<= (i_property_read_write<T> & first,T second)
{
- typename detail::BinaryROLeftShiftSame<T>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift_same<T>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -243,13 +243,13 @@
template <class T,class U>
typename boost::enable_if
<
- typename detail::OMFAssignLeftShift<T,U>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_assign_left_shift<T,U>::type,
+ i_property_read_write<T> &
>::type
-operator <<= (IPropertyReadWrite<T> & first,U second)
+operator <<= (i_property_read_write<T> & first,U second)
{
- typename detail::BinaryROLeftShift<T,U>::type t(first.get() << second);
+ typename detail::binary_ro_left_shift<T,U>::type t(first.get() << second);
first.set(static_cast<T>(t));
return(first);
@@ -258,13 +258,13 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFAssignRightShiftSame<T>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_assign_right_shift_same<T>::type,
+ i_property_read_write<T> &
>::type
-operator >>= (IPropertyReadWrite<T> & first,T second)
+operator >>= (i_property_read_write<T> & first,T second)
{
- typename detail::BinaryRORightShiftSame<T>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift_same<T>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -273,13 +273,13 @@
template <class T,class U>
typename boost::enable_if
<
- typename detail::OMFAssignRightShift<T,U>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_assign_right_shift<T,U>::type,
+ i_property_read_write<T> &
>::type
-operator >>= (IPropertyReadWrite<T> & first,U second)
+operator >>= (i_property_read_write<T> & first,U second)
{
- typename detail::BinaryRORightShift<T,U>::type t(first.get() >> second);
+ typename detail::binary_ro_right_shift<T,U>::type t(first.get() >> second);
first.set(static_cast<T>(t));
return(first);
@@ -288,13 +288,13 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFAssignAndSame<T>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_assign_and_same<T>::type,
+ i_property_read_write<T> &
>::type
-operator &= (IPropertyReadWrite<T> & first,T second)
+operator &= (i_property_read_write<T> & first,T second)
{
- typename detail::BinaryROAndSame<T>::type t(first.get() & second);
+ typename detail::binary_ro_and_same<T>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -303,13 +303,13 @@
template <class T,class U>
typename boost::enable_if
<
- typename detail::OMFAssignAnd<T,U>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_assign_and<T,U>::type,
+ i_property_read_write<T> &
>::type
-operator &= (IPropertyReadWrite<T> & first,U second)
+operator &= (i_property_read_write<T> & first,U second)
{
- typename detail::BinaryROAnd<T,U>::type t(first.get() & second);
+ typename detail::binary_ro_and<T,U>::type t(first.get() & second);
first.set(static_cast<T>(t));
return(first);
@@ -318,13 +318,13 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFAssignXOrSame<T>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_assign_xor_same<T>::type,
+ i_property_read_write<T> &
>::type
-operator ^= (IPropertyReadWrite<T> & first,T second)
+operator ^= (i_property_read_write<T> & first,T second)
{
- typename detail::BinaryROXOrSame<T>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor_same<T>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -333,13 +333,13 @@
template <class T,class U>
typename boost::enable_if
<
- typename detail::OMFAssignXOr<T,U>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_assign_xor<T,U>::type,
+ i_property_read_write<T> &
>::type
-operator ^= (IPropertyReadWrite<T> & first,U second)
+operator ^= (i_property_read_write<T> & first,U second)
{
- typename detail::BinaryROXOr<T,U>::type t(first.get() ^ second);
+ typename detail::binary_ro_xor<T,U>::type t(first.get() ^ second);
first.set(static_cast<T>(t));
return(first);
@@ -348,13 +348,13 @@
template <class T>
typename boost::enable_if
<
- typename detail::OMFAssignOrSame<T>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_assign_or_same<T>::type,
+ i_property_read_write<T> &
>::type
-operator |= (IPropertyReadWrite<T> & first,T second)
+operator |= (i_property_read_write<T> & first,T second)
{
- typename detail::BinaryROOrSame<T>::type t(first.get() | second);
+ typename detail::binary_ro_or_same<T>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
@@ -363,13 +363,13 @@
template <class T,class U>
typename boost::enable_if
<
- typename detail::OMFAssignOr<T,U>::type,
- IPropertyReadWrite<T> &
+ typename detail::omf_assign_or<T,U>::type,
+ i_property_read_write<T> &
>::type
-operator |= (IPropertyReadWrite<T> & first,U second)
+operator |= (i_property_read_write<T> & first,U second)
{
- typename detail::BinaryROOr<T,U>::type t(first.get() | second);
+ typename detail::binary_ro_or<T,U>::type t(first.get() | second);
first.set(static_cast<T>(t));
return(first);
Modified: sandbox/property/boost/property/PropertyOperatorsDetail.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyOperatorsDetail.hpp (original)
+++ sandbox/property/boost/property/PropertyOperatorsDetail.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -10,243 +10,243 @@
{
template <class T>
- struct UnaryROPlus
+ struct unary_ro_plus
{
typedef BOOST_TYPEOF_TPL(+T()) type;
};
template <class T>
- struct UnaryROMinus
+ struct unary_ro_minus
{
typedef BOOST_TYPEOF_TPL(-T()) type;
};
template <class T>
- struct UnaryRONegate
+ struct unary_ro_negate
{
typedef BOOST_TYPEOF_TPL(~T()) type;
};
template <class T>
- struct UnaryRONot
+ struct unary_ro_not
{
typedef BOOST_TYPEOF_TPL(!T()) type;
};
template <class T,class U>
- struct BinaryROMultiply
+ struct binary_ro_multiply
{
typedef BOOST_TYPEOF_TPL(T() * U()) type;
};
template <class T,class U>
- struct BinaryRODivide
+ struct binary_ro_divide
{
typedef BOOST_TYPEOF_TPL(T() / U()) type;
};
template <class T,class U>
- struct BinaryROModulo
+ struct binary_ro_modulo
{
typedef BOOST_TYPEOF_TPL(T() % U()) type;
};
template <class T,class U>
- struct BinaryROAdd
+ struct binary_ro_add
{
typedef BOOST_TYPEOF_TPL(T() + U()) type;
};
template <class T,class U>
- struct BinaryROSubtract
+ struct binary_ro_subtract
{
typedef BOOST_TYPEOF_TPL(T() - U()) type;
};
template <class T,class U>
- struct BinaryROLeftShift
+ struct binary_ro_left_shift
{
typedef BOOST_TYPEOF_TPL(T() << U()) type;
};
template <class T,class U>
- struct BinaryRORightShift
+ struct binary_ro_right_shift
{
typedef BOOST_TYPEOF_TPL(T() >> U()) type;
};
template <class T,class U>
- struct BinaryROAnd
+ struct binary_ro_and
{
typedef BOOST_TYPEOF_TPL(T() & U()) type;
};
template <class T,class U>
- struct BinaryROOr
+ struct binary_ro_or
{
typedef BOOST_TYPEOF_TPL(T() | U()) type;
};
template <class T,class U>
- struct BinaryROXOr
+ struct binary_ro_xor
{
typedef BOOST_TYPEOF_TPL(T() ^ U()) type;
};
template <class T,class U>
- struct BinaryROGreater
+ struct binary_ro_greater
{
typedef BOOST_TYPEOF_TPL(T() > U()) type;
};
template <class T,class U>
- struct BinaryROLess
+ struct binary_ro_less
{
typedef BOOST_TYPEOF_TPL(T() < U()) type;
};
template <class T,class U>
- struct BinaryROGreaterOrEqual
+ struct binary_ro_greater_or_equal
{
typedef BOOST_TYPEOF_TPL(T() >= U()) type;
};
template <class T,class U>
- struct BinaryROLessOrEqual
+ struct binary_ro_less_or_equal
{
typedef BOOST_TYPEOF_TPL(T() <= U()) type;
};
template <class T,class U>
- struct BinaryROEqual
+ struct binary_ro_equal
{
typedef BOOST_TYPEOF_TPL(T() == U()) type;
};
template <class T,class U>
- struct BinaryRONotEqual
+ struct binary_ro_not_equal
{
typedef BOOST_TYPEOF_TPL(T() != U()) type;
};
template <class T,class U>
- struct BinaryROLogicalAnd
+ struct binary_ro_logical_and
{
typedef BOOST_TYPEOF_TPL(T() && U()) type;
};
template <class T,class U>
- struct BinaryROLogicalOr
+ struct binary_ro_logical_or
{
typedef BOOST_TYPEOF_TPL(T() || U()) type;
};
template <class T>
- struct BinaryROMultiplySame
+ struct binary_ro_multiply_same
{
- typedef typename BinaryROMultiply<T,T>::type type;
+ typedef typename binary_ro_multiply<T,T>::type type;
};
template <class T>
- struct BinaryRODivideSame
+ struct binary_ro_divide_same
{
- typedef typename BinaryRODivide<T,T>::type type;
+ typedef typename binary_ro_divide<T,T>::type type;
};
template <class T>
- struct BinaryROModuloSame
+ struct binary_ro_modulo_same
{
- typedef typename BinaryROModulo<T,T>::type type;
+ typedef typename binary_ro_modulo<T,T>::type type;
};
template <class T>
- struct BinaryROAddSame
+ struct binary_ro_add_same
{
- typedef typename BinaryROAdd<T,T>::type type;
+ typedef typename binary_ro_add<T,T>::type type;
};
template <class T>
- struct BinaryROSubtractSame
+ struct binary_ro_subtract_same
{
- typedef typename BinaryROSubtract<T,T>::type type;
+ typedef typename binary_ro_subtract<T,T>::type type;
};
template <class T>
- struct BinaryROLeftShiftSame
+ struct binary_ro_left_shift_same
{
- typedef typename BinaryROLeftShift<T,T>::type type;
+ typedef typename binary_ro_left_shift<T,T>::type type;
};
template <class T>
- struct BinaryRORightShiftSame
+ struct binary_ro_right_shift_same
{
- typedef typename BinaryRORightShift<T,T>::type type;
+ typedef typename binary_ro_right_shift<T,T>::type type;
};
template <class T>
- struct BinaryROAndSame
+ struct binary_ro_and_same
{
- typedef typename BinaryROAnd<T,T>::type type;
+ typedef typename binary_ro_and<T,T>::type type;
};
template <class T>
- struct BinaryROOrSame
+ struct binary_ro_or_same
{
- typedef typename BinaryROOr<T,T>::type type;
+ typedef typename binary_ro_or<T,T>::type type;
};
template <class T>
- struct BinaryROXOrSame
+ struct binary_ro_xor_same
{
- typedef typename BinaryROXOr<T,T>::type type;
+ typedef typename binary_ro_xor<T,T>::type type;
};
template <class T>
- struct BinaryROGreaterSame
+ struct binary_ro_greater_same
{
- typedef typename BinaryROGreater<T,T>::type type;
+ typedef typename binary_ro_greater<T,T>::type type;
};
template <class T>
- struct BinaryROLessSame
+ struct binary_ro_less_same
{
- typedef typename BinaryROLess<T,T>::type type;
+ typedef typename binary_ro_less<T,T>::type type;
};
template <class T>
- struct BinaryROGreaterOrEqualSame
+ struct binary_ro_greater_or_equal_same
{
- typedef typename BinaryROGreaterOrEqual<T,T>::type type;
+ typedef typename binary_ro_greater_or_equal<T,T>::type type;
};
template <class T>
- struct BinaryROLessOrEqualSame
+ struct binary_ro_less_or_equal_same
{
- typedef typename BinaryROLessOrEqual<T,T>::type type;
+ typedef typename binary_ro_less_or_equal<T,T>::type type;
};
template <class T>
- struct BinaryROEqualSame
+ struct binary_ro_equal_same
{
- typedef typename BinaryROEqual<T,T>::type type;
+ typedef typename binary_ro_equal<T,T>::type type;
};
template <class T>
- struct BinaryRONotEqualSame
+ struct binary_ro_not_equal_same
{
- typedef typename BinaryRONotEqual<T,T>::type type;
+ typedef typename binary_ro_not_equal<T,T>::type type;
};
template <class T>
- struct BinaryROLogicalAndSame
+ struct binary_ro_logical_and_same
{
- typedef typename BinaryROLogicalAnd<T,T>::type type;
+ typedef typename binary_ro_logical_and<T,T>::type type;
};
template <class T>
- struct BinaryROLogicalOrSame
+ struct binary_ro_logical_or_same
{
- typedef typename BinaryROLogicalOr<T,T>::type type;
+ typedef typename binary_ro_logical_or<T,T>::type type;
};
}
Modified: sandbox/property/boost/property/PropertyOperatorsEnabling.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyOperatorsEnabling.hpp (original)
+++ sandbox/property/boost/property/PropertyOperatorsEnabling.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -18,7 +18,7 @@
// Arithmetic, pointer, not bool
template <class T>
- struct OMFIncrement
+ struct omf_increment
{
typedef typename boost::mpl::or_
<
@@ -37,7 +37,7 @@
// Arithmetic, pointer, not bool
template <class T>
- struct OMFDecrement
+ struct omf_decrement
{
typedef typename boost::mpl::or_
<
@@ -56,7 +56,7 @@
// Arithmetic, pointer, not bool
template <class T>
- struct OMFPostIncrement
+ struct omf_post_increment
{
typedef typename boost::mpl::or_
<
@@ -75,7 +75,7 @@
// Arithmetic, pointer, not bool
template <class T>
- struct OMFPostDecrement
+ struct omf_post_decrement
{
typedef typename boost::mpl::or_
<
@@ -94,7 +94,7 @@
// Arithmetic, enumeration
template <class T>
- struct OMFAssignMultiplySame
+ struct omf_assign_multiply_same
{
typedef typename boost::mpl::or_
<
@@ -106,7 +106,7 @@
// Arithmetic, enumeration
template <class T,class U>
- struct OMFAssignMultiply
+ struct omf_assign_multiply
{
typedef typename boost::mpl::and_
<
@@ -127,7 +127,7 @@
// Arithmetic, enumeration
template <class T>
- struct OMFAssignDivideSame
+ struct omf_assign_divide_same
{
typedef typename boost::mpl::or_
<
@@ -139,7 +139,7 @@
// Arithmetic, enumeration
template <class T,class U>
- struct OMFAssignDivide
+ struct omf_assign_divide
{
typedef typename boost::mpl::and_
<
@@ -160,7 +160,7 @@
// Integral, enumeration
template <class T>
- struct OMFAssignModuloSame
+ struct omf_assign_modulo_same
{
typedef typename boost::mpl::or_
<
@@ -172,7 +172,7 @@
// Integral, enumeration
template <class T,class U>
- struct OMFAssignModulo
+ struct omf_assign_modulo
{
typedef typename boost::mpl::and_
<
@@ -196,7 +196,7 @@
*/
template <class T>
- struct OMFAssignAddSame
+ struct omf_assign_add_same
{
typedef typename boost::mpl::or_
<
@@ -211,7 +211,7 @@
*/
template <class T,class U>
- struct OMFAssignAdd
+ struct omf_assign_add
{
typedef typename boost::mpl::or_
<
@@ -249,7 +249,7 @@
*/
template <class T>
- struct OMFAssignSubtractSame
+ struct omf_assign_subtract_same
{
typedef typename boost::mpl::or_
<
@@ -267,7 +267,7 @@
*/
template <class T,class U>
- struct OMFAssignSubtract
+ struct omf_assign_subtract
{
typedef typename boost::mpl::or_
<
@@ -310,7 +310,7 @@
// Integral, enumeration
template <class T>
- struct OMFAssignLeftShiftSame
+ struct omf_assign_left_shift_same
{
typedef typename boost::mpl::or_
<
@@ -322,7 +322,7 @@
// Integral, enumeration
template <class T,class U>
- struct OMFAssignLeftShift
+ struct omf_assign_left_shift
{
typedef typename boost::mpl::and_
<
@@ -343,7 +343,7 @@
// Integral, enumeration
template <class T>
- struct OMFAssignRightShiftSame
+ struct omf_assign_right_shift_same
{
typedef typename boost::mpl::or_
<
@@ -355,7 +355,7 @@
// Integral, enumeration
template <class T,class U>
- struct OMFAssignRightShift
+ struct omf_assign_right_shift
{
typedef typename boost::mpl::and_
<
@@ -376,7 +376,7 @@
// Integral, enumeration
template <class T>
- struct OMFAssignAndSame
+ struct omf_assign_and_same
{
typedef typename boost::mpl::or_
<
@@ -388,7 +388,7 @@
// Integral, enumeration
template <class T,class U>
- struct OMFAssignAnd
+ struct omf_assign_and
{
typedef typename boost::mpl::and_
<
@@ -409,7 +409,7 @@
// Integral, enumeration
template <class T>
- struct OMFAssignXOrSame
+ struct omf_assign_xor_same
{
typedef typename boost::mpl::or_
<
@@ -421,7 +421,7 @@
// Integral, enumeration
template <class T,class U>
- struct OMFAssignXOr
+ struct omf_assign_xor
{
typedef typename boost::mpl::and_
<
@@ -442,7 +442,7 @@
// Integral, enumeration
template <class T>
- struct OMFAssignOrSame
+ struct omf_assign_or_same
{
typedef typename boost::mpl::or_
<
@@ -454,7 +454,7 @@
// Integral, enumeration
template <class T,class U>
- struct OMFAssignOr
+ struct omf_assign_or
{
typedef typename boost::mpl::and_
<
Modified: sandbox/property/boost/property/PropertyPredicateFailureRuntimeException.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyPredicateFailureRuntimeException.hpp (original)
+++ sandbox/property/boost/property/PropertyPredicateFailureRuntimeException.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -10,12 +10,12 @@
namespace properties
{
- template <class T> class PredicateFailureRuntimeException
+ template <class T> class predicate_failure_runtime_exception
{
protected:
- void PredicateFailure(const IPropertyWrite<T> & prop,const boost::function<bool (T)> & f,boost::optional<T> oldValue,T newValue)
+ void PredicateFailure(const i_property_write<T> & prop,const boost::function<bool (T)> & f,boost::optional<T> oldValue,T newValue)
{
std::ostringstream oss;
Modified: sandbox/property/boost/property/PropertyReferenceInterface.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyReferenceInterface.hpp (original)
+++ sandbox/property/boost/property/PropertyReferenceInterface.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -8,7 +8,7 @@
{
template <class T>
- struct IPropertyReferenceRead
+ struct i_property_reference_read
{
BOOST_MPL_ASSERT_NOT((boost::is_reference<T>));
Modified: sandbox/property/boost/property/PropertyTag.hpp
==============================================================================
--- sandbox/property/boost/property/PropertyTag.hpp (original)
+++ sandbox/property/boost/property/PropertyTag.hpp 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -4,10 +4,10 @@
namespace properties
{
- struct ReadTag { };
- struct WriteTag { };
- struct ReadWriteTag : public ReadTag, public WriteTag { };
- template <class T> class DefaultPolicyTag { };
+ struct read_tag { };
+ struct write_tag { };
+ struct read_write_tag : public read_tag, public write_tag { };
+ template <class T> class default_policy_tag { };
}
Modified: sandbox/property/boost/property/detail/PropertyIndexMapDetail.h
==============================================================================
--- sandbox/property/boost/property/detail/PropertyIndexMapDetail.h (original)
+++ sandbox/property/boost/property/detail/PropertyIndexMapDetail.h 2011-04-29 14:53:07 EDT (Fri, 29 Apr 2011)
@@ -31,7 +31,7 @@
template <class PMAP,class bref>
struct PropertyIndexMapBase<PMAP,bref,boost::readable_property_map_tag> :
- IPropertyIndexRead<typename boost::property_traits<PMAP>::value_type,typename boost::property_traits<PMAP>::key_type>,
+ i_property_index_read<typename boost::property_traits<PMAP>::value_type,typename boost::property_traits<PMAP>::key_type>,
PropertyIndexMapBaseTypedefs<PMAP>
{
@@ -52,7 +52,7 @@
template <class PMAP,class bref>
struct PropertyIndexMapBase<PMAP,bref,boost::writable_property_map_tag> :
- IPropertyIndexWrite<typename boost::property_traits<PMAP>::value_type,typename boost::property_traits<PMAP>::key_type>,
+ i_property_index_write<typename boost::property_traits<PMAP>::value_type,typename boost::property_traits<PMAP>::key_type>,
PropertyIndexMapBaseTypedefs<PMAP>
{
@@ -73,8 +73,8 @@
template <class PMAP,class bref>
struct PropertyIndexMapBase<PMAP,bref,boost::read_write_property_map_tag> :
- IPropertyIndexRead<typename boost::property_traits<PMAP>::value_type,typename boost::property_traits<PMAP>::key_type>,
- IPropertyIndexWrite<typename boost::property_traits<PMAP>::value_type,typename boost::property_traits<PMAP>::key_type>,
+ i_property_index_read<typename boost::property_traits<PMAP>::value_type,typename boost::property_traits<PMAP>::key_type>,
+ i_property_index_write<typename boost::property_traits<PMAP>::value_type,typename boost::property_traits<PMAP>::key_type>,
PropertyIndexMapBaseTypedefs<PMAP>
{
@@ -100,7 +100,7 @@
template <class PMAP>
struct PropertyIndexMapBase<PMAP,boost::mpl::false_,boost::lvalue_property_map_tag> :
- IPropertyIndexReadWriteLValue<typename boost::property_traits<PMAP>::value_type,typename boost::property_traits<PMAP>::key_type,typename boost::property_traits<PMAP>::reference>,
+ i_property_index_read_write_lvalue<typename boost::property_traits<PMAP>::value_type,typename boost::property_traits<PMAP>::key_type,typename boost::property_traits<PMAP>::reference>,
PropertyIndexMapBaseTypedefs<PMAP>
{
@@ -131,7 +131,7 @@
template <class PMAP>
struct PropertyIndexMapBase<PMAP,boost::mpl::true_,boost::lvalue_property_map_tag> :
- IPropertyIndexReadImmutable<typename boost::property_traits<PMAP>::value_type,typename boost::property_traits<PMAP>::key_type,typename boost::property_traits<PMAP>::reference>,
+ i_property_index_read_immutable<typename boost::property_traits<PMAP>::value_type,typename boost::property_traits<PMAP>::key_type,typename boost::property_traits<PMAP>::reference>,
PropertyIndexMapBaseTypedefs<PMAP>
{
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk