OMNeT++ NEDXML  5.4.1
DtdValidationUtils Class Reference

#include <dtdvalidationutils.h>

Description

Utility functions for DTD validation.

Classes

struct  Choice
 

Public Member Functions

 DtdValidationUtils (ErrorStore *e)
 
void checkSequence (ASTNode *node, int tags[], char mult[])
 
void checkChoice (ASTNode *node, int tags[], char mult)
 
void checkSeqOfChoices (ASTNode *node, Choice choices[], int n)
 
void checkEmpty (ASTNode *node)
 
void checkRequiredAttribute (ASTNode *node, const char *attr)
 
void checkEnumeratedAttribute (ASTNode *node, const char *attr, const char *vals[], int n)
 
void checkNameAttribute (ASTNode *node, const char *attr)
 
void checkCommentAttribute (ASTNode *node, const char *attr)
 

Protected Member Functions

void tryCheckChoice (ASTNode *node, ASTNode *&curchild, int tags[], char mult)
 

Protected Attributes

ErrorStoreerrors
 

Constructor & Destructor Documentation

DtdValidationUtils ( ErrorStore e)
inline

Member Function Documentation

void tryCheckChoice ( ASTNode node,
ASTNode *&  curchild,
int  tags[],
char  mult 
)
protected
void checkSequence ( ASTNode node,
int  tags[],
char  mult[] 
)
void checkChoice ( ASTNode node,
int  tags[],
char  mult 
)
void checkSeqOfChoices ( ASTNode node,
Choice  choices[],
int  n 
)
void checkEmpty ( ASTNode node)
void checkRequiredAttribute ( ASTNode node,
const char *  attr 
)
void checkEnumeratedAttribute ( ASTNode node,
const char *  attr,
const char *  vals[],
int  n 
)
void checkNameAttribute ( ASTNode node,
const char *  attr 
)
void checkCommentAttribute ( ASTNode node,
const char *  attr 
)

Member Data Documentation

ErrorStore* errors
protected

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