This file is indexed.

/usr/include/arc/security/ArcPDP/attr/BooleanAttribute.h is in nordugrid-arc-dev 5.4.2-1build1.

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

#include <arc/security/ArcPDP/attr/AttributeValue.h>

namespace ArcSec {
class BooleanAttribute : public AttributeValue {
private:
  static std::string identifier;
  bool value;
  std::string id;
  
public:
  BooleanAttribute() : value(false) { };
  BooleanAttribute(const bool& v,const std::string& i = std::string()) : value(v), id(i){ };
  virtual ~BooleanAttribute(){ };

  virtual bool equal(AttributeValue* o, bool check_id = true);
  virtual std::string encode() { if(value) return std::string("true"); else return std::string("false"); };
  bool getValue(){ return value; };
  std::string getId(){ return id; };
  std::string getType() {return identifier; };
  static const std::string& getIdentifier(void) { return identifier; };
 
};

}// namespace ArcSec

#endif /* __ARC_SEC_BOOLEANATTRIBUTE_H__ */