DOKK / manpages / debian 11 / libsc-doc / sc_StringKeyVal.3.en
sc::StringKeyVal(3) MPQC sc::StringKeyVal(3)

sc::StringKeyVal - StringKeyVal is a base class for KeyVal implementations that store all values in a string format.

#include <keyval.h>

Inherits sc::KeyVal.

Inherited by sc::ParsedKeyVal.


virtual const char * stringrep (const char *key)=0
Returns the string representation of the value assigned to key. virtual const char * classname (const char *)
Returns the name of the exact class of the object at the keyword. virtual const char * truekeyword (const char *)
Returns a string which is the actual keyword if some sort of variable substitution takes place (needed to make multiple references to the same object work in input files).

Debugging.
See the parent class documentation for descriptions of these functions.



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


int key_exists (const char *)
Ultimately called by exists. Ref< KeyValValue > key_value (const char *, const KeyValValue &def)
Ultimately called by value.

StringKeyVal is a base class for KeyVal implementations that store all values in a string format.

These are converted to other data types through KeyValValue.

Returns the name of the exact class of the object at the keyword. If no classname is assigned then 0 is returned.

Reimplemented in sc::ParsedKeyVal.

Generated automatically by Doxygen for MPQC from the source code.

Sun Oct 4 2020 Version 2.3.1