RMF
Toggle main menu visibility
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
15
RMF_ENABLE_WARNINGS
16
namespace
RMF
{
17
namespace
decorator
{
18
/** Test and set whether the node marks the root of a molecule. There
19
is no associated data. */
20
class
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. */
28
class
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 */
35
RMF_DISABLE_WARNINGS
36
37
#endif
/* RMF_DECORATORS_LABELS_H */
Label.h
Declaration of RMF::Label.
RMF::FileConstHandle
A handle for a read-only RMF file.
Definition
FileConstHandle.h:78
RMF::FileHandle
A handle for an RMF file.
Definition
FileHandle.h:54
RMF::decorator
See Decorators and Attributes for more information.
Definition
CoordinateTransformer.h:22
RMF
The namespace for all functionality in the library.
Definition
BufferConstHandle.h:21