This file is indexed.

/usr/include/BALL/CONCEPT/moleculeObjectCreator.h is in libball1.4-dev 1.4.3~beta1-4.

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
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//

#ifndef BALL_CONCEPT_MOLECULEOBJECTCREATOR_H
#define BALL_CONCEPT_MOLECULEOBJECTCREATOR_H

#ifndef BALL_CONCEPT_OBJECTCREATOR_H
#	include <BALL/CONCEPT/objectCreator.h>
#endif
  
namespace BALL
{
	/** MoleculeObjectCreator class.
			The class MoleculeObjectCreator is a class for converting PersistentObject
			objects that represent molecular structures into Composite objects.
			Objects that do not represent molecular structures will not be converted.
			All necessary initialization and registration of molecular structure patterns
			will be done in the method initPersistenceManager.
			The conversion will be executed in the method convertObject.
			This class is used by the class Server to convert incoming
			PersistentObject objects to Composite objects. \par
		 \ingroup  Persistence
	*/
	class BALL_EXPORT MoleculeObjectCreator: public ObjectCreator
	{
		public:

		/**	@name	Constructors
		*/	
		//@{

		/** Default Constructor.
		*/
		MoleculeObjectCreator()
			;

		//@}
		/** @name Destructors 
		*/
		//@{

		/** Destructor.
		*/
		virtual ~MoleculeObjectCreator()
			;

		/** Explicit default initialization.
				Calls ObjectCreator::clear.
		*/
		virtual void clear()
			;

		//@}
		/**	@name	Accessors: inspectors and mutators 
		*/
		//@{		

		/** Initializes the TextPersistenceManager of this moleculeObjectCreator.
				Registers all necessary molecular structures available in BALL.
				See TextPersistenceManager for information on how and why
				to register PersistentObject classes.
				\param  pm the TextPersistenceManager to be initialized
				\see    TextPersistenceManager
				\see    convertObject
		*/
		virtual void initPersistenceManager(TextPersistenceManager &pm)
			;

		/** Converts persistent objects.
				If <b> po </b> is an object that represents a molecular structure (an Atom,
				Protein or System) it will be converted into a Composite
				object and returned. If it is none of the above <tt> 0</tt> will be returned.
				See TextPersistenceManager for information
				on how to convert PersistentObject objects into other objects.				
				\param  po a reference to a PersistentObject to be converted
				\return Composite* a converted Composite object if <b> po</b> could successfully be converted into a Composite object
				\see    initPersistenceManager
		*/
		virtual Composite *convertObject(PersistentObject &po)
			;
		//@}
	};

} // namespace BALL

#endif // BALL_CONCEPT_MOLECULEOBJECTCREATOR_H