Remove core-comm dependency through CounterManager/timex in core/oam subsystem. Basic...
[anna.git] / include / anna / core / util / Variable.hpp
index 582bd83..3637263 100644 (file)
 #ifndef anna_core_util_Variable_hpp
 #define anna_core_util_Variable_hpp
 
-#include <anna/config/defines.hpp>
+#include <anna/core/util/defines.hpp>
 #include <anna/core/RuntimeException.hpp>
 #include <anna/core/define.autoenum.hpp>
 #include <anna/core/util/String.hpp>
-#include <anna/core//DataBlock.hpp>
+#include <anna/core/DataBlock.hpp>
 
 namespace anna {
 
@@ -109,7 +109,7 @@ public:
   * @param name Nombre logico que recibe este variable.
   * @param value Referencia a la variable que estamos recubriendo con esta instancia.
   */
-  Variable(const char* name, Integer64& value) :
+  Variable(const char* name, S64& value) :
     a_name(name),
     a_isNull(false),
     a_type(Type::Integer64),
@@ -241,7 +241,7 @@ public:
      @return Si la variable indicada en el contructor de esta instancia puede interpretarse como
      un entero de 64 bits devolvera su contenido, en otro caso lanzara una excepcion para indicar el error.
   */
-  Integer64 getInteger64Value() const throw(RuntimeException);
+  S64 getInteger64Value() const throw(RuntimeException);
 
   /**
      Devuelve el valor booleano asociado a esta variable.
@@ -307,7 +307,7 @@ public:
      Interpreta el valor asociado a esta variable como un valor entero largo.
      \warning No se realiza ninguna comprobacion semantica.
   */
-  Integer64 getInteger64() const throw() { return *a_value.a_longInteger; }
+  S64 getInteger64() const throw() { return *a_value.a_longInteger; }
 
   /**
      Interpreta el valor asociado a esta variable como un valor booleano.
@@ -368,7 +368,7 @@ public:
   *
   * @param value Valor que tomara la variable a la que recubre este variable.
   */
-  void setValue(const Integer64 value) throw(RuntimeException) ;
+  void setValue(const S64 value) throw(RuntimeException) ;
 
   /**
   * Establece el valor de la variable a la que recubre. Si la variable estaba marcada como nula la desmarca.
@@ -422,7 +422,7 @@ public:
      Establece el valor asociado a esta variable como un valor entero largo.
      \warning No se realiza ninguna comprobacion semantica.
   */
-  void setLong(const Integer64 value) throw() { *a_value.a_longInteger = value; a_isNull = false; }
+  void setLong(const S64 value) throw() { *a_value.a_longInteger = value; a_isNull = false; }
 
   /**
      Establece el valor asociado a esta variable como un valor booleano.
@@ -489,7 +489,7 @@ private:
   union {
     std::string* a_string;
     int* a_integer;
-    Integer64* a_longInteger;
+    S64* a_longInteger;
     bool* a_boolean;
     DataBlock* a_dataBlock;
     float* a_float;
@@ -498,7 +498,7 @@ private:
   } a_value;
   struct {
     int integer;
-    Integer64 longInteger;
+    S64 longInteger;
     bool boolean;
     float theFloat;
     double theDouble;