OMNeT++/OMNEST Bug Tracker - OMNeT++
View Issue Details
0000564OMNeT++simulation kernelpublic2012-04-26 16:042012-04-26 16:32
zbojthe 
 
lowfeaturealways
newopen 
4.2.2 
 
0000564: suggestion: add a getRequiredAttribute() function to cXMLElement class
const 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;
}
No tags attached.
Issue History
2012-04-26 16:04zbojtheNew Issue
2012-04-26 16:32zbojtheDescription Updated

There are no notes attached to this issue.