Use nested namespaces (C++17 feature)

This commit is contained in:
Mat Sutcliffe
2021-09-15 21:44:54 +01:00
parent 3f2e5b0b69
commit 57d32da826
1345 changed files with 146075 additions and 150376 deletions

View File

@@ -17,30 +17,27 @@
#include "blackmisc/collection.h"
#include "blackmisc/sequence.h"
namespace BlackMisc
namespace BlackMisc::Simulation
{
namespace Simulation
//! Value object encapsulating a list of setups.
class BLACKMISC_EXPORT CInterpolationSetupList :
public CSequence<CInterpolationAndRenderingSetupPerCallsign>,
public Aviation::ICallsignObjectList<CInterpolationAndRenderingSetupPerCallsign, CInterpolationSetupList>,
public Mixin::MetaType<CInterpolationSetupList>
{
//! Value object encapsulating a list of setups.
class BLACKMISC_EXPORT CInterpolationSetupList :
public CSequence<CInterpolationAndRenderingSetupPerCallsign>,
public Aviation::ICallsignObjectList<CInterpolationAndRenderingSetupPerCallsign, CInterpolationSetupList>,
public Mixin::MetaType<CInterpolationSetupList>
{
public:
BLACKMISC_DECLARE_USING_MIXIN_METATYPE(CInterpolationSetupList)
using CSequence::CSequence;
public:
BLACKMISC_DECLARE_USING_MIXIN_METATYPE(CInterpolationSetupList)
using CSequence::CSequence;
//! Default constructor.
CInterpolationSetupList();
//! Default constructor.
CInterpolationSetupList();
//! Single object
CInterpolationSetupList(const CInterpolationAndRenderingSetupPerCallsign &setup);
//! Single object
CInterpolationSetupList(const CInterpolationAndRenderingSetupPerCallsign &setup);
//! Construct from a base class object.
CInterpolationSetupList(const CSequence<CInterpolationAndRenderingSetupPerCallsign> &other);
};
} //namespace
//! Construct from a base class object.
CInterpolationSetupList(const CSequence<CInterpolationAndRenderingSetupPerCallsign> &other);
};
} // namespace
Q_DECLARE_METATYPE(BlackMisc::Simulation::CInterpolationSetupList)