remi-fileset.hpp 619 Bytes
Newer Older
Matthieu Dorier's avatar
Matthieu Dorier committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
#ifndef __REMI_FILESET_HPP
#define __REMI_FILESET_HPP

#include <string>
#include <map>
#include <set>
#include <thallium/serialization/stl/string.hpp>
#include <thallium/serialization/stl/set.hpp>
#include <thallium/serialization/stl/map.hpp>

struct remi_fileset {

    std::string                       m_class;
    std::string                       m_root;
    std::map<std::string,std::string> m_metadata;
    std::set<std::string>             m_files;

    template<typename A>
    void serialize(A& ar) {
        ar & m_class;
        ar & m_root;
        ar & m_metadata;
        ar & m_files;
    }
};

#endif