xref: /onnv-gate/usr/src/cmd/man/src/util/nsgmls.src/lib/OpenElement.cxx (revision 0:68f95e015346)
1 // Copyright (c) 1994 James Clark
2 // See the file COPYING for copying permission.
3 #pragma ident	"%Z%%M%	%I%	%E% SMI"
4 
5 #ifdef __GNUG__
6 #pragma implementation
7 #endif
8 #include "splib.h"
9 #include "OpenElement.h"
10 
11 #ifdef SP_NAMESPACE
12 namespace SP_NAMESPACE {
13 #endif
14 
OpenElement(const ElementType * type,Boolean net,Boolean included,const ShortReferenceMap * map,const Location & startLocation)15 OpenElement::OpenElement(const ElementType *type,
16 			 Boolean net,
17 			 Boolean included,
18 			 const ShortReferenceMap *map,
19 			 const Location &startLocation)
20 : elementType_(type),
21   netEnabling_(net),
22   included_(included),
23   matchState_(type->definition()->compiledModelGroup()),
24   map_(map),
25   startLocation_(startLocation),
26   declaredContent_(type->definition()->declaredContent())
27 {
28 }
29 
30 #ifdef SP_NAMESPACE
31 }
32 #endif
33