Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

sc::AggregateKeyVal Class Reference

This takes several KeyVal objects and makes them look like one KeyVal object. More...

#include <keyval.h>

Inheritance diagram for sc::AggregateKeyVal:

sc::KeyVal sc::RefCount sc::Identity List of all members.
 AggregateKeyVal (const Ref< KeyVal > &keyval1)
 These contructors create an AggregateKeyVal that is formed from several other KeyVal objects.
 AggregateKeyVal (const Ref< KeyVal > &keyval1, const Ref< KeyVal > &keyval2)
 AggregateKeyVal (const Ref< KeyVal > &keyval1, const Ref< KeyVal > &keyval2, const Ref< KeyVal > &keyval3)
 AggregateKeyVal (const Ref< KeyVal > &keyval1, const Ref< KeyVal > &keyval2, const Ref< KeyVal > &keyval3, const Ref< KeyVal > &keyval4)
Ref< KeyValValue > key_value (const char *, const KeyValValue &def)
 Ultimately called by value.

Public Member Functions

void errortrace (std::ostream &fp=ExEnv::err0())
 Write a message to fp describing the error.
void dump (std::ostream &fp=ExEnv::err0())
 Write a message to fp describing the error.

Protected Member Functions

int key_exists (const char *)
 Ultimately called by exists.

Detailed Description

This takes several KeyVal objects and makes them look like one KeyVal object.

When a key is sought first KeyVal, then the next, and so on is searched until the keyword is found.


Constructor & Destructor Documentation

sc::AggregateKeyVal::AggregateKeyVal const Ref< KeyVal > &  keyval1  ) 
 

These contructors create an AggregateKeyVal that is formed from several other KeyVal objects.

The search order is keyval1, keyval2, and so on.


The documentation for this class was generated from the following file:
Generated at Tue Jun 14 10:28:00 2005 for MPQC 2.2.3 using the documentation package Doxygen 1.4.3-20050530.