File: MoleculeExporter.h

package info (click to toggle)
pymol 2.5.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 42,288 kB
  • sloc: cpp: 476,472; python: 76,538; ansic: 29,510; javascript: 6,792; sh: 47; makefile: 24
file content (23 lines) | stat: -rw-r--r-- 530 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Molecular file formats export
 *
 * (c) 2016 Schrodinger, Inc.
 */

#include "os_python.h"
#include "os_std.h"
#include "vla.h"

#include "PyMOLGlobals.h"

pymol::vla<char> MoleculeExporterGetStr(PyMOLGlobals * G,
    const char *format,
    const char *sele="all",
    int state = cStateCurrent, // current (-1 in Python API)
    const char *ref_object="",
    int ref_state = cStateAll,
    int multi=-1,
    bool quiet=true);

PyObject *MoleculeExporterGetPyBonds(PyMOLGlobals * G,
    const char *selection, int state);