sc::TranslateDataOut(3)
β¨ sc::TranslateDataOut(3) β¨
okay so bestie, welcome to the sc::TranslateDataOut page from the MPQC manual β it's literally a whole class for converting data into other formats π
πΈ NAME πΈ
sc::TranslateDataOut β convert data to other formats, no cap π¦
π SYNOPSIS π
#include <translate.h>
π Public Member Functions π
TranslateDataOut (StateOut *s, TranslateData *t)
virtual int put (const char *, int)
virtual int put (const short *, int)
virtual int put (const unsigned int *, int)
virtual int put (const int *, int)
virtual int put (const long *, int)
virtual int put (const float *, int)
virtual int put (const double *, int)
TranslateData * translator ()
π«Ά Protected Member Functions π«Ά
int putv (const void *d, int s)
π Detailed Description π
so the whole vibe of this class is: convert data to other formats β¨
the generated data gets inserted into a StateOut object β that's the destination, the main character of this operation π
π§ Constructor & Destructor Documentation π§
β sc::TranslateDataOut::TranslateDataOut (StateOut * s, TranslateData * t)
write to s using the translation defined by t. π«
β οΈ heads up bestie: the t argument will be deleted by this β like, it takes ownership and that pointer is GONE after this, so don't go using it again after, ok? ππ
π₯ Member Function Documentation π₯
β virtual int sc::TranslateDataOut::put (const char *, int) [virtual]
translate and write the data, slay π
and fyi β a similar member exists for each basic type, so like, there's a put for every one of those types listed up in the synopsis. you're covered fr fr β¨
π Author π
generated automatically by Doxygen for MPQC from the source code. iconic behaviour honestly π€π
and that's the whole page bestie!! π version 2.3.1, dated Sun Oct 4 2020 β signed, sealed, delivered by the MPQC manual, mwah ππ
π¦ 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