Thread portable class


Gate portable class


Timer class


Pool class


Terimber 2.0


About C++


Downloads Products & Services Support Clients Open Source About



Home / Open source / Terimber 2.0

sxs.h File Reference

#include "xml/defxml.h"
#include "xml/xmlaccss.h"
#include "xmltypes.h"
#include "alg/algorith.h"
#include "base/map.h"

Go to the source code of this file.

Classes

class  nodeDecl
 base class for all xml nodes More...
class  namedNode
 xml node with name More...
class  namedNodeDecl
 xml node with name and type More...
class  enumNodeDecl
 if attribute value is enum type we are going to keep the correspondent ident More...
class  attributeDecl
 attribute description More...
class  notationDecl
 notation description More...
class  entityDecl
 entity description More...
class  elementDecl
 element schema declaration More...
class  attributeRefDecl
 map for id/idref/idrefs declarations More...
class  dfa_token
 class contains rule token More...
class  xml_grammar
 DTD rules internal presentation. More...

Typedefs

typedef _map< size_t,
attributeDecl, byte_allocator,
less< size_t >, true > 
attribute_decl_map_t
 maps attribute declaration ident to the attribute declaration
typedef _map< size_t,
namedNodeDecl, byte_allocator,
less< size_t >, true > 
namednode_decl_map_t
 maps ident to the named node declaration
typedef _map< size_t,
elementDecl, byte_allocator,
less< size_t >, true > 
element_decl_map_t
 maps ident to the element node declaration
typedef _map< size_t,
notationDecl, byte_allocator,
less< size_t >, true > 
notation_decl_map_t
 maps ident to the notation node declaration
typedef _map< size_t,
entityDecl, byte_allocator,
less< size_t >, true > 
entity_decl_map_t
 maps ident to the entity node declaration
typedef _map< size_t,
attributeRefDecl,
byte_allocator, less< size_t >
, true > 
attribute_ref_decl_map_t
 maps ident to the attribute reference node declaration

Enumerations

enum  attributeType {
  attributeType_MIN, ATTR_TYPE_CDATA, ATTR_TYPE_ID, ATTR_TYPE_IDREF,
  ATTR_TYPE_IDREFS, ATTR_TYPE_ENTITY, ATTR_TYPE_ENTITIES, ATTR_TYPE_NOTATION,
  ATTR_TYPE_NMTOKEN, ATTR_TYPE_NMTOKENS, ATTR_TYPE_ENUMERATION, attributeType_MAX
}
 possible type for attributes, entities, notations, and others - except elements More...
enum  attributeRule {
  attributeRule_MIN, ATTR_RULE_DEFAULT, ATTR_RULE_REQUIRED, ATTR_RULE_IMPLIED,
  ATTR_RULE_FIXED, attributeRule_MAX
}
 types for rules More...
enum  contentSpec {
  contentSpec_MIN, CONTENT_EMPTY, CONTENT_ANY, CONTENT_MIXED,
  CONTENT_CHILDREN, contentSpec_MAX
}
 contentSpec will add additional logic rules 'EMPTY' | 'ANY' | Mixed | children More...
enum  dfaRule {
  dfaRule_MIN, DFA_LEAF, DFA_QUESTION, DFA_ASTERISK,
  DFA_PLUS, DFA_CHOICE, DFA_SEQUENCE, DFA_ANY,
  dfaRule_MAX
}
 modelRule describes the DFA More...

Functions

BEGIN_TERIMBER_NAMESPACE void xml_exception_throw (const char *first,...)
 throw exception formatting output

Variables

const size_t big_xml_size = 1024*1024
 big xml size


Typedef Documentation

maps attribute declaration ident to the attribute declaration

Definition at line 267 of file sxs.h.

maps ident to the attribute reference node declaration

Definition at line 358 of file sxs.h.

maps ident to the element node declaration

Definition at line 349 of file sxs.h.

maps ident to the entity node declaration

Definition at line 355 of file sxs.h.

maps ident to the named node declaration

Definition at line 346 of file sxs.h.

maps ident to the notation node declaration

Definition at line 352 of file sxs.h.


Enumeration Type Documentation

types for rules

Enumerator:
attributeRule_MIN  lower bounder
ATTR_RULE_DEFAULT  default
ATTR_RULE_REQUIRED  required
ATTR_RULE_IMPLIED  implied
ATTR_RULE_FIXED  fixed
attributeRule_MAX  upper bounder

Definition at line 66 of file sxs.h.

possible type for attributes, entities, notations, and others - except elements

Enumerator:
attributeType_MIN  lower bounder
ATTR_TYPE_CDATA  string
ATTR_TYPE_ID  ident
ATTR_TYPE_IDREF  reference to ident
ATTR_TYPE_IDREFS  references to ident
ATTR_TYPE_ENTITY  entity
ATTR_TYPE_ENTITIES  entities
ATTR_TYPE_NOTATION  notation
ATTR_TYPE_NMTOKEN  nmToken
ATTR_TYPE_NMTOKENS  nmTokens
ATTR_TYPE_ENUMERATION  enumeration
attributeType_MAX  upper bounder

Definition at line 48 of file sxs.h.

contentSpec will add additional logic rules 'EMPTY' | 'ANY' | Mixed | children

Enumerator:
contentSpec_MIN  lower bounder
CONTENT_EMPTY  EMPTY.
CONTENT_ANY  ANY
CONTENT_MIXED  [51] Mixed ::= '(' S? 'PCDATA' (S? '|' S? Name)* S? ')*' | '(' S? 'PCDATA' S? ')'

mixed

CONTENT_CHILDREN  [47] children ::= (choice | seq) ('?' | '*' | '+')? [48] cp ::= (Name | choice | seq) ('?' | '*' | '+')? [49] choice ::= '(' S? cp ( S? '|' S? cp )+ S? ')' [50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')'

children content

contentSpec_MAX  upper bounder

Definition at line 79 of file sxs.h.

enum dfaRule

modelRule describes the DFA

Enumerator:
dfaRule_MIN  lower bounder
DFA_LEAF  leaf
DFA_QUESTION  '?' - Zero or One
DFA_ASTERISK  '*' - Zero or More
DFA_PLUS  '+' - One or More
DFA_CHOICE  (a|b)
DFA_SEQUENCE  (a,b)
DFA_ANY  ANY.
dfaRule_MAX  upper bounder

Definition at line 96 of file sxs.h.


Function Documentation


Variable Documentation

const size_t big_xml_size = 1024*1024

big xml size

Definition at line 44 of file sxs.h.



© Copyright Terimber 2003-.