Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / programs / nsgmls / OpenElement.C
1 /* $XConsortium: OpenElement.C /main/1 1996/07/29 16:59:15 cde-hp $ */
2 // Copyright (c) 1994 James Clark
3 // See the file COPYING for copying permission.
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
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