1 #ifndef SEEN_SP_MARKER_LOC_H
2 #define SEEN_SP_MARKER_LOC_H
4 /**
5 * These enums are to allow us to have 4-element arrays that represent a set of marker locations
6 * (all, start, mid, and end). This allows us to iterate through the array in places where we need
7 * to do a process across all of the markers, instead of separate code stanzas for each.
8 *
9 * IMPORTANT: the code assumes that the locations have the values as written below! so don't change the values!!!
10 */
11 enum SPMarkerLoc {
12 SP_MARKER_LOC = 0,
13 SP_MARKER_LOC_START = 1,
14 SP_MARKER_LOC_MID = 2,
15 SP_MARKER_LOC_END = 3,
16 SP_MARKER_LOC_QTY = 4
17 };
20 #endif /* !SEEN_SP_MARKER_LOC_H */
22 /*
23 Local Variables:
24 mode:c++
25 c-file-style:"stroustrup"
26 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
27 indent-tabs-mode:nil
28 fill-column:99
29 End:
30 */
31 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :