This file is indexed.

/usr/include/seqan/modifier/modifier_string.h is in seqan-dev 1.3-1ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
// ==========================================================================
//                 SeqAn - The Library for Sequence Analysis
// ==========================================================================
// Copyright (c) 2006-2010, Knut Reinert, FU Berlin
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
//     * Redistributions of source code must retain the above copyright
//       notice, this list of conditions and the following disclaimer.
//     * Redistributions in binary form must reproduce the above copyright
//       notice, this list of conditions and the following disclaimer in the
//       documentation and/or other materials provided with the distribution.
//     * Neither the name of Knut Reinert or the FU Berlin nor the names of
//       its contributors may be used to endorse or promote products derived
//       from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL KNUT REINERT OR THE FU BERLIN BE LIABLE
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
// DAMAGE.
//
// ==========================================================================
// Author: David Weese <david.weese@fu-berlin.de>
// ==========================================================================

#ifndef SEQAN_MODIFIER_MODIFIER_STRING_H_
#define SEQAN_MODIFIER_MODIFIER_STRING_H_

namespace SEQAN_NAMESPACE_MAIN
{

/**
.Class.ModifiedString:
..summary:Allows to modify arbitrary strings by specializing what differs from an origin.
..cat:Modifier
..signature:ModifiedString<THost[, TSpec]>
..param.THost:Original sequence type.
...type:Concept.Container
..param.TSpec:The modifier type.
...metafunction:Metafunction.Spec
..implements:Concept.Container
..remarks:$THost$ can also be a modified string, so you can create custom strings by combining predefined ones.
..include:seqan/modifier.h
*/

template < typename THost, typename TSpec = void >
class ModifiedString {
public:
    Holder<THost>							data_host;
    typename Cargo<ModifiedString>::Type	data_cargo;

    ModifiedString() {
        SEQAN_CHECKPOINT;
    }

    ModifiedString(ModifiedString &_origin):
            data_host(_origin.data_host),
            data_cargo(_origin.data_cargo) {
        SEQAN_CHECKPOINT;
    }

    ModifiedString(ModifiedString const &_origin):
            data_host(_origin.data_host),
            data_cargo(_origin.data_cargo) {
        SEQAN_CHECKPOINT;
    }
    
    ModifiedString(THost &_origin) {
        SEQAN_CHECKPOINT;
        setHost(*this, _origin);
    }

    template <typename T>
    ModifiedString(T & _origin) {
        SEQAN_CHECKPOINT;
        setValue(*this, _origin);
    }

    template <typename T>
    ModifiedString(T const & _origin) {
        SEQAN_CHECKPOINT;
        setValue(*this, _origin);
    }

