OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000359OMNeT++simulation kernelpublic2011-06-17 15:592011-06-17 15:59
Assigned To 
PlatformOSOS Version
Product Version4.2b2 
Target VersionFixed in Version 
Summary0000359: suggestion: add a getRequiredAttribute(attrName) function to cXMLElement class
DescriptionThe "generate error when attribute is not exists" found more times in modules
Additional Information.h:
virtual const char *getRequiredAttribute(const char *attr) const;

const char *cXMLElement::getRequiredAttribute(const char *attr) const
    const char *s = getAttribute(attr);
    if (s == NULL)
        error("required attribute %s of <%s> missing at %s",
              attr, getTagName(), getSourceLocation());
    return s;
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-06-17 15:59 zbojthe New Issue

Copyright © 2000 - 2022 MantisBT Team
Powered by Mantis Bugtracker