00001
00002
00003
00004
00005
00006
00007
00008 #include "config.h"
00009
00010 #ifndef EID_H_
00011 #define EID_H_
00012
00013 #include <string>
00014
00015 using namespace std;
00016
00017 namespace dtn
00018 {
00019 namespace data
00020 {
00021 class EID
00022 {
00023 public:
00024 EID();
00025 EID(string value);
00026 ~EID();
00027
00028 string getString() const;
00029 string getApplication() const;
00030 string getNode() const;
00031 string getScheme() const;
00032
00033 string getNodeEID() const;
00034
00035 bool hasApplication() const;
00036
00037 private:
00038 string m_value;
00039 string m_scheme;
00040 string m_node;
00041 string m_application;
00042 };
00043 }
00044 }
00045
00046 #endif