/usr/include/root/TXMLAttr.h is in libroot-io-xmlparser-dev 5.34.14-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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | // @(#)root/xmlparser:$Id$
// Author: Jose Lo 12/4/2005
/*************************************************************************
* Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TXMLAttr
#define ROOT_TXMLAttr
//////////////////////////////////////////////////////////////////////////
// //
// TXMLAttr //
// //
// TXMLAttr is the attribute of an Element. It contains the name (key) //
// and the value of the attribute. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TObject
#include "TObject.h"
#endif
class TXMLAttr : public TObject {
private:
TXMLAttr(const TXMLAttr&); // Not implemented
TXMLAttr& operator=(const TXMLAttr&); // Not implemented
const char *fKey; // XML attribute key
const char *fValue; // XML attribute value
public:
TXMLAttr(const char *key, const char *value) : fKey(key), fValue(value) { }
virtual ~TXMLAttr() { }
const char *GetName() const { return fKey; }
const char *Key() const { return fKey; }
const char *GetValue() const { return fValue; }
ClassDef(TXMLAttr,0) //XML attribute pair
};
#endif
|