SBPIMPLPTR(3coin4)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

✨ NAME ✨

SbPimplPtr< T > β€” bestie, this is a whole template class from the Coin library, living in manual section 3, and she's here to be your pimpl pointer situation πŸ’…


🌸 SYNOPSIS 🌸

okay so here's the whole entire vibe of this class, laid out exactly how she comes:

🫢 Public Member Functions

SbPimplPtr (T *initial)
SbPimplPtr (const SbPimplPtr< T > &copy)
void set (T *value)
T & get (void) const
SbPimplPtr< T > & operator= (const SbPimplPtr< T > &copy)
SbBool operator== (const SbPimplPtr< T > &rhs) const
SbBool operator!= (const SbPimplPtr< T > &rhs) const
const T * operator-> (void) const
T * operator-> (void)

like, that's the roster. the const versions and the not-const versions both showed up, and they're both serving πŸ’–

πŸŽ€ Protected Member Functions

T * getNew (void) const

πŸ‘‘ Protected Attributes

T * ptr
note bestie: these two sections are protected β€” meaning they're not out here in the streets for just anybody. they're for the class's own inner circle (and her subclasses). no cap.

🌈 DETAILS, FR FR 🌈

let me break down every single one of those signatures, because the way that each one matters is real:

πŸ’œ Constructors

  • SbPimplPtr (T *initial) β€” the starter constructor. you hand her a T * named initial and she's off. periodt.
  • SbPimplPtr (const SbPimplPtr< T > &copy) β€” the copy constructor. takes a const SbPimplPtr< T > & called copy and makes a twin. iconic behaviour tbh.

πŸ¦‹ Regular Member Functions

  • void set (T *value) β€” gives her a new T * called value. returns void, so she says nothing back. mysterious. love that for her.
  • T & get (void) const β€” hands you back a reference to a T, and she's const about it. no touching, just vibes.
  • SbPimplPtr< T > & operator= (const SbPimplPtr< T > &copy) β€” the assignment operator, and she returns a reference to SbPimplPtr< T > so you can chain. takes a const SbPimplPtr< T > & named copy. main character energy fr fr.

✨ Comparison Operators

  • SbBool operator== (const SbPimplPtr< T > &rhs) const β€” equality check. takes a const SbPimplPtr< T > & named rhs (that's right-hand side, iykyk) and returns an SbBool. she's const, she's chill.
  • SbBool operator!= (const SbPimplPtr< T > &rhs) const β€” the opposite one. same const SbPimplPtr< T > & rhs, same SbBool, also const. they're a matched set πŸŽ€

🧚 Arrow Operators

  • const T * operator-> (void) const β€” the const flavour. gives you a const T * so you can poke at things without being allowed to change them.
  • T * operator-> (void) β€” the non-const flavour. gives you a plain T *. do with that what you will, bestie 🫢

πŸ’€ Protected Stuff (for the inner circle only)

  • T * getNew (void) const β€” a protected member function, const, returns a T *. that's all she's telling you. it's giving mystery.
  • T * ptr β€” a protected attribute, just a T * named ptr. the whole backbone. the moment. the blueprint.

⭐ Author ⭐

Generated automatically by Doxygen for Coin from the source code.

translation: no human wrote this by hand, a robot did it from the source. respect the robot's hustle πŸ™ˆ

πŸ’– Sign-Off πŸ’–

and that's the whole page, bestie! this was Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and it belongs to the SbPimplPtr< T >(3) manual page in the Coin docs. slay, ate, no crumbs left, periodt πŸ’…βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from