lcdd/include/lcdd/id
diff -u -r1.5 -r1.5.2.1
--- Id64bit.hh 10 Jul 2013 20:49:06 -0000 1.5
+++ Id64bit.hh 14 Aug 2013 00:15:32 -0000 1.5.2.1
@@ -1,10 +1,11 @@
-// $Header: /cvs/lcd/lcdd/include/lcdd/id/Id64bit.hh,v 1.5 2013/07/10 20:49:06 jeremy Exp $
+// $Header: /cvs/lcd/lcdd/include/lcdd/id/Id64bit.hh,v 1.5.2.1 2013/08/14 00:15:32 jeremy Exp $
#ifndef LCDD_ID64BIT_HH
#define LCDD_ID64BIT_HH 1
/**
* @brief A 64-bit ID composed of two 32-bit halves.
- * @todo Move code to source file.
+ * @todo Add method for getting long value of this ID.
+ * @todo Make a fully qualified constructor and then remove the setId0 and setId1 methods.
*/
class Id64bit
{
@@ -13,6 +14,8 @@
typedef int ElementType;
+ //typedef long ValueType; // Will this always be 64 bit on 32 and 64 bit platforms???
+
public:
/**
@@ -55,12 +58,20 @@
ElementType getId1() const;
/**
+ * Get the value of the ID, defined as a long.
+ * @return The value of the ID defined as a long.
+ */
+ //ValueType getValue() const;
+
+ /**
* Overloaded equals operator.
*/
bool operator==(const Id64bit& right) const;
private:
ElementType _ids[2];
+
+ //ValueType _value;
};
#endif