X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fxml%2FAttribute.hpp;fp=include%2Fanna%2Fxml%2FAttribute.hpp;h=0d49885dc0551444da110f103b2353fc88a7d733;hp=cd76d11200413cd6d0a3c9e771ebc747af575718;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/include/anna/xml/Attribute.hpp b/include/anna/xml/Attribute.hpp index cd76d11..0d49885 100644 --- a/include/anna/xml/Attribute.hpp +++ b/include/anna/xml/Attribute.hpp @@ -38,25 +38,25 @@ public: Devuelve el nombre de este atributo. \return Nombre de este atributo. */ - const char* getName() const throw() { return a_name.c_str(); } + const char* getName() const { return a_name.c_str(); } /** * Devuelve el namespace asociado a este atributo. Puede ser NULL. * \return el namespace asociado a este atributo. Puede ser NULL. */ - const Namespace* getNamespace() const throw() { return a_namespace; } + const Namespace* getNamespace() const { return a_namespace; } /** * Devuelve el nombre del nodo. * \return El nombre del nodo. */ - const std::string& getNameAsString() const throw() { return a_name; } + const std::string& getNameAsString() const { return a_name; } /** Devuelve una cadena con toda la informacion relevante de esta instancia. \return Una cadena con toda la informacion relevante de esta instancia. */ - std::string asString() const throw(); + std::string asString() const ; private: std::string a_name; @@ -67,8 +67,8 @@ private: virtual ~Attribute() {;} - void setName(const char* name) throw() { a_name = name; } - void setNamespace(const Namespace* _namespace) throw() { a_namespace = _namespace; } + void setName(const char* name) { a_name = name; } + void setNamespace(const Namespace* _namespace) { a_namespace = _namespace; } friend class Node; friend class Allocator;