NEDElementUtil Class Reference

#include <nedutil.h>

List of all members.

Static Public Member Functions

Utilities for accessing properties

static const char * getLocalStringProperty (NEDElement *parent, const char *name)
static bool getLocalBoolProperty (NEDElement *parent, const char *name)
static PropertyElementgetLocalProperty (NEDElement *parent, const char *name)
static LiteralElementgetTheOnlyValueFrom (PropertyElement *property)
static bool propertyAsBool (PropertyElement *property)
static const char * propertyAsString (PropertyElement *property)
Comparison

static int compare (NEDElement *node1, NEDElement *node2)
static int compareTree (NEDElement *node1, NEDElement *node2)
Misc

static bool isNEDType (NEDElement *node)

Member Function Documentation

static int NEDElementUtil::compare ( NEDElement node1,
NEDElement node2 
) [static]

Compares tagname and declared attrs (ignores id, srcloc, srcregion, etc).

static int NEDElementUtil::compareTree ( NEDElement node1,
NEDElement node2 
) [static]

Recursive version of compare().

static bool NEDElementUtil::getLocalBoolProperty ( NEDElement parent,
const char *  name 
) [static]
static PropertyElement* NEDElementUtil::getLocalProperty ( NEDElement parent,
const char *  name 
) [static]
static const char* NEDElementUtil::getLocalStringProperty ( NEDElement parent,
const char *  name 
) [static]
static LiteralElement* NEDElementUtil::getTheOnlyValueFrom ( PropertyElement property  )  [static]
static bool NEDElementUtil::isNEDType ( NEDElement node  )  [static]
static bool NEDElementUtil::propertyAsBool ( PropertyElement property  )  [static]
static const char* NEDElementUtil::propertyAsString ( PropertyElement property  )  [static]

The documentation for this class was generated from the following file:
Generated on Tue Dec 2 11:16:31 2014 for OMNeT++ NEDXML by  doxygen 1.6.3