Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

nsAttrValue::EnumTable Struct Reference

#include <nsAttrValue.h>

List of all members.


Detailed Description

Structure for a mapping from int (enum) values to strings. When you use it you generally create an array of them. Instantiate like this: EnumTable myTable[] = { { "string1", 1 }, { "string2", 2 }, { 0 } }

Definition at line 173 of file nsAttrValue.h.


Public Attributes

const char * tag
PRInt16 value

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

Generated by  Doxygen 1.6.0   Back to index