sc::MoleculeColorizer(3)
π sc::MoleculeColorizer π
okay bestie, welcome to the Library Functions Manual entry for sc::MoleculeColorizer β yes it's a class, yes it's a whole vibe, and yes we're gonna get through every single member function together, no skips, no shortcuts. π«Ά
β¨ NAME β¨
sc::MoleculeColorizer β the abstract girlie that decides how your molecule gets its lil colors painted on. π¨π
π SYNOPSIS π
Inherits sc::DescribedClass.
Also, and this is the family tree moment, it's inherited by these three:
sc::AtomProximityColorizersc::DensityColorizersc::GradDensityColorizer
so like, she's the mother of a whole little dynasty. π
π Public Member Functions π
MoleculeColorizer(const Ref< Molecule > &)β build one of these from a reference to aMolecule, that's the whole assignment bestie.MoleculeColorizer(const Ref< KeyVal > &)β or build it from a reference to aKeyVal, whichever fits the situation, we're flexible like that. β¨virtual void colorize(const Ref< RenderedPolygons > &)=0β the big one. This is pure virtual, meaning it has no body here and the derived classes must implement it themselves. It takes a reference toRenderedPolygons. So if you came here looking for the actual coloring logic, it's not in this class, it's in the children. ikykyk. π
πΈ Public Member Functions inherited from sc::DescribedClass πΈ
DescribedClass(const DescribedClass &)β the copy constructor, doing copy constructor things.DescribedClass & operator=(const DescribedClass &)β assignment operator, same energy.ClassDesc * class_desc() const throw()β "This returns the unique pointer to the ClassDesc corresponding to the given type_info object." fr fr, it hands you the unique pointer to theClassDescfor thattype_info.const char * class_name() constβ "Return the name of the object's exact type." Exactly what it says, the exact type, no rounding. πint class_version() constβ "Return the version of the class." the class's version number, queen behavior.virtual void print(std::ostream &=ExEnv::out0()) constβ "Print the object." and note that default argument, it streams toExEnv::out0()unless you say otherwise. π
π¦ Public Member Functions inherited from sc::RefCount π¦
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 object"refcount_t nreference() constβ "Return the reference count."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β the firstmanaged(), just chillin' with no description attached.void unmanage()β "Turn off the reference counting mechanism for this object." she said no more counting, periodt.int managed() constβ and here'smanaged()again, this time with lore: "Return 1 if the object is managed. Otherwise return 0." π«‘
yeah bestie, managed() const shows up twice in the source listing with two different notes. That's not me being messy, that's just how it's written. Keeping it π― accurate.
π§ Public Member Functions inherited from sc::Identity π§
Identifier identifier()β "Return the Identifier for this argument." it gives you theIdentifier, simple as. β
π Protected Attributes π
Ref< Molecule > mol_β the protected member holding a reference to aMolecule. That trailing underscore? iconic. That's the whole note.
π Additional Inherited Members π
π Protected Member Functions inherited from sc::RefCount π
RefCount(const RefCount &)β copy constructor forRefCount, protected, so only the family gets to touch it.RefCount & operator=(const RefCount &)β and the matching assignment operator, also protected.
π Author π
"Generated automatically by Doxygen for MPQC from the source code."
which basically means a robot wrote this and I'm just here to make it cute. π«Άβ¨
and that's the whole page, bestie!! no notes, we ate, every single function accounted for. π
sc::MoleculeColorizer(3) β brought to you by MPQC, Version 2.3.1. mwah, take care of her, she's abstract and she needs her subclasses. πππ¦
π¦ 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