refs #356 Renamed CValueObjectStdTuple to CValueObject.

This commit is contained in:
Mathew Sutcliffe
2015-03-27 23:03:25 +00:00
parent 73f135fa5b
commit 9977d97a67
111 changed files with 330 additions and 330 deletions

View File

@@ -19,7 +19,7 @@ namespace BlackMisc
namespace Aviation
{
//! Value object encapsulating information about aircraft's engines
class CAircraftEngine : public CValueObjectStdTuple<CAircraftEngine>
class CAircraftEngine : public CValueObject<CAircraftEngine>
{
public:

View File

@@ -68,7 +68,7 @@ namespace BlackMisc
case IndexTaxi:
return CVariant::from(m_taxiOn);
default:
return CValueObjectStdTuple::propertyByIndex(index);
return CValueObject::propertyByIndex(index);
}
}
@@ -102,7 +102,7 @@ namespace BlackMisc
this->m_taxiOn = variant.toBool();
break;
default:
CValueObjectStdTuple::setPropertyByIndex(variant, index);
CValueObject::setPropertyByIndex(variant, index);
break;
}
}

View File

@@ -20,7 +20,7 @@ namespace BlackMisc
namespace Aviation
{
//! Value object encapsulating information about aircraft's lights
class CAircraftLights : public CValueObjectStdTuple<CAircraftLights>
class CAircraftLights : public CValueObject<CAircraftLights>
{
public:
//! Properties by index

View File

@@ -54,7 +54,7 @@ namespace BlackMisc
case IndexSpoilersOut:
return CVariant::fromValue(this->m_spoilersOut);
default:
return CValueObjectStdTuple::propertyByIndex(index);
return CValueObject::propertyByIndex(index);
}
}
@@ -93,7 +93,7 @@ namespace BlackMisc
this->m_correspondingCallsign.setPropertyByIndex(variant, index.copyFrontRemoved());
break;
default:
CValueObjectStdTuple::setPropertyByIndex(variant, index);
CValueObject::setPropertyByIndex(variant, index);
break;
}
}

View File

@@ -25,7 +25,7 @@ namespace BlackMisc
{
//! Value object encapsulating information of aircraft's parts
class CAircraftParts :
public CValueObjectStdTuple<CAircraftParts>,
public CValueObject<CAircraftParts>,
public BlackMisc::ITimestampBased
{
public: