This file is indexed.

/usr/include/arc/security/ArcPDP/alg/AlgFactory.h is in nordugrid-arc-dev 5.0.5-1ubuntu1.

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
#ifndef __ARC_SEC_ALGFACTORY_H__
#define __ARC_SEC_ALGFACTORY_H__

#include <arc/security/ClassLoader.h>

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

namespace ArcSec {

typedef std::map<std::string, CombiningAlg*> AlgMap;

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

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

protected:
  AlgMap algmap;
};

} // namespace ArcSec

#endif /* __ARC_SEC_ALGFACTORY_H__ */