git-svn-id: svn://db.shs.com.ru/pip@819 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -20,10 +20,8 @@
|
||||
#ifndef PIINTROSPECTION_CONTAINERS_P_H
|
||||
#define PIINTROSPECTION_CONTAINERS_P_H
|
||||
|
||||
#ifdef PIP_INTROSPECTION
|
||||
|
||||
#include "pimutex.h"
|
||||
#include <unordered_map>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include "picrc.h"
|
||||
|
||||
@@ -49,16 +47,15 @@ public:
|
||||
ullong bytes_used;
|
||||
};
|
||||
|
||||
std::unordered_map<uint, Type> data;
|
||||
std::unordered_map<uint, std::string> typenames;
|
||||
std::map<uint, Type> data;
|
||||
std::map<uint, std::string> typenames;
|
||||
PIMutex mutex;
|
||||
CRC_32 crc;
|
||||
};
|
||||
|
||||
PIByteArray & operator <<(PIByteArray & s, const std::unordered_map<uint, std::string> & v);
|
||||
PIByteArray & operator <<(PIByteArray & s, const std::map<uint, std::string> & v);
|
||||
|
||||
PIByteArray & operator <<(PIByteArray & s, const PIIntrospectionContainers::Type & v);
|
||||
PIByteArray & operator >>(PIByteArray & s, PIIntrospectionContainers::Type & v);
|
||||
|
||||
#endif // PIP_INTROSPECTION
|
||||
#endif // PIINTROSPECTION_CONTAINERS_P_H
|
||||
|
||||
Reference in New Issue
Block a user