sc::RefBase(3)

πŸ“¦
version 2.3.1 Β· 5 versions
, in ubuntu jammy

πŸ’– NAME πŸ’–

okay bestie, welcome to sc::RefBase(3), the MPQC manual page that's literally the support system for all the Ref template instantiations. It provides a few utility routines common to all Ref template instantiations. That's the vibe. No cap. ✨

✨ SYNOPSIS ✨

First things first, include the header:

#include <ref.h>

Then, the inheritance situation is a lot β€” this base is inherited by all of these, so keep scrolling, bestie:

sc::Ref< DiagSCMatrix >
sc::Ref< sc::AccumH >
sc::Ref< sc::AngularIntegrator >
sc::Ref< sc::Appearance >
sc::Ref< sc::AtomInfo >
sc::Ref< sc::BatchElectronDensity >
sc::Ref< sc::BEMSolvent >
sc::Ref< sc::Convergence >
sc::Ref< sc::DenFunctional >
sc::Ref< sc::DenIntegrator >
sc::Ref< sc::DescribedClass >
sc::Ref< sc::DipoleData >
sc::Ref< sc::Edge >
sc::Ref< sc::EfieldDotVectorData >
sc::Ref< sc::FJT >
sc::Ref< sc::Function >
sc::Ref< sc::GaussianBasisSet >
sc::Ref< sc::HessianUpdate >
sc::Ref< sc::Int1eCCA >
sc::Ref< sc::Int1eCints >
sc::Ref< sc::Int1eV3 >
sc::Ref< sc::Int2eCCA >
sc::Ref< sc::Int2eCints >
sc::Ref< sc::Int2eV3 >
sc::Ref< sc::IntCoor >
sc::Ref< sc::IntCoorGen >
sc::Ref< sc::Integral >
sc::Ref< sc::IntegralStorer >
sc::Ref< sc::IntegrationWeight >
sc::Ref< sc::KeyVal >
sc::Ref< sc::LineOpt >
sc::Ref< sc::LSDACFunctional >
sc::Ref< sc::MachineTopology >
sc::Ref< sc::Material >
sc::Ref< sc::MemoryGrp >
sc::Ref< sc::MessageGrp >
sc::Ref< sc::MOIndexSpace >
sc::Ref< sc::MOIntsTransformFactory >
sc::Ref< sc::MolecularCoor >
sc::Ref< sc::MolecularEnergy >
sc::Ref< sc::MolecularFrequencies >
sc::Ref< sc::MolecularHessian >
sc::Ref< sc::Molecule >
sc::Ref< sc::MoleculeColorizer >
sc::Ref< sc::MP2R12Energy >
sc::Ref< sc::OneBodyInt >
sc::Ref< sc::OneBodyIntIter >
sc::Ref< sc::OneBodyWavefunction >
sc::Ref< sc::OverlapOrthog >
sc::Ref< sc::PetiteList >
sc::Ref< sc::PointChargeData >
sc::Ref< sc::PointGroup >
sc::Ref< sc::PrimPairsCints >
sc::Ref< sc::PsiExEnv >
sc::Ref< sc::PsiFile11 >
sc::Ref< sc::PsiInput >
sc::Ref< sc::PsiSCF >
sc::Ref< sc::R12Amplitudes >
sc::Ref< sc::R12IntEval >
sc::Ref< sc::R12IntEvalInfo >
sc::Ref< sc::R12IntsAcc >
sc::Ref< sc::RadialIntegrator >
sc::Ref< sc::RegionTimer >
sc::Ref< sc::RenderedMolecule >
sc::Ref< sc::RenderedObject >
sc::Ref< sc::SavableState >
sc::Ref< sc::SCBlockInfo >
sc::Ref< sc::SCExtrapData >
sc::Ref< sc::SCExtrapError >
sc::Ref< sc::SCF >
sc::Ref< sc::SCMatrixBlock >
sc::Ref< sc::SCMatrixBlockList >
sc::Ref< sc::SCMatrixDiagBlock >
sc::Ref< sc::SCMatrixKit >
sc::Ref< sc::SCMatrixLTriBlock >
sc::Ref< sc::SCMatrixRectBlock >
sc::Ref< sc::SCMatrixSubblockIter >
sc::Ref< sc::SCVector >
sc::Ref< sc::SCVectorSimpleBlock >
sc::Ref< sc::SelfConsistentExtrapolation >
sc::Ref< sc::SetIntCoor >
sc::Ref< sc::ShellPairCints >
sc::Ref< sc::ShellPairsCints >
sc::Ref< sc::SOBasis >
sc::Ref< sc::ThreadGrp >
sc::Ref< sc::ThreadLock >
sc::Ref< sc::Transform >
sc::Ref< sc::TriangleIntegrator >
sc::Ref< sc::TriangulatedImplicitSurface >
sc::Ref< sc::TriangulatedSurface >
sc::Ref< sc::TriInterpCoef >
sc::Ref< sc::TwoBodyDerivInt >
sc::Ref< sc::TwoBodyGrid >
sc::Ref< sc::TwoBodyInt >
sc::Ref< sc::TwoBodyMOIntsTransform >
sc::Ref< sc::Units >
sc::Ref< sc::Vertex >
sc::Ref< sc::Volume >
sc::Ref< sc::Wavefunction >
sc::Ref< SCDimension >
sc::Ref< SCMatrix >
sc::Ref< SCVector >
sc::Ref< SymmSCMatrix >
sc::Ref< T >

and yes, the grand finale is sc::Ref< T >. The list ate, honestly. πŸ’…

πŸ’– Public Member Functions πŸ’–

  • virtual RefCount * parentpointer () const =0 β€” Returns the DescribedClass pointer for the contained object. periodt.
  • void require_nonnull () const β€” Requires that a nonnull reference is held. no nulls allowed, bestie.

🫢 Protected Member Functions 🫢

  • void warn (const char *msg) const β€” Print a warning message.
  • void warn_ref_to_stack () const β€” Called when stack data is referenced.
  • void warn_skip_stack_delete () const β€” Called when the deletion of stack data is skipped.
  • void warn_bad_ref_count () const β€” Called when the reference count is corrupted.
  • void ref_info (RefCount *p, std::ostream &os) const β€” Print information about the reference.
  • void ref_info (std::ostream &os) const β€” This overload is listed here too, with no extra description on the page.
  • void check_pointer () const β€” Signature only on this page, bestie.
  • void reference (RefCount *) β€” Signature only on this page.
  • int dereference (RefCount *) β€” Signature only on this page.

🌸 Detailed Description 🌸

Provides a few utility routines common to all Ref template instantiations. That's the whole detailed description β€” it really said what it said. πŸ’…

πŸ’… Member Function Documentation πŸ’…

⭐ void sc::RefBase::require_nonnull () const ⭐

Requires that a nonnull reference is held. If not, the program will abort. like, actually abort. So yeah, abort is the consequence, bestie. 🫢

πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for MPQC from the source code. Doxygen really said "I'll do it myself." πŸ’€


okay so this sc::RefBase(3) page is from MPQC, version 2.3.1, dated Sun Oct 4 2020 β€” that's the source/version and date from the footer, bestie. Byeee, go hold your references responsibly πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from