2013-07-02 08:40:43 +02:00
|
|
|
#ifndef _LOADERIPL_HPP_
|
|
|
|
#define _LOADERIPL_HPP_
|
2013-12-20 15:03:32 +01:00
|
|
|
#include <data/InstanceData.hpp>
|
2014-12-16 00:13:33 +01:00
|
|
|
#include <data/ZoneData.hpp>
|
2013-07-02 08:06:03 +02:00
|
|
|
|
|
|
|
#include <iostream>
|
|
|
|
#include <vector>
|
2013-12-05 08:23:07 +01:00
|
|
|
#include <memory>
|
2013-07-02 08:06:03 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
\class LoaderIPL
|
|
|
|
\brief Loads all data from a IPL file into memory
|
|
|
|
*/
|
|
|
|
class LoaderIPL
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
/// Load the IPL data into memory
|
|
|
|
bool load(const std::string& filename);
|
|
|
|
|
|
|
|
/// The list of instances from the IPL file
|
2013-12-05 08:23:07 +01:00
|
|
|
std::vector<std::shared_ptr<InstanceData>> m_instances;
|
2013-07-02 18:29:20 +02:00
|
|
|
|
|
|
|
/// List of Zones
|
2014-12-16 00:13:33 +01:00
|
|
|
std::vector<ZoneData> zones;
|
2013-07-02 08:06:03 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LoaderIPL_h__
|