| TBTK::StateSet::StateSet |
( |
bool |
isOwner = true | ) |
|
Constructor.
- Parameters
-
| isOwner | Flag indicating whether the StateSet is considered to be an owner of the states or not. If it is an owner, states added to it will be delete when the StateSet is destructed. |
| TBTK::StateSet::~StateSet |
( |
| ) |
|
Add state. Note: The StateSet assumes ownership of the pointers and will delete them when it is destroyed.
| const std::vector< AbstractState * > & TBTK::StateSet::getStates |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files:
- /home/kristofer/TBTK/TBTK/calc/TightBindingLib/include/StateSet.h
- /home/kristofer/TBTK/TBTK/calc/TightBindingLib/src/StateSet.cpp