RMF
labels.h
Go to the documentation of this file.
1/**
2 * \file RMF/decorator/labels.h
3 * \brief Helper functions for manipulating RMF files.
4 *
5 * Copyright 2007-2022 IMP Inventors. All rights reserved.
6 *
7 */
8
9#ifndef RMF_DECORATORS_LABELS_H
10#define RMF_DECORATORS_LABELS_H
11
12#include <RMF/config.h>
13#include <RMF/Label.h>
14
15RMF_ENABLE_WARNINGS
16namespace RMF {
17namespace decorator {
18/** Test and set whether the node marks the root of a molecule. There
19 is no associated data. */
20class RMFEXPORT Molecule : public Label {
21 public:
22 Molecule(FileConstHandle fh) : Label(fh, "sequence", "molecule") {}
23 Molecule(FileHandle fh) : Label(fh, "sequence", "molecule") {}
24};
25
26/** Test and set whether the node marks the root of a assembly. There
27 is no associated data. */
28class RMFEXPORT Assembly : public Label {
29 public:
30 Assembly(FileConstHandle fh) : Label(fh, "sequence", "molecule") {}
31 Assembly(FileHandle fh) : Label(fh, "sequence", "molecule") {}
32};
33} /* namespace decorator */
34} /* namespace RMF */
35RMF_DISABLE_WARNINGS
36
37#endif /* RMF_DECORATORS_LABELS_H */
Declaration of RMF::Label.
A handle for a read-only RMF file.
A handle for an RMF file.
Definition FileHandle.h:54
See Decorators and Attributes for more information.
The namespace for all functionality in the library.