~thomir-deactivatedaccount/cegui/fix-build

« back to all changes in this revision

Viewing changes to cegui/src/ScriptingModules/PythonScriptModule/bindings/output/CEGUI/Scheme.pypp.cpp

  • Committer: Thomi Richards
  • Date: 2013-02-06 22:13:36 UTC
  • Revision ID: thomi.richards@canonical.com-20130206221336-rsmud4k50g6nzv50
InitialĀ codeĀ import.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// This file has been generated by Py++.
 
2
 
 
3
#include "boost/python.hpp"
 
4
#include "python_CEGUI.h"
 
5
#include "Scheme.pypp.hpp"
 
6
 
 
7
namespace bp = boost::python;
 
8
 
 
9
void register_Scheme_class(){
 
10
 
 
11
    { //::CEGUI::Scheme
 
12
        typedef bp::class_< CEGUI::Scheme, boost::noncopyable > Scheme_exposer_t;
 
13
        Scheme_exposer_t Scheme_exposer = Scheme_exposer_t( "Scheme", "*!\n\
 
14
        \n\
 
15
           A class that groups a set of GUI elements and initialises the system to access those elements.\n\
 
16
        \n\
 
17
           A GUI Scheme is a high-level construct that loads and initialises various lower-level objects\n\
 
18
           and registers them within the system for usage.  So, for example, a Scheme might create some\n\
 
19
           Imageset objects, some Font objects, and register a collection of WindowFactory objects within\n\
 
20
           the system which would then be in a state to serve those elements to client code.\n\
 
21
        *\n", bp::no_init );
 
22
        bp::scope Scheme_scope( Scheme_exposer );
 
23
        { //::CEGUI::Scheme::getDefaultResourceGroup
 
24
        
 
25
            typedef ::CEGUI::String const & ( *getDefaultResourceGroup_function_type )(  );
 
26
            
 
27
            Scheme_exposer.def( 
 
28
                "getDefaultResourceGroup"
 
29
                , getDefaultResourceGroup_function_type( &::CEGUI::Scheme::getDefaultResourceGroup )
 
30
                , bp::return_value_policy< bp::copy_const_reference >()
 
31
                , "*!\n\
 
32
                \n\
 
33
                    Returns the default resource group currently set for Schemes.\n\
 
34
            \n\
 
35
                @return\n\
 
36
                    String describing the default resource group identifier that will be\n\
 
37
                    used when loading Scheme xml file data.\n\
 
38
                *\n" );
 
39
        
 
40
        }
 
41
        { //::CEGUI::Scheme::getName
 
42
        
 
43
            typedef ::CEGUI::String const & ( ::CEGUI::Scheme::*getName_function_type )(  ) const;
 
44
            
 
45
            Scheme_exposer.def( 
 
46
                "getName"
 
47
                , getName_function_type( &::CEGUI::Scheme::getName )
 
48
                , bp::return_value_policy< bp::copy_const_reference >()
 
49
                , "*!\n\
 
50
               \n\
 
51
                  Return the name of this Scheme.\n\
 
52
            \n\
 
53
               @return\n\
 
54
                  String object containing the name of this Scheme.\n\
 
55
               *\n" );
 
56
        
 
57
        }
 
58
        { //::CEGUI::Scheme::loadResources
 
59
        
 
60
            typedef void ( ::CEGUI::Scheme::*loadResources_function_type )(  ) ;
 
61
            
 
62
            Scheme_exposer.def( 
 
63
                "loadResources"
 
64
                , loadResources_function_type( &::CEGUI::Scheme::loadResources )
 
65
                , "*!\n\
 
66
               \n\
 
67
                  Loads all resources for this scheme.\n\
 
68
            \n\
 
69
               @return\n\
 
70
                  Nothing.\n\
 
71
               *\n" );
 
72
        
 
73
        }
 
74
        { //::CEGUI::Scheme::resourcesLoaded
 
75
        
 
76
            typedef bool ( ::CEGUI::Scheme::*resourcesLoaded_function_type )(  ) const;
 
77
            
 
78
            Scheme_exposer.def( 
 
79
                "resourcesLoaded"
 
80
                , resourcesLoaded_function_type( &::CEGUI::Scheme::resourcesLoaded )
 
81
                , "*!\n\
 
82
               \n\
 
83
                  Return whether the resources for this Scheme are all loaded.\n\
 
84
            \n\
 
85
               @return\n\
 
86
                  true if all resources for the Scheme are loaded and available, or false of one or more\
 
87
                  resource is not currently loaded.\n\
 
88
               *\n" );
 
89
        
 
90
        }
 
91
        { //::CEGUI::Scheme::setDefaultResourceGroup
 
92
        
 
93
            typedef void ( *setDefaultResourceGroup_function_type )( ::CEGUI::String const & );
 
94
            
 
95
            Scheme_exposer.def( 
 
96
                "setDefaultResourceGroup"
 
97
                , setDefaultResourceGroup_function_type( &::CEGUI::Scheme::setDefaultResourceGroup )
 
98
                , ( bp::arg("resourceGroup") )
 
99
                , "*!\n\
 
100
                \n\
 
101
                    Sets the default resource group to be used when loading scheme xml data\n\
 
102
            \n\
 
103
                @param resourceGroup\n\
 
104
                    String describing the default resource group identifier to be used.\n\
 
105
            \n\
 
106
                @return\n\
 
107
                    Nothing.\n\
 
108
                *\n" );
 
109
        
 
110
        }
 
111
        { //::CEGUI::Scheme::unloadResources
 
112
        
 
113
            typedef void ( ::CEGUI::Scheme::*unloadResources_function_type )(  ) ;
 
114
            
 
115
            Scheme_exposer.def( 
 
116
                "unloadResources"
 
117
                , unloadResources_function_type( &::CEGUI::Scheme::unloadResources )
 
118
                , "*!\n\
 
119
               \n\
 
120
                  Unloads all resources for this scheme.  This should be used very carefully.\n\
 
121
            \n\
 
122
               @return\n\
 
123
                  Nothing.\n\
 
124
               *\n" );
 
125
        
 
126
        }
 
127
        Scheme_exposer.staticmethod( "getDefaultResourceGroup" );
 
128
        Scheme_exposer.staticmethod( "setDefaultResourceGroup" );
 
129
    }
 
130
 
 
131
}