OMNeT++ NEDXML 6.1
Discrete Event Simulation Library
DtdValidationUtils Class Reference

Description

Utility functions for DTD validation.

Collaboration diagram for DtdValidationUtils:
[legend]

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()

DtdValidationUtils ( ErrorStore e)
inline

Member Function Documentation

◆ tryCheckChoice()

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

◆ checkSequence()

void checkSequence ( ASTNode node,
int  tags[],
char  mult[] 
)

◆ checkChoice()

void checkChoice ( ASTNode node,
int  tags[],
char  mult 
)

◆ checkSeqOfChoices()

void checkSeqOfChoices ( ASTNode node,
Choice  choices[],
int  n 
)

◆ checkEmpty()

void checkEmpty ( ASTNode node)

◆ checkRequiredAttribute()

void checkRequiredAttribute ( ASTNode node,
const char *  attr 
)

◆ checkEnumeratedAttribute()

void checkEnumeratedAttribute ( ASTNode node,
const char *  attr,
const char *  vals[],
int  n 
)

◆ checkNameAttribute()

void checkNameAttribute ( ASTNode node,
const char *  attr 
)

◆ checkCommentAttribute()

void checkCommentAttribute ( ASTNode node,
const char *  attr 
)

Member Data Documentation

◆ errors

ErrorStore* errors
protected

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