Log In
New Account
  
Home My Page Project Cloud Code Snippets Project Openings Pierogi
Summary Forums Tracker Lists Tasks Docs News SCM Files
1 #ifndef PIRDEVICEINFO_H
2 #define PIRDEVICEINFO_H
4 #include "pirmakenames.h"
5 #include "pirdevicetypenames.h"
7 #include <map>
9 class DeviceInfo
10 {
11 public:
12   DeviceInfo(
13     PIRMakeName ma,
14     const char *mo,
15     PIRDeviceTypeName t)
16   : make(ma),
17     model(mo),
18     type(t)
19   {}
21   PIRMakeName make;
22   const char *model;
23   PIRDeviceTypeName type;
24 };
26 bool operator< (
27   const DeviceInfo &a,
28   const DeviceInfo &b);
30 typedef std::map<DeviceInfo, unsigned int> PIRDeviceCollection;
32 typedef std::pair<DeviceInfo, unsigned int> PIRDCPair;
34 #endif // PIRDEVICEINFO_H

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment