SBPIMPLPTR(3coin4)
β¨ 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 > ©)
void set (T *value)
T & get (void) const
SbPimplPtr< T > & operator= (const SbPimplPtr< T > ©)
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 aT *named initial and she's off. periodt.SbPimplPtr (const SbPimplPtr< T > ©)β the copy constructor. takes aconst SbPimplPtr< T > &called copy and makes a twin. iconic behaviour tbh.
π¦ Regular Member Functions
void set (T *value)β gives her a newT *called value. returnsvoid, so she says nothing back. mysterious. love that for her.T & get (void) constβ hands you back a reference to aT, and she'sconstabout it. no touching, just vibes.SbPimplPtr< T > & operator= (const SbPimplPtr< T > ©)β the assignment operator, and she returns a reference toSbPimplPtr< T >so you can chain. takes aconst SbPimplPtr< T > &named copy. main character energy fr fr.
β¨ Comparison Operators
SbBool operator== (const SbPimplPtr< T > &rhs) constβ equality check. takes aconst SbPimplPtr< T > &named rhs (that's right-hand side, iykyk) and returns anSbBool. she'sconst, she's chill.SbBool operator!= (const SbPimplPtr< T > &rhs) constβ the opposite one. sameconst SbPimplPtr< T > &rhs, sameSbBool, alsoconst. they're a matched set π
π§ Arrow Operators
const T * operator-> (void) constβ theconstflavour. gives you aconst T *so you can poke at things without being allowed to change them.T * operator-> (void)β the non-constflavour. gives you a plainT *. do with that what you will, bestie π«Ά
π Protected Stuff (for the inner circle only)
T * getNew (void) constβ a protected member function,const, returns aT *. that's all she's telling you. it's giving mystery.T * ptrβ a protected attribute, just aT *namedptr. 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
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms