/* Calcula la parte fija de la URI, se invoca desde el constructor. */
const string& http::wims20::Abstract::calculeFixedPart()
-throw(RuntimeException) {
+noexcept(false) {
if(a_serviceID.empty() == true) {
string msg(asString());
msg += " | ServiceID can not be NULL";
}
const string& http::wims20::Abstract::calculeShortFixedPart()
-throw(RuntimeException) {
+noexcept(false) {
string::size_type pos = a_domain.find("http://");
if(pos == string::npos) {
}
void http::wims20::Abstract::other_level_add(const std::string& otherLevel)
-throw(RuntimeException) {
+noexcept(false) {
if(a_otherLevels == NULL)
a_otherLevels = new other_level_container;
/*virtual*/
void http::wims20::Abstract::clearOtherLevels()
-throw() {
+{
if(hasOtherLevels()) {
for(other_level_iterator ii = other_level_begin(), maxii = other_level_end(); ii != maxii; ii ++)
destroyString(otherLevel(ii));
}
void http::wims20::Abstract::parameter_set(const std::string& name, const std::string& value)
-throw(RuntimeException) {
+noexcept(false) {
bool exists = false;
if(a_parameters == NULL)
}
void http::wims20::Abstract::clearParameters()
-throw() {
+{
if(hasParameters()) {
for(parameter_iterator ii = parameter_begin(), maxii = parameter_end(); ii != maxii; ii ++) {
destroyString(parameter_name(ii));
}
string http::wims20::Abstract::asString() const
-throw() {
+{
string result("http::wims20::");
result += a_whatis;
result += " { Domain: ";
/*static*/
void http::wims20::Abstract::appendWithSlash(std::string& target, const std::string& other)
-throw() {
+{
const char* str = target.c_str();
if(str [anna_strlen(str) - 1] != '/')