This file is indexed.

/usr/include/falcon/citerator.h is in falconpl-dev 0.9.6.9-git20120606-2.1+b1.

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
/*
   FALCON - The Falcon Programming Language.
   FILE: citerator.h

   Base abstract class for generic collection iterators.
   -------------------------------------------------------------------
   Author: Giancarlo Niccolai
   Begin: dom giu 24 2007

   -------------------------------------------------------------------
   (C) Copyright 2004: the FALCON developers (see list in AUTHORS file)

   See LICENSE file for licensing details.
*/

/** \file
   Base abstract class for generic collection iterators.
*/

#ifndef flc_citerator_H
#define flc_citerator_H

#include <falcon/setup.h>
#include <falcon/types.h>
#include <falcon/falcondata.h>

namespace Falcon {
class Sequence;
class Garbageable;
class Item;

/**
   Base abstract class for generic collection iterators.
   This is also used as internal object for iterators.
*/
class FALCON_DYN_CLASS CoreIterator: public FalconData
{
protected:
   CoreIterator();
   CoreIterator( const CoreIterator& other );
   Garbageable* m_creator;
   Sequence* m_creatorSeq;
   
public:
   virtual ~CoreIterator();
   
   virtual bool next() = 0;
   virtual bool prev() = 0;
   virtual bool hasNext() const = 0;
   virtual bool hasPrev() const = 0;
   /** Must be called after an isValid() check */
   virtual Item &getCurrent() const = 0;

   virtual bool isValid() const = 0;
   virtual bool isOwner( void *collection ) const = 0;
   virtual bool equal( const CoreIterator &other ) const = 0;
   virtual bool erase() = 0;
   virtual bool insert( const Item &item ) = 0;

   virtual void invalidate() = 0;
   /** On all the non-temporary iterators use this!!!
      Creates a local copy of the VM item to which this iterator
      refers to. The owner is marked on GC mark, so it stays
      alive as long as at least one iterator points to it.
   */
   virtual void setOwner( Garbageable *owner );
   virtual void setOwner( Sequence *owner );
   virtual void gcMark( uint32 mark );
};

}

#endif

/* end of citerator.h */