type* variable;\
{\
variable = dynamic_cast<type*>(sbmlns);\
if (variable == NULL)\
{\
try\
{\
variable = new type(sbmlns->getLevel(), sbmlns->getVersion(), version);\
}\
{\
variable = new type(sbmlns->getLevel(), 1, version);\
}\
{\
if (!variable->getNamespaces()->hasURI(xmlns->
getURI(i)))\
}\
}\
else { variable = new type(*variable); }\
}
Definition SBMLExtensionException.h:65
Definition XMLNamespaces.h:90
std::string getURI(int index) const
Look up the URI of an XML namespace declaration by its position.
Definition XMLNamespaces.cpp:303
std::string getPrefix(int index) const
Look up the prefix of an XML namespace declaration by its position.
Definition XMLNamespaces.cpp:280
int getNumNamespaces() const
Returns the total number of URI-and-prefix pairs stored in this particular XMLNamespaces instance.
Definition XMLNamespaces.cpp:268