NEDCrossValidator Class Reference
[Validation]

Performs cross validation. More...

#include <nedcrossvalidator.h>

Inheritance diagram for NEDCrossValidator:
NEDValidatorBase

List of all members.

Public Member Functions

 NEDCrossValidator (bool parsedExpr, NEDResourceCache *resolver, NEDErrorStore *e)
virtual ~NEDCrossValidator ()

Protected Member Functions

NEDElementfindChildWithTagAndAttribute (NEDElement *node, int tag, const char *attr, const char *value)
void checkGate (GateElement *gate, bool hasGateIndex, bool isInput, NEDElement *conn, bool isSrcGate)
void validateConnGate (const char *submodName, bool hasSubmodIndex, const char *gateName, bool hasGateIndex, NEDElement *parent, NEDElement *conn, bool isSrc)
NEDElementgetXXXDeclaration (const char *name, int tagcode1, int tagcode2=-1)
NEDElementgetModuleDeclaration (const char *name)
NEDElementgetChannelDeclaration (const char *name)
NEDElementgetModuleInterfaceDeclaration (const char *name)
NEDElementgetChannelInterfaceDeclaration (const char *name)
NEDElementgetEnumDeclaration (const char *name)
NEDElementgetClassDeclaration (const char *name)
Validator methods

virtual void validateElement (FilesElement *node)
virtual void validateElement (NedFileElement *node)
virtual void validateElement (CommentElement *node)
virtual void validateElement (ImportElement *node)
virtual void validateElement (PropertyDeclElement *node)
virtual void validateElement (ExtendsElement *node)
virtual void validateElement (InterfaceNameElement *node)
virtual void validateElement (SimpleModuleElement *node)
virtual void validateElement (ModuleInterfaceElement *node)
virtual void validateElement (CompoundModuleElement *node)
virtual void validateElement (ChannelInterfaceElement *node)
virtual void validateElement (ChannelElement *node)
virtual void validateElement (ParametersElement *node)
virtual void validateElement (ParamElement *node)
virtual void validateElement (PropertyElement *node)
virtual void validateElement (PropertyKeyElement *node)
virtual void validateElement (GatesElement *node)
virtual void validateElement (GateElement *node)
virtual void validateElement (TypesElement *node)
virtual void validateElement (SubmodulesElement *node)
virtual void validateElement (SubmoduleElement *node)
virtual void validateElement (ConnectionsElement *node)
virtual void validateElement (ConnectionElement *node)
virtual void validateElement (ConnectionGroupElement *node)
virtual void validateElement (LoopElement *node)
virtual void validateElement (ConditionElement *node)
virtual void validateElement (ExpressionElement *node)
virtual void validateElement (OperatorElement *node)
virtual void validateElement (FunctionElement *node)
virtual void validateElement (IdentElement *node)
virtual void validateElement (LiteralElement *node)
virtual void validateElement (MsgFileElement *node)
virtual void validateElement (NamespaceElement *node)
virtual void validateElement (CplusplusElement *node)
virtual void validateElement (StructDeclElement *node)
virtual void validateElement (ClassDeclElement *node)
virtual void validateElement (MessageDeclElement *node)
virtual void validateElement (PacketDeclElement *node)
virtual void validateElement (EnumDeclElement *node)
virtual void validateElement (EnumElement *node)
virtual void validateElement (EnumFieldsElement *node)
virtual void validateElement (EnumFieldElement *node)
virtual void validateElement (MessageElement *node)
virtual void validateElement (PacketElement *node)
virtual void validateElement (ClassElement *node)
virtual void validateElement (StructElement *node)
virtual void validateElement (FieldElement *node)
virtual void validateElement (UnknownElement *node)

Protected Attributes

bool parsedExpressions
NEDResourceCacheresolver
NEDElementmoduletypedecl

Detailed Description

Performs cross validation.

Should be called after tree passed DTD validation and syntax validation.


Constructor & Destructor Documentation

NEDCrossValidator::NEDCrossValidator ( bool  parsedExpr,
NEDResourceCache resolver,
NEDErrorStore e 
)

Constructor.

virtual NEDCrossValidator::~NEDCrossValidator (  )  [virtual]

Destructor.


Member Function Documentation

void NEDCrossValidator::checkGate ( GateElement gate,
bool  hasGateIndex,
bool  isInput,
NEDElement conn,
bool  isSrcGate 
) [protected]
NEDElement* NEDCrossValidator::findChildWithTagAndAttribute ( NEDElement node,
int  tag,
const char *  attr,
const char *  value 
) [protected]
NEDElement* NEDCrossValidator::getChannelDeclaration ( const char *  name  )  [protected]
NEDElement* NEDCrossValidator::getChannelInterfaceDeclaration ( const char *  name  )  [protected]
NEDElement* NEDCrossValidator::getClassDeclaration ( const char *  name  )  [protected]
NEDElement* NEDCrossValidator::getEnumDeclaration ( const char *  name  )  [protected]
NEDElement* NEDCrossValidator::getModuleDeclaration ( const char *  name  )  [protected]
NEDElement* NEDCrossValidator::getModuleInterfaceDeclaration ( const char *  name  )  [protected]
NEDElement* NEDCrossValidator::getXXXDeclaration ( const char *  name,
int  tagcode1,
int  tagcode2 = -1 
) [protected]
void NEDCrossValidator::validateConnGate ( const char *  submodName,
bool  hasSubmodIndex,
const char *  gateName,
bool  hasGateIndex,
NEDElement parent,
NEDElement conn,
bool  isSrc 
) [protected]
virtual void NEDCrossValidator::validateElement ( UnknownElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( FieldElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( StructElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( ClassElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( PacketElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( MessageElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( EnumFieldElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( EnumFieldsElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( EnumElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( EnumDeclElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( PacketDeclElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( MessageDeclElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( ClassDeclElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( StructDeclElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( CplusplusElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( NamespaceElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( MsgFileElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( LiteralElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( IdentElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( FunctionElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( OperatorElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( ExpressionElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( ConditionElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( LoopElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( ConnectionGroupElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( ConnectionElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( ConnectionsElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( SubmoduleElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( SubmodulesElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( TypesElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( GateElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( GatesElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( PropertyKeyElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( PropertyElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( ParamElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( ParametersElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( ChannelElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( ChannelInterfaceElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( CompoundModuleElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( ModuleInterfaceElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( SimpleModuleElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( InterfaceNameElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( ExtendsElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( PropertyDeclElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( ImportElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( CommentElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( NedFileElement node  )  [protected, virtual]

Implements NEDValidatorBase.

virtual void NEDCrossValidator::validateElement ( FilesElement node  )  [protected, virtual]

Implements NEDValidatorBase.


Member Data Documentation


The documentation for this class was generated from the following file:
Generated on Fri Mar 7 17:19:43 2014 for OMNeT++ NEDXML by  doxygen 1.6.3