This file is indexed.

/usr/include/falcon/traits.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
 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
/*
   FALCON - The Falcon Programming Language.
   FILE: traits.h

   Traits - informations on types for the generic containers
   -------------------------------------------------------------------
   Author: Giancarlo Niccolai
   Begin: ven oct 27 11:02:00 CEST 2006


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

   See LICENSE file for licensing details.
*/

#ifndef fal_traits_h
#define fal_traits_h

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

namespace Falcon {

class FALCON_DYN_CLASS ElementTraits
{
public:
   virtual ~ElementTraits();
   virtual uint32 memSize() const = 0;
   virtual void init( void *itemZone ) const = 0;
   virtual void copy( void *targetZone, const void *sourceZone ) const = 0;
   virtual int compare( const void *first, const void *second ) const = 0;
   virtual void destroy( void *item ) const = 0;
   virtual bool owning() const = 0;
};

class FALCON_DYN_CLASS VoidpTraits: public ElementTraits
{
public:
   virtual uint32 memSize() const;
   virtual void init( void *itemZone ) const;
   virtual void copy( void *targetZone, const void *sourceZone ) const;
   virtual int compare( const void *first, const void *second ) const;
   virtual void destroy( void *item ) const;
   virtual bool owning() const;
};

class FALCON_DYN_CLASS IntTraits: public ElementTraits
{
public:
   virtual uint32 memSize() const;
   virtual void init( void *itemZone ) const;
   virtual void copy( void *targetZone, const void *sourceZone ) const;
   virtual int compare( const void *first, const void *second ) const;
   virtual void destroy( void *item ) const;
   virtual bool owning() const;
};

class FALCON_DYN_CLASS StringPtrTraits: public ElementTraits
{
public:
   virtual uint32 memSize() const;
   virtual void init( void *itemZone ) const;
   virtual void copy( void *targetZone, const void *sourceZone ) const;
   virtual int compare( const void *first, const void *second ) const;
   virtual void destroy( void *item ) const;
   virtual bool owning() const;
};

class FALCON_DYN_CLASS StringPtrOwnTraits: public StringPtrTraits
{
public:
   virtual ~StringPtrOwnTraits() {}
   virtual bool owning() const;
   virtual void destroy( void *item ) const;
};

class FALCON_DYN_CLASS StringTraits: public ElementTraits
{
public:
   virtual uint32 memSize() const;
   virtual void init( void *itemZone ) const;
   virtual void copy( void *targetZone, const void *sourceZone ) const;
   virtual int compare( const void *first, const void *second ) const;
   virtual void destroy( void *item ) const;
   virtual bool owning() const;
};


namespace traits {
      extern FALCON_DYN_SYM StringTraits &t_string();
      extern FALCON_DYN_SYM VoidpTraits &t_voidp();
      extern FALCON_DYN_SYM IntTraits &t_int();
      extern FALCON_DYN_SYM StringPtrTraits &t_stringptr();
      extern FALCON_DYN_SYM StringPtrOwnTraits &t_stringptr_own();
	  void FALCON_DYN_SYM releaseTraits();
}

}

#endif

/* end of traits.h */