# NEDDTDValidator Class Reference
[Validation]

`#include <neddtdvalidator.h>`

Inheritance diagram for NEDDTDValidator:

List of all members.

## Detailed Description

GENERATED CLASS.

Validates a NEDElement tree by the DTD.

## Public Member Functions

| NEDDTDValidator ()
virtual | ~NEDDTDValidator ()
Validation functions
virtual void | validateElement (NedFilesNode *node)
virtual void | validateElement (NedFileNode *node)
virtual void | validateElement (ImportNode *node)
virtual void | validateElement (ImportedFileNode *node)
virtual void | validateElement (ChannelNode *node)
virtual void | validateElement (ChannelAttrNode *node)
virtual void | validateElement (NetworkNode *node)
virtual void | validateElement (SimpleModuleNode *node)
virtual void | validateElement (CompoundModuleNode *node)
virtual void | validateElement (ParamsNode *node)
virtual void | validateElement (ParamNode *node)
virtual void | validateElement (GatesNode *node)
virtual void | validateElement (GateNode *node)
virtual void | validateElement (MachinesNode *node)
virtual void | validateElement (MachineNode *node)
virtual void | validateElement (SubmodulesNode *node)
virtual void | validateElement (SubmoduleNode *node)
virtual void | validateElement (SubstparamsNode *node)
virtual void | validateElement (SubstparamNode *node)
virtual void | validateElement (GatesizesNode *node)
virtual void | validateElement (GatesizeNode *node)
virtual void | validateElement (SubstmachinesNode *node)
virtual void | validateElement (SubstmachineNode *node)
virtual void | validateElement (ConnectionsNode *node)
virtual void | validateElement (ConnectionNode *node)
virtual void | validateElement (ConnAttrNode *node)
virtual void | validateElement (ForLoopNode *node)
virtual void | validateElement (LoopVarNode *node)
virtual void | validateElement (DisplayStringNode *node)
virtual void | validateElement (ExpressionNode *node)
virtual void | validateElement (OperatorNode *node)
virtual void | validateElement (FunctionNode *node)
virtual void | validateElement (ParamRefNode *node)
virtual void | validateElement (IdentNode *node)
virtual void | validateElement (ConstNode *node)
virtual void | validateElement (CplusplusNode *node)
virtual void | validateElement (StructDeclNode *node)
virtual void | validateElement (ClassDeclNode *node)
virtual void | validateElement (MessageDeclNode *node)
virtual void | validateElement (EnumDeclNode *node)
virtual void | validateElement (EnumNode *node)
virtual void | validateElement (EnumFieldsNode *node)
virtual void | validateElement (EnumFieldNode *node)
virtual void | validateElement (MessageNode *node)
virtual void | validateElement (ClassNode *node)
virtual void | validateElement (StructNode *node)
virtual void | validateElement (FieldsNode *node)
virtual void | validateElement (FieldNode *node)
virtual void | validateElement (PropertiesNode *node)
virtual void | validateElement (PropertyNode *node)
virtual void | validateElement (UnknownNode *node)

## Protected Member Functions

Utility functions
void | checkSequence (NEDElement *node, int tags[], char mult[], int n)
void | checkChoice (NEDElement *node, int tags[], int n, char mult)
void | checkEmpty (NEDElement *node)
void | checkRequiredAttribute (NEDElement *node, const char *attr)
void | checkEnumeratedAttribute (NEDElement *node, const char *attr, const char *vals[], int n)
void | checkNameAttribute (NEDElement *node, const char *attr)
void | checkCommentAttribute (NEDElement *node, const char *attr)
void | checkNMTokenAttribute (NEDElement *node, const char *attr)

## Constructor & Destructor Documentation

NEDDTDValidator::NEDDTDValidator | ( |  | ) | `[inline]`

virtual NEDDTDValidator::~NEDDTDValidator | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

void NEDDTDValidator::checkChoice | ( | NEDElement * | node,
|  | int | tags[],
|  | int | n,
|  | char | mult
| ) | `[protected]`

void NEDDTDValidator::checkCommentAttribute | ( | NEDElement * | node,
|  | const char * | attr
| ) | `[protected]`

void NEDDTDValidator::checkEmpty | ( | NEDElement * | node | ) | `[protected]`

void NEDDTDValidator::checkEnumeratedAttribute | ( | NEDElement * | node,
|  | const char * | attr,
|  | const char * | vals[],
|  | int | n
| ) | `[protected]`

void NEDDTDValidator::checkNameAttribute | ( | NEDElement * | node,
|  | const char * | attr
| ) | `[protected]`

void NEDDTDValidator::checkNMTokenAttribute | ( | NEDElement * | node,
|  | const char * | attr
| ) | `[protected]`

void NEDDTDValidator::checkRequiredAttribute | ( | NEDElement * | node,
|  | const char * | attr
| ) | `[protected]`

void NEDDTDValidator::checkSequence | ( | NEDElement * | node,
|  | int | tags[],
|  | char | mult[],
|  | int | n
| ) | `[protected]`

virtual void NEDDTDValidator::validateElement | ( | UnknownNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | PropertyNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | PropertiesNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | FieldNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | FieldsNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | StructNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | ClassNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | MessageNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | EnumFieldNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | EnumFieldsNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | EnumNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | EnumDeclNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | MessageDeclNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | ClassDeclNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | StructDeclNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | CplusplusNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | ConstNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | IdentNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | ParamRefNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | FunctionNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | OperatorNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | ExpressionNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | DisplayStringNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | LoopVarNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | ForLoopNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | ConnAttrNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | ConnectionNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | ConnectionsNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | SubstmachineNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | SubstmachinesNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | GatesizeNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | GatesizesNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | SubstparamNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | SubstparamsNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | SubmoduleNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | SubmodulesNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | MachineNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | MachinesNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | GateNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | GatesNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | ParamNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | ParamsNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | CompoundModuleNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | SimpleModuleNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | NetworkNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | ChannelAttrNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | ChannelNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | ImportedFileNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | ImportNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | NedFileNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

virtual void NEDDTDValidator::validateElement | ( | NedFilesNode * | node | ) | `[virtual]`

| Implements NEDValidatorBase.

The documentation for this class was generated from the following file:

- neddtdvalidator.h