File: MoleculeExporter.h

package info (click to toggle)
pymol 2.2.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 43,400 kB
  • sloc: cpp: 482,465; python: 81,253; ansic: 27,428; sh: 94; makefile: 32; csh: 8
file content (23 lines) | stat: -rw-r--r-- 523 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 "unique_vla_ptr.h"

#include "PyMOLGlobals.h"

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

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