This file is indexed.

/usr/include/arc/security/ArcPDP/fn/FnFactory.h is in nordugrid-arc-dev 4.2.0-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
#ifndef __ARC_SEC_FUNCTIONFACTORY_H__
#define __ARC_SEC_FUNCTIONFACTORY_H__

#include <arc/security/ClassLoader.h>

#include <map>
#include "Function.h"

namespace ArcSec {

typedef std::map<std::string, Function*> FnMap;

///Interface for function factory class
/**FnFactory is in charge of creating Function object according to the 
 * algorithm type given as argument of method createFn. 
 * This class can be inherited for implementing a factory class
 * which can create some specific Function objects.
 */
class FnFactory : public Arc::LoadableClass {
public:
  FnFactory(Arc::PluginArgument* parg): Arc::LoadableClass(parg) {};
  virtual ~FnFactory(){};

public:
  /**creat algorithm object based on the type algorithm type
 *@param type  The type of Function
 *@return The object of Function
 */ 
  virtual Function* createFn(const std::string& type) = 0;

protected:
  FnMap fnmap;
};

} // namespace ArcSec

#endif /* __ARC_SEC_FUNCTIONFACTORY_H__ */