File: VersionInfo.pxd

package info (click to toggle)
openms 1.11.1-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 436,688 kB
  • ctags: 150,907
  • sloc: cpp: 387,126; xml: 71,547; python: 7,764; ansic: 2,626; php: 2,499; sql: 737; ruby: 342; sh: 325; makefile: 128
file content (33 lines) | stat: -rw-r--r-- 1,128 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
24
25
26
27
28
29
30
31
32
33
from libcpp cimport bool
from String cimport *
from Types cimport *

cdef extern from "<OpenMS/CONCEPT/VersionInfo.h>" namespace "OpenMS":

    cdef cppclass VersionInfo:
        pass

cdef extern from "<OpenMS/CONCEPT/VersionInfo.h>" namespace "OpenMS::VersionInfo":

    cdef cppclass VersionDetails:
        Int version_major
        Int version_minor
        Int version_patch
        # VersionDetails EMPTY

        VersionDetails() nogil except +
        VersionDetails(VersionDetails) nogil except +   #wrap-ignore
        bool operator<(VersionDetails) nogil except +
        bool operator==(VersionDetails) nogil except +
        bool operator>(VersionDetails) nogil except +

    VersionDetails getVersionStruct() nogil except +  #wrap-attach:VersionInfo
    String getVersion()  nogil except +  #wrap-attach:VersionInfo
    String getTime()     nogil except +  #wrap-attach:VersionInfo
    String getRevision() nogil except +  #wrap-attach:VersionInfo

cdef extern from "<OpenMS/CONCEPT/VersionInfo.h>" namespace "OpenMS::VersionInfo::VersionDetails":

    VersionDetails create(String) #wrap-attach:VersionDetails