INET Framework for OMNeT++/OMNEST
|
Functions | |
const cXMLElement * | getUniqueChild (const cXMLElement *node, const char *name) |
const cXMLElement * | getUniqueChildIfExists (const cXMLElement *node, const char *name) |
bool | parseBool (const char *text) |
void | checkTags (const cXMLElement *node, const char *allowed) |
const char * | getParameterStrValue (const cXMLElement *ptr, const char *name, const char *def) |
bool | getParameterBoolValue (const cXMLElement *ptr, const char *name, bool def) |
bool | getParameterBoolValue (const cXMLElement *ptr, const char *name) |
const char * | getParameterStrValue (const cXMLElement *ptr, const char *name) |
int | getParameterIntValue (const cXMLElement *ptr, const char *name, int def) |
int | getParameterIntValue (const cXMLElement *ptr, const char *name) |
IPv4Address | getParameterIPAddressValue (const cXMLElement *ptr, const char *name, IPv4Address def) |
IPv4Address | getParameterIPAddressValue (const cXMLElement *ptr, const char *name) |
double | getParameterDoubleValue (const cXMLElement *ptr, const char *name, double def) |
double | getParameterDoubleValue (const cXMLElement *ptr, const char *name) |
const char * | getRequiredAttribute (const cXMLElement &node, const char *attr) |
bool | getAttributeBoolValue (const cXMLElement *node, const char *attrName, bool defVal) |
bool | getAttributeBoolValue (const cXMLElement *node, const char *attrName) |
INET_API void inet::xmlutils::checkTags | ( | const cXMLElement * | node, |
const char * | allowed | ||
) |
INET_API bool inet::xmlutils::getAttributeBoolValue | ( | const cXMLElement * | node, |
const char * | attrName, | ||
bool | defVal | ||
) |
Referenced by inet::IPv4NetworkConfigurator::readInterfaceConfiguration().
INET_API bool inet::xmlutils::getAttributeBoolValue | ( | const cXMLElement * | node, |
const char * | attrName | ||
) |
INET_API bool inet::xmlutils::getParameterBoolValue | ( | const cXMLElement * | ptr, |
const char * | name, | ||
bool | def | ||
) |
Referenced by inet::RSVP::readTrafficSessionFromXML().
INET_API bool inet::xmlutils::getParameterBoolValue | ( | const cXMLElement * | ptr, |
const char * | name | ||
) |
INET_API double inet::xmlutils::getParameterDoubleValue | ( | const cXMLElement * | ptr, |
const char * | name, | ||
double | def | ||
) |
Referenced by inet::RSVP::readTrafficSessionFromXML().
INET_API double inet::xmlutils::getParameterDoubleValue | ( | const cXMLElement * | ptr, |
const char * | name | ||
) |
INET_API int inet::xmlutils::getParameterIntValue | ( | const cXMLElement * | ptr, |
const char * | name, | ||
int | def | ||
) |
Referenced by inet::RSVP::delSession(), inet::SimpleClassifier::readItemFromXML(), inet::LIBTable::readTableFromXML(), and inet::RSVP::readTrafficSessionFromXML().
INET_API int inet::xmlutils::getParameterIntValue | ( | const cXMLElement * | ptr, |
const char * | name | ||
) |
INET_API IPv4Address inet::xmlutils::getParameterIPAddressValue | ( | const cXMLElement * | ptr, |
const char * | name, | ||
IPv4Address | def | ||
) |
Referenced by inet::RSVP::delSession(), inet::SimpleClassifier::readItemFromXML(), and inet::RSVP::readTrafficSessionFromXML().
INET_API IPv4Address inet::xmlutils::getParameterIPAddressValue | ( | const cXMLElement * | ptr, |
const char * | name | ||
) |
INET_API const char * inet::xmlutils::getParameterStrValue | ( | const cXMLElement * | ptr, |
const char * | name, | ||
const char * | def | ||
) |
Referenced by inet::LIBTable::readTableFromXML(), and inet::RSVP::readTrafficSessionFromXML().
INET_API const char * inet::xmlutils::getParameterStrValue | ( | const cXMLElement * | ptr, |
const char * | name | ||
) |
INET_API const char * inet::xmlutils::getRequiredAttribute | ( | const cXMLElement & | node, |
const char * | attr | ||
) |
Referenced by getAttributeBoolValue(), inet::ospf::OSPFConfigReader::getInterfaceByXMLAttributesOf(), inet::ospf::OSPFConfigReader::loadAreaFromXML(), inet::ospf::OSPFConfigReader::loadConfigFromXML(), inet::ospf::OSPFConfigReader::loadExternalRoute(), inet::ospf::OSPFConfigReader::loadHostRoute(), inet::ospf::OSPFConfigReader::loadInterfaceParameters(), and inet::ospf::OSPFConfigReader::loadVirtualLink().
INET_API const cXMLElement * inet::xmlutils::getUniqueChild | ( | const cXMLElement * | node, |
const char * | name | ||
) |
Referenced by getParameterBoolValue(), getParameterDoubleValue(), getParameterIntValue(), getParameterIPAddressValue(), getParameterStrValue(), inet::MatrixCloudDelayer::initialize(), inet::LIBTable::readTableFromXML(), and inet::RSVP::readTrafficSessionFromXML().
INET_API const cXMLElement * inet::xmlutils::getUniqueChildIfExists | ( | const cXMLElement * | node, |
const char * | name | ||
) |
INET_API bool inet::xmlutils::parseBool | ( | const char * | text | ) |
Referenced by getAttributeBoolValue(), and getParameterBoolValue().