~ubuntu-branches/ubuntu/trusty/openjade1.3/trusty

« back to all changes in this revision

Viewing changes to lib/OpenElement.cxx

  • Committer: Bazaar Package Importer
  • Author(s): Yann Dirson
  • Date: 2002-04-09 00:01:50 UTC
  • Revision ID: james.westby@ubuntu.com-20020409000150-r9rkyalxlhvf9ba3
Tags: upstream-1.3.1
ImportĀ upstreamĀ versionĀ 1.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright (c) 1994 James Clark
 
2
// See the file COPYING for copying permission.
 
3
 
 
4
#ifdef __GNUG__
 
5
#pragma implementation
 
6
#endif
 
7
#include "splib.h"
 
8
#include "OpenElement.h"
 
9
 
 
10
#ifdef SP_NAMESPACE
 
11
namespace SP_NAMESPACE {
 
12
#endif
 
13
 
 
14
OpenElement::OpenElement(const ElementType *type,
 
15
                         Boolean net,
 
16
                         Boolean included,
 
17
                         const ShortReferenceMap *map,
 
18
                         const Location &startLocation)
 
19
: elementType_(type),
 
20
  netEnabling_(net),
 
21
  included_(included),
 
22
  matchState_(type->definition()->compiledModelGroup()),
 
23
  map_(map),
 
24
  startLocation_(startLocation),
 
25
  declaredContent_(type->definition()->declaredContent())
 
26
{
 
27
}
 
28
 
 
29
#ifdef SP_NAMESPACE
 
30
}
 
31
#endif