/usr/include/wvstreams/unisubtreegen.h is in libwvstreams-dev 4.6.1-11.
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 | /* -*- Mode: C++ -*-
* Worldvisions Weaver Software:
* Copyright (C) 1997-2002 Net Integration Technologies, Inc.
*
* A UniConfGen for returning only a particular subtree of a given generator.
*/
#ifndef __UNISUBTREEGEN_H
#define __UNISUBTREEGEN_H
#include "unifiltergen.h"
/**
* A UniConfGen that returns only a particular subtree of a given generator.
*
* Requests going to this generator have the given prefix added to all keys.
*/
class UniSubtreeGen : public UniFilterGen
{
UniConfKey subkey;
public:
UniSubtreeGen(IUniConfGen *gen, const UniConfKey &_subkey);
virtual bool keymap(const UniConfKey &unmapped_key, UniConfKey &mapped_key);
virtual bool reversekeymap(const UniConfKey &mapped_key, UniConfKey &unmapped_key);
};
#endif // __UNISUBTREEGEN_H
|