ost::AppLog::Ident(3)
π NAME π
ost::AppLog::Ident β the Ident class that represents a module name. That's it, that's the whole vibe. It's the little name tag your module wears at the party. π
This page lives in the Library Functions Manual, section 3, under the name ost::AppLog::Ident(3) β iykyk, that's just how the man pages file it. π
β¨ SYNOPSIS β¨
#include <applog.h>
πΈ Public Member Functions πΈ
Ident ()β Constructor. The classic, the default, the blueprint. π«Ά~Ident ()β Desctructor. (Yes, the original doc really spells it like that and honestly? iconic. Not me fixing it. π) It's the destructor, bestie.Ident (Ident &id)β Copy constructor. Makes a whole new Ident that's a carbon copy of another one. twin energy. π―Ident (const char *str)βconst char*constructor, provided for convenience. Because sometimes you just have a C string lying around. πstd::string & str ()βstd::stringcast.Ident & operator= (std::string &st)β Assignment operator (string).Ident & operator= (const char str[])β Assignment operator (const char[]), provided for convenience.const char * c_str ()βconst char*cast provided for conveneince. (Another lil typo in the source docs, we're keeping the lore fr fr. β¨)
π Detailed Description π
Ident class that represents module name. Short, sweet, to the point. It's the name. Of the module. Slay. π
π§ Constructor & Destructor Documentation π§
π ost::AppLog::Ident::Ident () [inline]
Constructor. Wakes up an Ident and gets it ready to hold a module name. main character energy from the jump. β
π ost::AppLog::Ident::~Ident () [inline]
Desctructor. (The source really said "Desctructor" and we respect the craft. π) It's the destructor β it cleans up when your Ident is done being fabulous.
π ost::AppLog::Ident::Ident (Ident & id) [inline]
Copy constructor. Hands you a fresh Ident with the same everything as id. no cap, it's a clone. π¦
π ost::AppLog::Ident::Ident (const char * str) [inline]
const char* constructor, provided for convenience. Feed it a raw C string and it'll build you an Ident. lowkey the easiest way in. πΈ
π₯ Member Function Documentation π₯
π const char* ost::AppLog::Ident::c_str () [inline]
const char* cast provided for conveneince. (yes, "conveneince", the original is out here doing its own thing and we love that for it π
)
Referenced byost::AppLog::operator()(), andost::AppLog::operator<<().
π Ident& ost::AppLog::Ident::operator= (const char str[]) [inline]
Assignment operator (const char[]), provided for convenience. Drop a bare C string in, get it assigned. easy. β¨
π Ident& ost::AppLog::Ident::operator= (std::string & st) [inline]
Assignment operator (string). Give it a std::string and it takes it. obsessed. π
π std::string& ost::AppLog::Ident::str () [inline]
std::string cast. Gets you the name as a proper C++ string instead of a crusty char pointer. the glow up. π
π Author π
Generated automatically by Doxygen for GNU CommonC++ from the source code. So like, a robot wrote this and we're just vibing with it. π€π
and that's the whole page bestie!! π
Sign-off time: this lil masterpiece comes from GNU CommonC++, dated Sun Dec 27 2020, and it's filed as ost::AppLog::Ident(3). periodt. π
β¨π¦
π¦ where this page comes from
- ubuntu jammy: libcommoncpp2-doc 1.8.1-10
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms