OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000564OMNeT++simulation kernelpublic2012-04-26 16:042012-04-26 16:32
Reporterzbojthe 
Assigned To 
PrioritylowSeverityfeatureReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version4.2.2 
Target VersionFixed in Version 
Summary0000564: suggestion: add a getRequiredAttribute() function to cXMLElement class
Descriptionconst char *cXMLElement::getRequiredAttribute(const char *attr, bool acceptEmpty = false) const
{
    const char *s = getAttribute(attr);
    if (!(s && (*s || acceptEmpty)))
        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
2012-04-26 16:04 zbojthe New Issue
2012-04-26 16:32 zbojthe Description Updated


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker