X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fcomm%2FCodec.hpp;h=be95c73f955d2ea1bfad20e3744c5afd69ee69d3;hp=490662a393470f1543c40e2e45ba43fe2b541537;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/include/anna/comm/Codec.hpp b/include/anna/comm/Codec.hpp index 490662a..be95c73 100644 --- a/include/anna/comm/Codec.hpp +++ b/include/anna/comm/Codec.hpp @@ -103,7 +103,7 @@ public: al mensaje y viceversa. @return Un puntero que hace referencia al nuevo dato interno que ha sido creado. */ - const Variable* attach(const char* name, std::string& value) throw(RuntimeException) { return CompatCodec::attach(name, size(), value); } + const Variable* attach(const char* name, std::string& value) noexcept(false) { return CompatCodec::attach(name, size(), value); } /** Asocia el valor recibido como parametro al dato interno identificado por `id'. Esta clase @@ -116,7 +116,7 @@ public: al mensaje y viceversa. @return Un puntero que hace referencia al nuevo dato interno que ha sido creado. */ - const Variable* attach(const char* name, const char*& value) throw(RuntimeException) { return CompatCodec::attach(name, size(), value); } + const Variable* attach(const char* name, const char*& value) noexcept(false) { return CompatCodec::attach(name, size(), value); } /** Asocia el valor recibido como parametro al dato interno identificado por `id'. Esta clase @@ -129,7 +129,7 @@ public: al mensaje y viceversa. @return Un puntero que hace referencia al nuevo dato interno que ha sido creado. */ - const Variable* attach(const char* name, int& value) throw(RuntimeException) { return CompatCodec::attach(name, size(), value); } + const Variable* attach(const char* name, int& value) noexcept(false) { return CompatCodec::attach(name, size(), value); } /** Asocia el valor recibido como parametro al dato interno identificado por `id'. Esta clase @@ -142,7 +142,7 @@ public: al mensaje y viceversa. @return Un puntero que hace referencia al nuevo dato interno que ha sido creado. */ - const Variable* attach(const char* name, S64& value) throw(RuntimeException) { return CompatCodec::attach(name, size(), value); } + const Variable* attach(const char* name, S64& value) noexcept(false) { return CompatCodec::attach(name, size(), value); } /** Asocia el valor recibido como parametro al dato interno identificado por `id'. Esta clase @@ -155,7 +155,7 @@ public: al mensaje y viceversa. @return Un puntero que hace referencia al nuevo dato interno que ha sido creado. */ - const Variable* attach(const char* name, bool& value) throw(RuntimeException) { return CompatCodec::attach(name, size(), value); } + const Variable* attach(const char* name, bool& value) noexcept(false) { return CompatCodec::attach(name, size(), value); } /** Asocia el valor recibido como parametro al dato interno identificado por `id'. Esta clase @@ -168,7 +168,7 @@ public: al mensaje y viceversa. Debe tener activado el sistema de copia profunda. @return Un puntero que hace referencia al nuevo dato interno que ha sido creado. */ - const Variable* attach(const char* name, DataBlock& value) throw(RuntimeException) { return CompatCodec::attach(name, size(), value); } + const Variable* attach(const char* name, DataBlock& value) noexcept(false) { return CompatCodec::attach(name, size(), value); } /** Asocia el valor recibido como parametro al dato interno identificado por `id'. Esta clase @@ -181,7 +181,7 @@ public: al mensaje y viceversa. Debe tener activado el sistema de copia profunda. @return Un puntero que hace referencia al nuevo dato interno que ha sido creado. */ - const Variable* attach(const char* name, float& value) throw(RuntimeException) { return CompatCodec::attach(name, size(), value); } + const Variable* attach(const char* name, float& value) noexcept(false) { return CompatCodec::attach(name, size(), value); } /** Asocia el valor recibido como parametro al dato interno identificado por `id'. Esta clase @@ -194,7 +194,7 @@ public: al mensaje y viceversa. Debe tener activado el sistema de copia profunda. @return Un puntero que hace referencia al nuevo dato interno que ha sido creado. */ - const Variable* attach(const char* name, double& value) throw(RuntimeException) { return CompatCodec::attach(name, size(), value); } + const Variable* attach(const char* name, double& value) noexcept(false) { return CompatCodec::attach(name, size(), value); } /** Asocia el valor recibido como parametro al dato interno identificado por `id'. Esta clase @@ -207,7 +207,7 @@ public: al mensaje y viceversa. Debe tener activado el sistema de copia profunda. @return Un puntero que hace referencia al nuevo dato interno que ha sido creado. */ - const Variable* attach(const char* name, Second& value) throw(RuntimeException); + const Variable* attach(const char* name, Second& value) noexcept(false); /** Asocia el valor recibido como parametro al dato interno identificado por `id'. Esta clase @@ -220,7 +220,7 @@ public: al mensaje y viceversa. Debe tener activado el sistema de copia profunda. @return Un puntero que hace referencia al nuevo dato interno que ha sido creado. */ - const Variable* attach(const char* name, Millisecond& value) throw(RuntimeException); + const Variable* attach(const char* name, Millisecond& value) noexcept(false); /** Asocia el valor recibido como parametro al dato interno identificado por `id'. Esta clase @@ -233,7 +233,7 @@ public: al mensaje y viceversa. Debe tener activado el sistema de copia profunda. @return Un puntero que hace referencia al nuevo dato interno que ha sido creado. */ - const Variable* attach(const char* name, Microsecond& value) throw(RuntimeException); + const Variable* attach(const char* name, Microsecond& value) noexcept(false); }; }