ost::IPV4Validator(3)

πŸ“¦ version 1.8.1, in ubuntu jammy

✨ ost::IPV4Validator ✨

okay bestie, we're in the Library Functions Manual section and this page is literally all about ost::IPV4Validator(3) β€” like, that's the whole vibe. grab a strawberry πŸ“ and let's get into it.


🌸 NAME 🌸

ost::IPV4Validator β€” classes derived from IPV4Address would require an specific validator to pass to the IPV4Address constructor.


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <address.h>

Inherited by ost::IPV4MulticastValidator.

πŸ’… Public Member Functions

  • IPV4Validator () β€” Constructor.
  • virtual ~IPV4Validator () β€” keeps compilers happy.
  • virtual void operator() (const in_addr address) const =0 β€” Pure virtual application operator.

πŸ‘‘ Detailed Description πŸ‘‘

Classes derived from IPV4Address would require an specific validator to pass to the IPV4Address constructor.

This is a base class for classes of function objects used by such derived classes.

Author

Federico Montesino p5087@quintero.fie.us.es

Abstract base class for derived inet addresses validators. no cap, that's the whole point of it 🫢


πŸŽ€ Constructor & Destructor Documentation πŸŽ€

ost::IPV4Validator::IPV4Validator () [inline]

Constructor. Does not deal with any state. it's giving low-maintenance, honestly πŸ’–

virtual ost::IPV4Validator::~IPV4Validator () [inline], [virtual]

keeps compilers happy. that's it. that's the job. 😌


🌈 Member Function Documentation 🌈

virtual void ost::IPV4Validator::operator() (const in_addr address) const [pure virtual]

Pure virtual application operator. Apply the validation algorithm specific to derived classes.

Implemented in ost::IPV4MulticastValidator.

bestie this one is pure virtual (=0) so you literally cannot instantiate it directly β€” you must derive from it and bring your own algorithm. it's giving main character energy that only exists through its children πŸ’€βœ¨

⭐ Author ⭐

Generated automatically by Doxygen for GNU CommonC++ from the source code.


and that's the whole page, periodt. this was GNU CommonC++, dated Sun Dec 27 2020, and it's an ost::IPV4Validator(3) situation β€” stay iconic, validate responsibly, and go slay some inet addresses πŸ’…πŸ”₯

πŸ“¦ where this page comes from