sc::EfieldDotVectorData(3)
π sc::EfieldDotVectorData π
okay so bestie, welcome to section 3 of the Library Functions Manual, and today's main character is sc::EfieldDotVectorData. she's a lil class in the MPQC C++ situation, she holds a position and a vector, and she's here to be understood. no cap. π¦
β¨ NAME β¨
sc::EfieldDotVectorData β that's her, that's the whole name, she's lowkey mysterious like that π
πΈ SYNOPSIS πΈ
Inherits sc::RefCount.
so she's part of the sc::RefCount family tree, which means she's got reference-counting energy running through her veins, periodt. let's get into what she's actually bringing to the group chat.
π Public Member Functions
void set_position (double *)β sets the position, bestie. that's the whole job.void set_vector (double *)β and this one sets the vector. slay.
π Public Member Functions inherited from sc::RefCount
these are the ones she got from her sc::RefCount mama, and they are not optional reading, i fear:
int lock_ptr () constβ Lock this object. πint unlock_ptr () constβ Unlock this object. πvoid use_locks (bool inVal)β start and stop using locks on this objectrefcount_t nreference () constβ Return the reference count. just peek at it, no touchy.refcount_t reference ()β Increment the reference count and return the new count. β¨refcount_t dereference ()β Decrement the reference count and return the new count. πint managed () constβ (listed, no description attached, she's just there being mysterious)void unmanage ()β Turn off the reference counting mechanism for this object. π iconic behaviour tbhint managed () constβ Return 1 if the object is managed. Otherwise return 0.
not me noticing int managed () const shows up twice in the original page β once with no description and once with "Return 1 if the object is managed. Otherwise return 0." bestie i did not make the rules, i just report them faithfully π«Ά
π Public Member Functions inherited from sc::Identity
Identifier identifier ()β Return theIdentifierfor this argument. she knows who she is, self-concept on lock π
β Public Attributes
the actual data she's carrying around, front and center:
double position [3]β a whole array of three doubles, three is the magic numberdouble vector [3]β same energy, also three doubles, we love a matching set π
π¦ Additional Inherited Members
π§ Protected Member Functions inherited from sc::RefCount
these are the protected girlies, you can't just call them from anywhere, they're for the family:
RefCount (const RefCount &)β copy constructor, she copiesRefCount & operator= (const RefCount &)β assignment operator, she assigns, returns aRefCount &
π Author π
Generated automatically by Doxygen for MPQC from the source code. so nobody hand-wrote this, the machine did it, and honestly? she ate. π₯
π and that's the whole page, bestie. every flag, every signature, everyrefcount_t, every[3], all accounted for. nothing skipped, nothing invented, vibe check passed. β¨
MPQC Β· Version 2.3.1 Β· sc::EfieldDotVectorData(3) β mwah, go read some source code, ily, bye ππ«Άπ
π¦ where this page comes from
- fedora 43: mpqc-devel 2.3.1-65.fc43 Β· GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
- fedora 43: mpqc-devel 2.3.1-65.fc43 Β· GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
- ubuntu noble: libsc-doc 2.3.1-22build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms