@@ -90,10 +90,10 @@ Value Setter<E, unsigned>::doExecute() {
9090// Template specialization: unsigned long
9191//
9292template <class E >
93- class Setter <E, unsigned long > : public Command {
93+ class Setter <E, uint64_t > : public Command {
9494 public:
9595 // / Pointer to method that sets parameter of type unsigned long
96- typedef void (E::*SetterMethod)(const unsigned long &);
96+ typedef void (E::*SetterMethod)(const uint64_t &);
9797 // / Constructor
9898 Setter (E &entity, SetterMethod setterMethod, const std::string &docString);
9999
@@ -105,17 +105,17 @@ class Setter<E, unsigned long> : public Command {
105105}; // Class Setter
106106
107107template <class E >
108- Setter<E, unsigned long >::Setter(E &entity, SetterMethod setterMethod,
108+ Setter<E, uint64_t >::Setter(E &entity, SetterMethod setterMethod,
109109 const std::string &docString)
110110 : Command(entity, boost::assign::list_of(Value::UNSIGNEDLONGINT),
111111 docString),
112112 setterMethod_ (setterMethod) {}
113113
114114template <class E >
115- Value Setter<E, unsigned long >::doExecute() {
115+ Value Setter<E, uint64_t >::doExecute() {
116116 const std::vector<Value> &values = getParameterValues ();
117117 // Get parameter
118- unsigned long value = values[0 ].value ();
118+ uint64_t value = values[0 ].value ();
119119 E &entity = static_cast <E &>(owner ());
120120 (entity.*setterMethod_)(value);
121121 return Value ();
0 commit comments