refs #356 Update remaining CValueObject derived classes to use CValueObjectStdTuple instead.

This commit is contained in:
Mathew Sutcliffe
2015-03-16 18:38:03 +00:00
parent 2a3e0acf23
commit a5e6b31c0f
7 changed files with 61 additions and 235 deletions

View File

@@ -168,6 +168,22 @@ namespace BlackMisc
using PropertyIndex = Policy::PropertyIndex::Default; //!< PropertyIndex policy
};
/*!
* Policy classes for use by classes with incomplete migration to CValueObjectStdTuple.
*
* This is to make it easier to apply the necessary changes to these classes for #356.
* \todo Remove this and finish migrating classes that use it.
*/
struct CValueObjectLegacy : public CValueObjectStdTuplePolicy<CEmpty>
{
using Equals = Policy::Equals::None; //!< Equals policy
using LessThan = Policy::LessThan::None; //!< Less than policy
using Compare = Policy::Compare::None; //!< Compare policy
using Hash = Policy::Hash::Own; //!< Hash policy
using DBus = Policy::DBus::Own; //!< DBus policy
using Json = Policy::Json::Own; //!< JSon policy
};
/*!
* Standard implementation of CValueObject using meta tuple system.
*