1 // Copyright (c) 1994 James Clark 2 // See the file COPYING for copying permission. 3 #pragma ident "%Z%%M% %I% %E% SMI" 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 StringC id; 30 }; 31 32 #ifdef SP_NAMESPACE 33 } 34 #endif 35 36 #endif /* not StorageObjectPosition_INCLUDED */ 37