sc::AggregateKeyVal(3)

πŸ“¦
version 2.3.1 Β· 5 versions
, in ubuntu jammy

πŸ’… sc::AggregateKeyVal(3) β€” MPQC manual page πŸ’…

okay so bestie, welcome to the MPQC man page for sc::AggregateKeyVal(3). This one is lowkey iconic: it’s the little adapter that lets a bunch of KeyVal objects vibe as one single KeyVal. no cap. 🫢

🌸 NAME 🌸

sc::AggregateKeyVal β€” this takes several KeyVal objects and makes them look like one KeyVal object. literally the friend-group merge of key-value lookups. πŸ’–

✨ SYNOPSIS ✨

#include <keyval.h>

Inherits sc::KeyVal.

πŸ› οΈ Public Member Functions πŸ› οΈ

πŸ’… Constructors πŸ’…

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

The search order is keyval1, keyval2, and so on. All KeyVal objects including and after the first null KeyVal will be ignored. so once a null shows up, everything after it is giving β€œnot invited to the group chat” πŸ™ˆ

AggregateKeyVal (const Ref< KeyVal > &keyval1)
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)
~AggregateKeyVal ()
  • void errortrace (std::ostream &fp=ExEnv::err0()) β€” writes a message to fp describing the error. yes bestie, it’s the error-trace moment 😭
  • void dump (std::ostream &fp=ExEnv::err0()) β€” writes a message to fp describing the error. same description, different function name πŸ’€

πŸ›‘οΈ Protected Member Functions πŸ›‘οΈ

  • int key_exists (const char *) β€” ultimately called by exists. πŸ‘€
  • Ref< KeyValValue > key_value (const char *, const KeyValValue &def) β€” ultimately called by value. πŸ’œ

πŸ‘‘ Additional Inherited Members πŸ‘‘

This section is here, but there are no extra members listed under it. it’s just the heading doing its little cameo. πŸŽ€

πŸ”₯ Detailed Description πŸ”₯

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

When a key is sought, the first KeyVal is searched, then the next, and so on, until the keyword is found. it’s giving β€œcheck the group chat, then the DMs, then the finsta” energy. πŸ”βœ¨

πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for MPQC from the source code.

πŸ’– fr fr, that’s the whole page β€” MPQC version 2.3.1, dated Sun Oct 4 2020, and the manual page is sc::AggregateKeyVal(3). periodt. πŸ¦‹

πŸ“¦ where this page comes from