Switch to side-by-side view

--- a
+++ b/src/Common/ConnectionId.h
@@ -0,0 +1,52 @@
+//
+// Copyright Š 2014 PRISTINE Consortium (http://ict-pristine.eu)
+// 
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU Lesser General Public License for more details.
+// 
+// You should have received a copy of the GNU Lesser General Public License
+// along with this program.  If not, see http://www.gnu.org/licenses/.
+// 
+
+#ifndef CONNECTIONID_H_
+#define CONNECTIONID_H_
+
+#include <cobject.h>
+#include <string>
+#include "QosCube.h"
+
+//Consts
+extern const unsigned short VAL_RESERVEDQOSID;
+extern const int VAL_UNDEF_CEPID;
+
+class ConnectionId: public cObject {
+  public:
+    ConnectionId();
+    virtual ~ConnectionId();
+    unsigned int getDstCepId() const;
+    void setDstCepId(unsigned int destCepId);
+    unsigned short getQoSId() const;
+    void setQoSId(unsigned short qoSId);
+    unsigned int getSrcCepId() const;
+    void setSrcCepId(unsigned int srcCepId);
+
+    bool operator<(const ConnectionId other) const;
+    bool operator==(const ConnectionId other) const;
+
+    virtual ConnectionId *dup() const;
+
+  private:
+    unsigned int qosId;
+    unsigned int srcCEPId;
+    unsigned int dstCEPId;
+
+};
+
+#endif /* CONNECTIONID_H_ */