Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / programs / nsgmls / StorageObjectPosition.h
1 /* $XConsortium: StorageObjectPosition.h /main/1 1996/07/29 17:05:06 cde-hp $ */
2 // Copyright (c) 1994 James Clark
3 // See the file COPYING for copying permission.
4
5 #ifndef StorageObjectPosition_INCLUDED
6 #define StorageObjectPosition_INCLUDED 1
7
8 #include "Boolean.h"
9 #include "types.h"
10 #include "Owner.h"
11 #include "CodingSystem.h"
12 #include <stddef.h>
13
14 #ifdef SP_NAMESPACE
15 namespace SP_NAMESPACE {
16 #endif
17
18 struct StorageObjectPosition {
19   StorageObjectPosition();
20   // the number of RSs preceding line 1 of this storage object
21   // or -1 if this hasn't been computed yet.
22   size_t line1RS;
23   Owner<Decoder> decoder;
24   // Does the storage object start with an RS?
25   PackedBoolean startsWithRS;
26   // Were the RSs other than the first in the storage object inserted?
27   PackedBoolean insertedRSs;
28   Offset endOffset;
29 };
30
31 #ifdef SP_NAMESPACE
32 }
33 #endif
34
35 #endif /* not StorageObjectPosition_INCLUDED */