ost::AppLog::Ident(3)

πŸ“¦ version 1.8.1, in ubuntu jammy

πŸ’– 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::string cast.
  • 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 by ost::AppLog::operator()(), and ost::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