Reference Manual

Inti Logo
Main Page   Namespace List   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Inti::GConf::Entry Class Reference

A GConfEntry C++ wrapper class. More...

#include <inti/gconf/value.h>

List of all members.

Public Member Functions

Constructors
Accessors
Methods

Detailed Description

A GConfEntry C++ wrapper class.

An Entry stores an entry from a GConf "directory," including a key-value pair, the name of the schema applicable to this entry, whether the value is a default value, and whether GConf can write a new value at this key. key should be an absolute key, not a relative key. (Note that internally GConf breaks this rule sometimes; but in the public interface, key is always an absolute key.) To access the key and value, use get_key() and get_value(). For example if the value "10" is stored at the key "/foo/bar/baz", the Entry will store "baz" and "10".


Constructor & Destructor Documentation

Inti::GConf::Entry::Entry const String &    key,
const Value   value
 

Constructs a new Entry with key and value.

Parameters:
key The full path to the key, starting with '/'.
value The value for key.

Inti::GConf::Entry::Entry const GConfEntry *    src
 

Construct a new Entry from an exisitng GConfEntry.

Parameters:
src A GConfEntry to copy.


Member Function Documentation

Value Inti::GConf::Entry::get_value   const
 

Get the value field of an Entry.

Returns:
A Value object.

void Inti::GConf::Entry::set_schema_name const String &    name
 

Sets the name of the schema applicable to this entry.

Parameters:
name The name of the schema.

void Inti::GConf::Entry::set_value const Value   value
 

Sets the value field for the Entry.

Parameters:
value The new Value.


The documentation for this class was generated from the following file: Main Page - Footer


Generated on Wed Apr 9 22:35:43 2003 for Inti-GConf by doxygen 1.3-rc3 written by Dimitri van Heesch, © 1997-2002