/usr/include/root/Reflex/Builder/OnDemandBuilderForScope.h is in libroot-core-dev 5.34.30-0ubuntu8.
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 | // @(#)root/reflex:$Id$
// Author: Axel Naumann, 2009
// Copyright CERN, CH-1211 Geneva 23, 2004-2009, All rights reserved.
//
// Permission to use, copy, modify, and distribute this software for any
// purpose is hereby granted without fee, provided that this copyright and
// permissions notice appear in all copies and derivatives.
//
// This software is provided "as is" without express or implied warranty.
#ifndef Reflex_OnDemandBuilderForScope
#define Reflex_OnDemandBuilderForScope
#include "Reflex/Kernel.h"
#include "Reflex/Builder/OnDemandBuilder.h"
namespace Reflex {
// not part of the interface
class BuilderContainer;
class ScopeBase;
class RFLX_API OnDemandBuilderForScope: public OnDemandBuilder {
public:
OnDemandBuilderForScope() {}
OnDemandBuilderForScope(ScopeBase* scope): fContext(scope) {}
virtual ~OnDemandBuilderForScope() {}
// return whether the builder has changed reflection data
virtual void BuildAll() = 0;
void SetContext(ScopeBase* scope) { fContext = scope; }
ScopeBase* Context() const { return fContext; }
private:
ScopeBase* fContext; // which scope to build for
};
} // namespace Reflex
#endif // Reflex_OnDemandBuilderForScope
|