OMNeT++ NEDXML
6.0.3
|
#include <dtdvalidationutils.h>
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 | |
ErrorStore * | errors |
|
inline |
void checkSequence | ( | ASTNode * | node, |
int | tags[], | ||
char | mult[] | ||
) |
void checkChoice | ( | ASTNode * | node, |
int | tags[], | ||
char | mult | ||
) |
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 |