File: MoleculeExporter.h

package info (click to toggle)
pymol 2.4.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 43,312 kB
  • sloc: cpp: 480,106; python: 79,860; ansic: 28,343; javascript: 6,792; sh: 47; makefile: 30; csh: 8
file content (23 lines) | stat: -rw-r--r-- 508 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=-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);