    template <typename T>
    inline ModifiedString const &
    operator=(T & _origin) {
        SEQAN_CHECKPOINT;
        assign(*this, _origin);
        return *this;
    }
};

template < typename THost, typename TSpec >
struct Spec< ModifiedString<THost, TSpec> > {
    typedef TSpec Type;
};

template < typename THost, typename TSpec >
struct Spec< ModifiedString<THost, TSpec> const > {
    typedef TSpec Type;
};


// use Value, GetValue, Reference, Size, ... from corresponding iterator
template < typename THost, typename TSpec >
struct Value< ModifiedString<THost, TSpec> >:
    Value< typename Iterator< ModifiedString<THost, TSpec>, Rooted >::Type > {};

template < typename THost, typename TSpec >
struct Value< ModifiedString<THost, TSpec> const >:
    Value< typename Iterator< ModifiedString<THost, TSpec> const, Rooted >::Type > {};


template < typename THost, typename TSpec >
struct GetValue< ModifiedString<THost, TSpec> >:
    GetValue< typename Iterator< ModifiedString<THost, TSpec>, Rooted >::Type > {};

template < typename THost, typename TSpec >
struct GetValue< ModifiedString<THost, TSpec> const >:
    GetValue< typename Iterator< ModifiedString<THost, TSpec> const, Rooted >::Type > {};


template < typename THost, typename TSpec >
struct Reference< ModifiedString<THost, TSpec> >:
    Reference< typename Iterator< ModifiedString<THost, TSpec>, Rooted >::Type > {};

template < typename THost, typename TSpec >
struct Reference< ModifiedString<THost, TSpec> const >:
    Reference< typename Iterator< ModifiedString<THost, TSpec> const, Rooted >::Type > {};

///.Metafunction.Size.param.T.type:Class.ModifiedString

template < typename THost, typename TSpec >
struct Size< ModifiedString<THost, TSpec> >:
    Size< typename Iterator< ModifiedString<THost, TSpec>, Rooted >::Type > {};

template < typename THost, typename TSpec >
struct Position< ModifiedString<THost, TSpec> >:
    Position< typename Iterator< ModifiedString<THost, TSpec>, Rooted >::Type > {};

template < typename THost, typename TSpec >
struct Difference< ModifiedString<THost, TSpec> >:
    Difference< typename Iterator< ModifiedString<THost, TSpec>, Rooted >::Type > {};


///.Metafunction.Iterator.param.T.type:Class.ModifiedString

template <typename THost, typename TSpec>
struct Iterator< ModifiedString<THost, TSpec>, Standard > {
    typedef ModifiedIterator<typename Iterator<THost, Standard>::Type, TSpec> Type;
};

template <typename THost, typename TSpec >
struct Iterator< ModifiedString<THost, TSpec> const, Standard > {
    typedef ModifiedIterator<typename Iterator<THost const, Standard>::Type, TSpec> Type;
};

template <typename THost, typename TSpec>
struct Iterator< ModifiedString<THost, TSpec>, Rooted > {
    typedef ModifiedIterator<typename Iterator<THost, Rooted>::Type, TSpec> Type;
};

template <typename THost, typename TSpec >
struct Iterator< ModifiedString<THost, TSpec> const, Rooted > {
    typedef ModifiedIterator<typename Iterator<THost const, Rooted>::Type, TSpec> Type;
};


///.Metafunction.Host.param.T.type:Class.ModifiedString

template < typename THost, typename TSpec >
struct Host< ModifiedString<THost, TSpec> > {
    typedef THost Type;
};

template < typename THost, typename TSpec >
struct Host< ModifiedString<THost, TSpec> const > {
    typedef THost const Type;
};


///.Metafunction.IsSequence.param.T.type:Class.ModifiedString

template < typename THost, typename TSpec >
struct IsSequence< ModifiedString<THost, TSpec> > {
    typedef True Type;
    enum { VALUE = true };
};

template < typename THost, typename TSpec >
struct AllowsFastRandomAccess< ModifiedString<THost, TSpec> >:
    AllowsFastRandomAccess<THost> {};

//////////////////////////////////////////////////////////////////////////////
// host interface
//////////////////////////////////////////////////////////////////////////////

template <typename THost, typename TSpec>
inline Holder<THost> &
_dataHost(ModifiedString<THost, TSpec> & me) 
{
    SEQAN_CHECKPOINT;
    return me.data_host;
}

template <typename THost, typename TSpec>
inline Holder<THost> const &
_dataHost(ModifiedString<THost, TSpec> const & me) 
{
    SEQAN_CHECKPOINT;
    return me.data_host;
}

template <typename THost, typename TSpec>
inline typename Reference< typename Cargo<ModifiedString<THost, TSpec> >::Type >::Type
cargo(ModifiedString<THost, TSpec> & me) 
{
    SEQAN_CHECKPOINT;
    return me.data_cargo;
}

template <typename THost, typename TSpec>
inline typename Reference< typename Cargo<ModifiedString<THost, TSpec> const>::Type >::Type
cargo(ModifiedString<THost, TSpec> const & me) 
{
    SEQAN_CHECKPOINT;
    return me.data_cargo;
}

//////////////////////////////////////////////////////////////////////////////
// assign
//////////////////////////////////////////////////////////////////////////////

template <typename TDest, typename TSource>
inline void _copyCargoImpl(TDest &, TSource &, False const) {}

template <typename TDest, typename TSource>
inline void _copyCargoImpl(TDest & me, TSource & _origin, True const) {
    SEQAN_CHECKPOINT;
    cargo(me) = cargo(_origin);
}

template <typename TDest, typename TSource>
inline void _copyCargo(TDest & me, TSource & _origin) {
    SEQAN_CHECKPOINT;
    _copyCargoImpl(me, _origin, typename IsSameType<
                   typename RemoveConst_<typename Cargo<TDest>::Type >::Type, 
                   typename RemoveConst_<typename Cargo<TSource>::Type>::Type >::Type());
}


template <typename THost, typename TSpec, typename THost2>
inline ModifiedString<THost, TSpec> const &
assign(ModifiedString<THost, TSpec> & me, ModifiedString<THost2, TSpec> & _origin) {
    SEQAN_CHECKPOINT;
   host(me) = host(_origin);
    _copyCargo(me, _origin);
    return me;
}

template <typename THost, typename TSpec, typename THost2>
inline ModifiedString<THost, TSpec> const &
assign(ModifiedString<THost, TSpec> & me, ModifiedString<THost2, TSpec> const & _origin) {
    SEQAN_CHECKPOINT;
    host(me) = host(_origin);
    _copyCargo(me, _origin);
    return me;
}

template <typename THost, typename TSpec, typename T>
inline ModifiedString<THost, TSpec> const &
assign(ModifiedString<THost, TSpec> & me, T & _origin) {
    SEQAN_CHECKPOINT;
    host(me) = _origin;
    return me;
}

template <typename THost, typename TSpec, typename T>
inline ModifiedString<THost, TSpec> const &
assign(ModifiedString<THost, TSpec> & me, T const & _origin) {
    SEQAN_CHECKPOINT;
    host(me) = _origin;
    return me;
}

//////////////////////////////////////////////////////////////////////////////
// value
//////////////////////////////////////////////////////////////////////////////

template <typename THost, typename TSpec, typename TPos>
inline typename Reference<ModifiedString<THost, TSpec> >::Type 
value(ModifiedString<THost, TSpec> & me, TPos pos)
{
    SEQAN_CHECKPOINT;
    return value(begin(me, Standard()) + pos);
}

template <typename THost, typename TSpec, typename TPos>
inline typename Reference<ModifiedString<THost, TSpec> const >::Type 
value(ModifiedString<THost, TSpec> const & me, TPos pos)
{
    SEQAN_CHECKPOINT;
    return value(begin(me, Standard()) + pos);
}

//////////////////////////////////////////////////////////////////////////////
// setValue
//////////////////////////////////////////////////////////////////////////////

template <typename THost, typename TSpec>
inline ModifiedString<THost, TSpec> const &
setValue(ModifiedString<THost, TSpec> & me, ModifiedString<THost, TSpec> const & _origin) {
    SEQAN_CHECKPOINT;
    setHost(me, host(_origin));
    _copyCargo(me, _origin);
    return me;
}

template <typename THost, typename TSpec>
inline ModifiedString<THost, TSpec> const &
setValue(ModifiedString<THost, TSpec> & me, ModifiedString<THost, TSpec> & _origin) {
    SEQAN_CHECKPOINT;
    setHost(me, host(_origin));
    _copyCargo(me, _origin);
    return me;
}

// pass _origin to parent modifier
template <typename THost, typename THostSpec, typename TSpec, typename THost2>
inline ModifiedString< ModifiedString<THost, THostSpec>, TSpec> const &
setValue(
    ModifiedString< ModifiedString<THost, THostSpec>, TSpec> & me, 
    THost2 const & _origin) 
{
    SEQAN_CHECKPOINT;
    setValue(host(me), _origin);
    return me;
}

template <typename THost, typename THostSpec, typename TSpec, typename THost2>
inline ModifiedString< ModifiedString<THost, THostSpec>, TSpec> const &
setValue(
    ModifiedString< ModifiedString<THost, THostSpec>, TSpec> & me, 
    THost2 & _origin) 
{
    SEQAN_CHECKPOINT;
    setValue(host(me), _origin);
    return me;
}

// set _origin at the innermost modifier
template <typename THost, typename TSpec>
inline ModifiedString<THost, TSpec> const &
setValue(ModifiedString<THost, TSpec> & me, THost const & _origin) {
    SEQAN_CHECKPOINT;
    assignHost(me, _origin);
    return me;
}

template <typename THost, typename TSpec>
inline ModifiedString<THost, TSpec> const &
setValue(ModifiedString<THost, TSpec> & me, THost & _origin) {
    SEQAN_CHECKPOINT;
    setHost(me, _origin);
    return me;
}

// allow _origin conversion at the innermost modifier
template <typename THost, typename TSpec, typename THost2>
inline ModifiedString<THost, TSpec> const &
setValue(ModifiedString<THost, TSpec> & me, THost2 & _origin) {
    SEQAN_CHECKPOINT;
    assignHost(me, _origin);
    return me;
}

template <typename THost, typename TSpec, typename THost2>
inline ModifiedString<THost, TSpec> const &
setValue(ModifiedString<THost, TSpec> & me, THost2 const & _origin) {
    SEQAN_CHECKPOINT;
    assignHost(me, _origin);
    return me;
}

//////////////////////////////////////////////////////////////////////////////
// length
//////////////////////////////////////////////////////////////////////////////

template < typename THost, typename TSpec >
inline typename Size< ModifiedString<THost, TSpec> >::Type 
length(ModifiedString<THost, TSpec> const & me) {
    SEQAN_CHECKPOINT;
    return length(host(me));
}

//////////////////////////////////////////////////////////////////////////////
// begin
//////////////////////////////////////////////////////////////////////////////

template < typename THost, typename TSpec >
inline typename Iterator< ModifiedString<THost, TSpec> const >::Type 
begin(ModifiedString<THost, TSpec> const & me) {
    SEQAN_CHECKPOINT;
    typename Iterator< ModifiedString<THost, TSpec> const >::Type temp_(begin(host(me)));
    _copyCargo(temp_, me);
    return temp_;
}

template < typename THost, typename TSpec >
inline typename Iterator< ModifiedString<THost, TSpec> >::Type 
begin(ModifiedString<THost, TSpec> & me) {
    SEQAN_CHECKPOINT;
    typename Iterator< ModifiedString<THost, TSpec> >::Type temp_(begin(host(me)));
    _copyCargo(temp_, me);
    return temp_;
}

template < typename THost, typename TSpec, typename TTagSpec >
inline typename Iterator< ModifiedString<THost, TSpec> const, Tag<TTagSpec> const >::Type 
begin(ModifiedString<THost, TSpec> const & me, Tag<TTagSpec> const tag_) {
    SEQAN_CHECKPOINT;
    typename Iterator< 
        ModifiedString<THost, TSpec> const, 
        Tag<TTagSpec> const 
    >::Type temp_(begin(host(me), tag_));
    _copyCargo(temp_, me);
    return temp_;
}

template < typename THost, typename TSpec, typename TTagSpec >
inline typename Iterator< ModifiedString<THost, TSpec>, Tag<TTagSpec> const >::Type 
begin(ModifiedString<THost, TSpec> & me, Tag<TTagSpec> const tag_) {
    SEQAN_CHECKPOINT;
    typename Iterator< 
        ModifiedString<THost, TSpec>, 
        Tag<TTagSpec> const 
    >::Type temp_(begin(host(me), tag_));
    _copyCargo(temp_, me);
    return temp_;
}

//////////////////////////////////////////////////////////////////////////////
// end
//////////////////////////////////////////////////////////////////////////////

template < typename THost, typename TSpec >
inline typename Iterator< ModifiedString<THost, TSpec> const >::Type 
end(ModifiedString<THost, TSpec> const & me) {
    SEQAN_CHECKPOINT;
    typename Iterator< ModifiedString<THost, TSpec> const >::Type temp_(end(host(me)));
    _copyCargo(temp_, me);
    return temp_;
}

template < typename THost, typename TSpec >
inline typename Iterator< ModifiedString<THost, TSpec> >::Type 
end(ModifiedString<THost, TSpec> & me) {
    SEQAN_CHECKPOINT;
    typename Iterator< ModifiedString<THost, TSpec> >::Type temp_(end(host(me)));
    _copyCargo(temp_, me);
    return temp_;
}

template < typename THost, typename TSpec, typename TTagSpec >
inline typename Iterator< ModifiedString<THost, TSpec> const, Tag<TTagSpec> const >::Type 
end(ModifiedString<THost, TSpec> const & me, Tag<TTagSpec> const tag_) {
    SEQAN_CHECKPOINT;
    typename Iterator< ModifiedString<THost, TSpec> const, Tag<TTagSpec> const >::Type temp_(end(host(me), tag_));
    _copyCargo(temp_, me);
    return temp_;
}

template < typename THost, typename TSpec, typename TTagSpec >
inline typename Iterator< ModifiedString<THost, TSpec>, Tag<TTagSpec> const >::Type 
end(ModifiedString<THost, TSpec> & me, Tag<TTagSpec> const tag_) {
    SEQAN_CHECKPOINT;
    typename Iterator< ModifiedString<THost, TSpec>, Tag<TTagSpec> const >::Type temp_(end(host(me), tag_));
    _copyCargo(temp_, me);
    return temp_;
}

//////////////////////////////////////////////////////////////////////////////

template <typename THost, typename TSpec, typename TRight >
inline bool
operator == (ModifiedString<THost, TSpec> const & left, 
			TRight const & right)
{
SEQAN_CHECKPOINT
	typename Comparator<ModifiedString<THost, TSpec> >::Type _lex(left, right);
    return isEqual(_lex);
}
template <typename TLeftValue, typename THost, typename TSpec >
inline bool
operator == (TLeftValue * left,
			 ModifiedString<THost, TSpec> const & right)
{
SEQAN_CHECKPOINT
	typename Comparator<ModifiedString<THost, TSpec> >::Type _lex(left, right);
    return isEqual(_lex);
}

//////////////////////////////////////////////////////////////////////////////

template <typename THost, typename TSpec, typename TRight >
inline bool
operator !=(ModifiedString<THost, TSpec> const & left, 
			TRight const & right)
{
SEQAN_CHECKPOINT
	typename Comparator<ModifiedString<THost, TSpec> >::Type _lex(left, right);
    return isNotEqual(_lex);
}
template <typename TLeftValue, typename THost, typename TSpec >
inline bool
operator != (TLeftValue * left,
			 ModifiedString<THost, TSpec> const & right)
{
SEQAN_CHECKPOINT
	typename Comparator<ModifiedString<THost, TSpec> >::Type _lex(left, right);
    return isNotEqual(_lex);
}

//////////////////////////////////////////////////////////////////////////////

template <typename THost, typename TSpec, typename TRight>
inline bool
operator < (ModifiedString<THost, TSpec> const & left, 
			TRight const & right)
{
SEQAN_CHECKPOINT
	return isLess(left, right, typename DefaultPrefixOrder<ModifiedString<THost, TSpec> >::Type());
}
template <typename TLeftValue, typename THost, typename TSpec >
inline bool
operator < (TLeftValue * left,
			 ModifiedString<THost, TSpec> const & right)
{
SEQAN_CHECKPOINT
	return isLess(left, right, typename DefaultPrefixOrder<TLeftValue *>::Type());
}

//////////////////////////////////////////////////////////////////////////////

template <typename THost, typename TSpec, typename TRight>
inline bool
operator <= (ModifiedString<THost, TSpec> const & left, 
			 TRight const & right)
{
SEQAN_CHECKPOINT
	return isLessOrEqual(left, right, typename DefaultPrefixOrder<ModifiedString<THost, TSpec> >::Type());
}
template <typename TLeftValue, typename THost, typename TSpec >
inline bool
operator <= (TLeftValue * left,
			 ModifiedString<THost, TSpec> const & right)
{
SEQAN_CHECKPOINT
	return isLessOrEqual(left, right, typename DefaultPrefixOrder<TLeftValue *>::Type());
}

//////////////////////////////////////////////////////////////////////////////

template <typename THost, typename TSpec, typename TRight>
inline bool
operator > (ModifiedString<THost, TSpec> const & left, 
		TRight const & right)
{
SEQAN_CHECKPOINT
	return isGreater(left, right, typename DefaultPrefixOrder<ModifiedString<THost, TSpec> >::Type());
}
template <typename TLeftValue, typename THost, typename TSpec >
inline bool
operator > (TLeftValue * left,
			 ModifiedString<THost, TSpec> const & right)
{
SEQAN_CHECKPOINT
	return isGreater(left, right, typename DefaultPrefixOrder<TLeftValue *>::Type());
}

//////////////////////////////////////////////////////////////////////////////

template <typename THost, typename TSpec, typename TRight>
inline bool
operator >= (ModifiedString<THost, TSpec> const & left, 
		TRight const & right)
{
SEQAN_CHECKPOINT
	return isGreaterOrEqual(left, right, typename DefaultPrefixOrder<ModifiedString<THost, TSpec> >::Type());
}
template <typename TLeftValue, typename THost, typename TSpec >
inline bool
operator >= (TLeftValue * left,
			 ModifiedString<THost, TSpec> const & right)
{
SEQAN_CHECKPOINT
	return isGreaterOrEqual(left, right, typename DefaultPrefixOrder<TLeftValue *>::Type());
}

//////////////////////////////////////////////////////////////////////////////
// stream operators
//////////////////////////////////////////////////////////////////////////////

template < typename TStream, typename THost, typename TSpec >
inline TStream &
operator << (TStream & target, ModifiedString<THost, TSpec> const & source)
{
    SEQAN_CHECKPOINT;
    write(target, source);
    return target;
}

//////////////////////////////////////////////////////////////////////////////

template < typename TStream, typename THost, typename TSpec >
inline TStream &
operator >> (TStream & source, ModifiedString<THost, TSpec> & target)
{
    SEQAN_CHECKPOINT;
    read(source, target);
    return source;
}

//////////////////////////////////////////////////////////////////////////////

template <typename THost, typename TSpec>
inline void const *
id(ModifiedString<THost, TSpec> & me) 
{
    SEQAN_CHECKPOINT;
    return id(host(me));
}
template <typename THost, typename TSpec>
inline void const *
id(ModifiedString<THost, TSpec> const & me) 
{
    SEQAN_CHECKPOINT;
    return id(host(me));
}

}  // namespace seqan

#endif  // SEQAN_MODIFIER_MODIFIER_STRING_H_