pyanatomist 6.0.0
objectmenu.h
Go to the documentation of this file.
1
2
3/* This software and supporting documentation are distributed by
4 * Institut Federatif de Recherche 49
5 * CEA/NeuroSpin, Batiment 145,
6 * 91191 Gif-sur-Yvette cedex
7 * France
8 *
9 * This software is governed by the CeCILL license version 2 under
10 * French law and abiding by the rules of distribution of free software.
11 * You can use, modify and/or redistribute the software under the
12 * terms of the CeCILL license version 2 as circulated by CEA, CNRS
13 * and INRIA at the following URL "http://www.cecill.info".
14 *
15 * As a counterpart to the access to the source code and rights to copy,
16 * modify and redistribute granted by the license, users are provided only
17 * with a limited warranty and the software's author, the holder of the
18 * economic rights, and the successive licensors have only limited
19 * liability.
20 *
21 * In this respect, the user's attention is drawn to the risks associated
22 * with loading, using, modifying and/or developing or reproducing the
23 * software by the user in light of its specific status of free software,
24 * that may mean that it is complicated to manipulate, and that also
25 * therefore means that it is reserved for developers and experienced
26 * professionals having in-depth computer knowledge. Users are therefore
27 * encouraged to load and test the software's suitability as regards their
28 * requirements in conditions enabling the security of their systems and/or
29 * data to be ensured and, more generally, to use and operate it in the
30 * same conditions as regards security.
31 *
32 * The fact that you are presently reading this means that you have had
33 * knowledge of the CeCILL license version 2 and that you accept its terms.
34 */
35#ifndef PYANATOMIST_OBJECTMENU_H
36#define PYANATOMIST_OBJECTMENU_H
37
38#include <anatomist/object/Object.h>
39
41{
42 return sipConvertFromType( a, sipType_anatomist_ObjectMenu, 0 );
43}
44
45
47{
48 return sipConvertFromType( a, sipType_anatomist_ObjectMenu, 0 );
49}
50
51
53{
54 return sipConvertFromType( a, sipType_rc_ptr_ObjectMenu, 0 );
55}
56
57
59{
60 int isErr = 0;
61 return sipConvertToType( o, sipType_anatomist_ObjectMenu, 0, 0, 0,
62 &isErr );
63}
64
65
67{
68 int isErr = 0;
69 return sipConvertToType( o, sipType_anatomist_ObjectMenu, 0, 0, 0,
70 &isErr );
71}
72
73
75{
76 int isErr = 0;
77 return sipConvertToType( o, sipType_rc_ptr_ObjectMenu, 0, 0,
78 0, &isErr );
79}
80
81
82inline int pyanatomistObjectMenu_Check( PyObject* o )
83{
84 return sipCanConvertToType( o, sipType_anatomist_ObjectMenu,
85 SIP_NOT_NONE | SIP_NO_CONVERTORS );
86}
87
88
89inline int pyanatomistObjectMenuP_Check( PyObject* o )
90{
91 return sipCanConvertToType( o, sipType_anatomist_ObjectMenu,
92 SIP_NOT_NONE | SIP_NO_CONVERTORS );
93}
94
95
96inline int pyanatomistObjectMenuR_Check( PyObject* o )
97{
98 return sipCanConvertToType( o, sipType_rc_ptr_ObjectMenu,
99 SIP_NOT_NONE | SIP_NO_CONVERTORS );
100}
101
102#endif
103
PyObject * pyanatomistConvertFrom_anatomist_ObjectMenu(void *a)
Definition objectmenu.h:40
void * pyanatomistConvertTo_anatomist_ObjectMenu(PyObject *o)
Definition objectmenu.h:58
void * pyanatomistConvertTo_anatomist_ObjectMenuP(PyObject *o)
Definition objectmenu.h:66
int pyanatomistObjectMenuP_Check(PyObject *o)
Definition objectmenu.h:89
PyObject * pyanatomistConvertFrom_anatomist_ObjectMenuP(void *a)
Definition objectmenu.h:46
int pyanatomistObjectMenuR_Check(PyObject *o)
Definition objectmenu.h:96
PyObject * pyanatomistConvertFrom_anatomist_ObjectMenuR(void *a)
Definition objectmenu.h:52
void * pyanatomistConvertTo_anatomist_ObjectMenuR(PyObject *o)
Definition objectmenu.h:74
int pyanatomistObjectMenu_Check(PyObject *o)
Definition objectmenu.h:82