1
// This file has been generated by Py++.
3
#include "boost/python.hpp"
4
#include "python_CEGUI.h"
5
#include "Scheme.pypp.hpp"
7
namespace bp = boost::python;
9
void register_Scheme_class(){
12
typedef bp::class_< CEGUI::Scheme, boost::noncopyable > Scheme_exposer_t;
13
Scheme_exposer_t Scheme_exposer = Scheme_exposer_t( "Scheme", "*!\n\
15
A class that groups a set of GUI elements and initialises the system to access those elements.\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\
22
bp::scope Scheme_scope( Scheme_exposer );
23
{ //::CEGUI::Scheme::getDefaultResourceGroup
25
typedef ::CEGUI::String const & ( *getDefaultResourceGroup_function_type )( );
28
"getDefaultResourceGroup"
29
, getDefaultResourceGroup_function_type( &::CEGUI::Scheme::getDefaultResourceGroup )
30
, bp::return_value_policy< bp::copy_const_reference >()
33
Returns the default resource group currently set for Schemes.\n\
36
String describing the default resource group identifier that will be\n\
37
used when loading Scheme xml file data.\n\
41
{ //::CEGUI::Scheme::getName
43
typedef ::CEGUI::String const & ( ::CEGUI::Scheme::*getName_function_type )( ) const;
47
, getName_function_type( &::CEGUI::Scheme::getName )
48
, bp::return_value_policy< bp::copy_const_reference >()
51
Return the name of this Scheme.\n\
54
String object containing the name of this Scheme.\n\
58
{ //::CEGUI::Scheme::loadResources
60
typedef void ( ::CEGUI::Scheme::*loadResources_function_type )( ) ;
64
, loadResources_function_type( &::CEGUI::Scheme::loadResources )
67
Loads all resources for this scheme.\n\
74
{ //::CEGUI::Scheme::resourcesLoaded
76
typedef bool ( ::CEGUI::Scheme::*resourcesLoaded_function_type )( ) const;
80
, resourcesLoaded_function_type( &::CEGUI::Scheme::resourcesLoaded )
83
Return whether the resources for this Scheme are all loaded.\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\
91
{ //::CEGUI::Scheme::setDefaultResourceGroup
93
typedef void ( *setDefaultResourceGroup_function_type )( ::CEGUI::String const & );
96
"setDefaultResourceGroup"
97
, setDefaultResourceGroup_function_type( &::CEGUI::Scheme::setDefaultResourceGroup )
98
, ( bp::arg("resourceGroup") )
101
Sets the default resource group to be used when loading scheme xml data\n\
103
@param resourceGroup\n\
104
String describing the default resource group identifier to be used.\n\
111
{ //::CEGUI::Scheme::unloadResources
113
typedef void ( ::CEGUI::Scheme::*unloadResources_function_type )( ) ;
117
, unloadResources_function_type( &::CEGUI::Scheme::unloadResources )
120
Unloads all resources for this scheme. This should be used very carefully.\n\
127
Scheme_exposer.staticmethod( "getDefaultResourceGroup" );
128
Scheme_exposer.staticmethod( "setDefaultResourceGroup" );