29 #ifndef CDPL_BIOMOL_HIERARCHYVIEWCHAIN_HPP
30 #define CDPL_BIOMOL_HIERARCHYVIEWCHAIN_HPP
36 #include <boost/iterator/indirect_iterator.hpp>
49 class HierarchyViewModel;
59 typedef std::shared_ptr<HierarchyViewFragment> FragmentPtr;
60 typedef std::vector<FragmentPtr> FragmentList;
63 typedef boost::indirect_iterator<FragmentList::const_iterator, const HierarchyViewFragment>
ConstFragmentIterator;
79 initFragments(true) {}
81 void initFragmentList()
const;
84 mutable FragmentList fragments;
85 mutable bool initFragments;
Definition of the preprocessor macro CDPL_BIOMOL_API.
#define CDPL_BIOMOL_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Definition of the type CDPL::Util::BitSet.
Definition of the class CDPL::Biomol::HierarchyViewFragment.
HierarchyViewChain.
Definition: HierarchyViewChain.hpp:55
ConstFragmentIterator getFragmentsBegin() const
ConstFragmentIterator end() const
std::size_t getNumFragments() const
boost::indirect_iterator< FragmentList::const_iterator, const HierarchyViewFragment > ConstFragmentIterator
Definition: HierarchyViewChain.hpp:63
ConstFragmentIterator begin() const
const HierarchyViewFragment & getFragment(std::size_t idx) const
ConstFragmentIterator getFragmentsEnd() const
HierarchyViewFragment.
Definition: HierarchyViewFragment.hpp:48
HierarchyViewModel.
Definition: HierarchyViewModel.hpp:56
HierarchyViewNode.
Definition: HierarchyViewNode.hpp:48
Atom.
Definition: Atom.hpp:52
boost::dynamic_bitset BitSet
A dynamic bitset class.
Definition: BitSet.hpp:46
The namespace of the Chemical Data Processing Library.