/usr/include/wvstreams/uniconfpair.h is in libwvstreams-dev 4.6.1-7.
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 | /* -*- Mode: C++ -*-
* Worldvisions Weaver Software:
* Copyright (C) 1997-2002 Net Integration Technologies, Inc.
*
* UniConf key-value pair storage abstraction.
*/
#ifndef __UNICONFPAIR_H
#define __UNICONFPAIR_H
#include "uniconfkey.h"
#include "wvstring.h"
#include "wvhashtable.h"
/** Represents a simple key-value pair. */
class UniConfPair
{
UniConfKey xkey; /*!< the name of this entry */
WvString xvalue; /*!< the value of this entry */
public:
/**
* Creates a UniConfPair.
* "key" is the key
* "value" is the value
*/
UniConfPair(const UniConfKey &key, WvStringParm value)
: xkey(key), xvalue(value) { }
const UniConfKey &key() const
{ return xkey; }
const WvString &value()
{ return xvalue; }
void setvalue(WvStringParm value) { xvalue = value; }
void setkey(UniConfKey &key) { xkey = key; }
};
DeclareWvList(UniConfPair);
#endif //__UNICONFPAIR_H
|