sc::StringKeyVal(3)
okay bestie, welcome to the sc::StringKeyVal(3) page from the MPQC manual. This is your little group-chat briefing on StringKeyVal, and it's lowkey important: it's the base class for KeyVal implementations that store all values in a string format. Periodt. π
π NAME π
sc::StringKeyVal β StringKeyVal is a base class for KeyVal implementations that store all values in a string format. That's the name section, and it ate. β¨
β¨ SYNOPSIS β¨
#include <keyval.h>
- Inherits
sc::KeyVal. - Inherited by
sc::ParsedKeyVal.
π«Ά Public Member Functions π«Ά
virtual const char * stringrep (const char *key)=0β Returns the string representation of the value assigned tokey.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. Ngl, parent class has the lore. π
virtual void errortrace (std::ostream &fp=ExEnv::err0())β Write a message tofpdescribing the error.virtual void dump (std::ostream &fp=ExEnv::err0())β Write a message tofpdescribing the error.
π§ Protected Member Functions π§
int key_exists (const char *)β Ultimately called byexists.Ref< KeyValValue > key_value (const char *, const KeyValValue &def)β Ultimately called byvalue.
π Additional Inherited Members π
Nothing extra is listed under this heading on this page, bestie. That's just how it is. π
π Detailed Description π
StringKeyVal is a base class for KeyVal implementations that store all values in a string format. Simple as that, no cap.
These are converted to other data types through KeyValValue. So the string vibe gets translated into whatever type you actually need. β¨
π Member Function Documentation π
π¦ virtual const char* sc::StringKeyVal::classname (const char *) [virtual] π¦
Returns the name of the exact class of the object at the keyword. If no classname is assigned then 0 is returned. Important little detail: that's a literal zero. π«Ά
Reimplemented in sc::ParsedKeyVal.
πΈ Author πΈ
Generated automatically by Doxygen for MPQC from the source code. The robots did this one, but we're still serving looks. π€π
mwah π β that's the whole page from MPQC, Version 2.3.1, dated Sun Oct 4 2020. Byeee bestie, go be iconic with your string keyvals! πβ¨
π¦ where this page comes from
- ubuntu jammy: libsc-doc 2.3.1-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms