votca 2024.2-dev
Loading...
Searching...
No Matches
votca::csg::MoleculeItem Class Reference

#include <moleculeitem.h>

Collaboration diagram for votca::csg::MoleculeItem:

Public Member Functions

virtual ~MoleculeItem ()=default
 
MoleculegetMolecule () const
 
void setMolecule (Molecule *mol)
 

Protected Member Functions

 MoleculeItem (Molecule *mol)
 

Protected Attributes

Moleculemol_ = nullptr
 

Friends

class BaseBead
 

Detailed Description

Definition at line 29 of file moleculeitem.h.

Constructor & Destructor Documentation

◆ ~MoleculeItem()

virtual votca::csg::MoleculeItem::~MoleculeItem ( )
virtualdefault

◆ MoleculeItem()

votca::csg::MoleculeItem::MoleculeItem ( Molecule * mol)
inlineprotected

Definition at line 47 of file moleculeitem.h.

Member Function Documentation

◆ getMolecule()

Molecule * votca::csg::MoleculeItem::getMolecule ( ) const
inline

Returns the molecule the pointer points at

Definition at line 36 of file moleculeitem.h.

◆ setMolecule()

void votca::csg::MoleculeItem::setMolecule ( Molecule * mol)
inline

stores a pointer to a molecule

Definition at line 44 of file moleculeitem.h.

Friends And Related Symbol Documentation

◆ BaseBead

friend class BaseBead
friend

Definition at line 51 of file moleculeitem.h.

Member Data Documentation

◆ mol_

Molecule* votca::csg::MoleculeItem::mol_ = nullptr
protected

Definition at line 49 of file moleculeitem.h.


The documentation for this class was generated from the following file: