/usr/include/falcon/itemtraits.h is in falconpl-dev 0.9.6.9-git20120606-2.
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 | /*
FALCON - The Falcon Programming Language.
FILE: itemtraits.h
Traits for putting items in generic containers
-------------------------------------------------------------------
Author: Giancarlo Niccolai
Begin: dom ott 29 2006
-------------------------------------------------------------------
(C) Copyright 2004: the FALCON developers (see list in AUTHORS file)
See LICENSE file for licensing details.
*/
/** \file
Traits for putting items in generic containers
*/
#ifndef flc_itemtraits_H
#define flc_itemtraits_H
#include <falcon/setup.h>
#include <falcon/item.h>
#include <falcon/traits.h>
namespace Falcon {
class VMachine;
class FALCON_DYN_CLASS ItemTraits: 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 ItemTraits &t_item();
}
}
#endif
/* end of itemtraits.h */
|