5 #ifndef BALL_KERNEL_ATOMCONTAINER_H
6 #define BALL_KERNEL_ATOMCONTAINER_H
8 #ifndef BALL_KERNEL_ATOMITERATOR_H
12 #ifndef BALL_KERNEL_ATOMCONTAINERITERATOR_H
16 #define BALL_ATOMCONTAINER_DEFAULT_NAME ""
45 NUMBER_OF_PROPERTIES = 0
82 virtual void destroy();
110 void set(
const AtomContainer& atom_container,
bool deep =
true);
125 void get(
AtomContainer& atom_container,
bool deep =
true)
const;
155 void setName(
const String& name);
220 const Atom* getAtom(
const String& name)
const;
225 Size countAtomContainers()
const;
230 Size countAtoms()
const;
235 Size countBonds()
const;
240 Size countInterBonds()
const;
245 Size countIntraBonds()
const;
250 void prepend(
Atom& atom);
255 void append(
Atom& atom);
260 void insert(
Atom& atom);
277 bool remove(
Atom& atom);
281 Size removeHavingProperty(
const string& name);
282 Size removeNotHavingProperty(
const string& name);
353 bool isSubAtomContainerOf(
const AtomContainer& atom_container)
const;
358 bool isSuperAtomContainerOf(
const AtomContainer& atom_container)
const;
370 virtual bool isValid()
const;
378 virtual void dump(std::ostream& s = std::cout,
Size depth = 0)
const;
411 #endif // BALL_KERNEL_ATOMCONTAINER_H
#define BALL_KERNEL_DEFINE_ITERATOR_CREATORS(Type)
BALL_EXPORT AtomList atoms(const AtomContainer &fragment, const String &expression=String())
Property
The number of predefined properties for AtomContainer.
BALL_EXPORT bool operator!=(const String &s1, const String &s2)
#define BALL_CREATE_DEEP(name)
#define BALL_DECLARE_STD_ITERATOR_WRAPPER(container, type, method_name)
BALL_EXPORT bool operator==(const String &s1, const String &s2)
BALL_EXPORT AtomContainerList atomContainers(const AtomContainer &fragment, bool selected_only=false)