meta_objects
index
/home/bolle/Entwicklung/Python/GObjectCreator/gobject_creator/metamodel/meta_objects.py

This file is part of GObjectCreator.
 
GObjectCreator is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
 
GObjectCreator is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
 
You should have received a copy of the GNU General Public License
along with GObjectCreator (see file COPYING). If not, see
<http://www.gnu.org/licenses/>.

 
Classes
       
__builtin__.object
EnumCode
ErrorCode
Extends
Implements
InitProperty
Overwrite
Overwrite
Property
Value
Attr
StaticAttr
Param
ConstructorParam
Result
VarParam
exceptions.Exception(exceptions.BaseException)
DefinitionError
IntfMethodInfo
_Clif(_WithContext, _PackageComponent)
Class
Interface
_PackageComponent(__builtin__.object)
Enumeration(_WithContext, _PackageComponent)
ErrorDomain(_WithContext, _PackageComponent)
_WithContext(__builtin__.object)
Enumeration(_WithContext, _PackageComponent)
ErrorDomain(_WithContext, _PackageComponent)
Method
IntfMethod
Signal
StaticMethod
Constructor
Package

 
class Attr(Value)
    
Method resolution order:
Attr
Value
__builtin__.object

Methods defined here:
__init__(self, inName, inType, inScope=1, inVisi=3, inInitValue=None)

Data descriptors inherited from Value:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
typeObj

 
class Class(_Clif)
    
Method resolution order:
Class
_Clif
_WithContext
_PackageComponent
__builtin__.object

Methods defined here:
__init__(self, inName, inSuperClass=None, inAlias='', inAbstract=False)
Creates a new class.
 
--> inName:         Class name
--> inSuperClass:   Super class instance
--> inAlias:        Alias name. If given the alias name will be used
                    in the prefix of the classes functions instead of
                    the class name
--> inAbstract:     If "True" the class will be defined as abstract
<--                 Class
addAttribute(self, inAttr)
addProperty(self, inProperty)
getMethodInfo(self, inMethodName)
--> inMethodName : Name der Methode
<-- Methode, Implementierende Klasse, Schnittstelle
implement(self, inIntf)
inheritsFrom(self, inOtherClass)
overwrite(self, inMethodName)

Methods inherited from _Clif:
__getattr__(self, inName)
addMethod(self, inMethod)
prefix(self)
typeName(self)

Data descriptors inherited from _Clif:
usesVarArgsMethods

Methods inherited from _WithContext:
__enter__(self)
__exit__(self, inExcType, inExcValue, inTraceback)

Data descriptors inherited from _WithContext:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _PackageComponent:
getAbsoluteName(self)
getPackage(self)

Data descriptors inherited from _PackageComponent:
absoluteName
package

 
class Constructor(StaticMethod)
    
Method resolution order:
Constructor
StaticMethod
Method
_WithContext
__builtin__.object

Methods defined here:
__init__(self)

Methods inherited from Method:
accept(self, inVisitor)
addParam(self, inParam)

Data descriptors inherited from Method:
resultType

Methods inherited from _WithContext:
__enter__(self)
__exit__(self, inExcType, inExcValue, inTraceback)

Data descriptors inherited from _WithContext:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class ConstructorParam(Param)
    
Method resolution order:
ConstructorParam
Param
Value
__builtin__.object

Methods defined here:
BindProperty(self, inPropertyName)
__init__(self, inName, inType)

Data descriptors inherited from Value:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
typeObj

 
class DefinitionError(exceptions.Exception)
    
Method resolution order:
DefinitionError
exceptions.Exception
exceptions.BaseException
__builtin__.object

Data descriptors defined here:
__weakref__
list of weak references to the object (if defined)

Methods inherited from exceptions.Exception:
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Data and other attributes inherited from exceptions.Exception:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__reduce__(...)
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__str__(...)
x.__str__() <==> str(x)
__unicode__(...)

Data descriptors inherited from exceptions.BaseException:
__dict__
args
message

 
class EnumCode(__builtin__.object)
     Methods defined here:
__init__(self, inName, inValue=-1)
codeName(self)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class Enumeration(_WithContext, _PackageComponent)
    
Method resolution order:
Enumeration
_WithContext
_PackageComponent
__builtin__.object

Methods defined here:
__getattr__(self, inName)
__init__(self, inName, inIsFlagType=False)
addCode(self, inCode)
typeName(self)

Methods inherited from _WithContext:
__enter__(self)
__exit__(self, inExcType, inExcValue, inTraceback)

Data descriptors inherited from _WithContext:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _PackageComponent:
getAbsoluteName(self)
getPackage(self)

Data descriptors inherited from _PackageComponent:
absoluteName
package

 
class ErrorCode(__builtin__.object)
     Methods defined here:
__init__(self, inCodeName)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class ErrorDomain(_WithContext, _PackageComponent)
    
Method resolution order:
ErrorDomain
_WithContext
_PackageComponent
__builtin__.object

Methods defined here:
__init__(self, inName)
Creates a new error domain.
 
--> inName: Name of error domain
<--         Error domain
addErrorCode(self, inErrorCode)

Methods inherited from _WithContext:
__enter__(self)
__exit__(self, inExcType, inExcValue, inTraceback)

Data descriptors inherited from _WithContext:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _PackageComponent:
getAbsoluteName(self)
getPackage(self)

Data descriptors inherited from _PackageComponent:
absoluteName
package

 
class Extends(__builtin__.object)
     Methods defined here:
__init__(self, inIntf)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class Implements(__builtin__.object)
     Methods defined here:
__init__(self, inIntf)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class InitProperty(__builtin__.object)
     Methods defined here:
__init__(self, inPropertyName, inPropertyValue)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class Interface(_Clif)
    
Method resolution order:
Interface
_Clif
_WithContext
_PackageComponent
__builtin__.object

Methods defined here:
__init__(self, inName, inAlias='')
Creates a new interface.
 
--> inName:     Interface name
--> inAlias:    Alias name. If given the alias name will be used
                in the prefix of the interface's functions instead of
                the interface name
<--             Interface
addInterface(self, inIntf)
getExtendedIntfs(self, inRecursive=False)
getMethodInfo(self)

Methods inherited from _Clif:
__getattr__(self, inName)
addMethod(self, inMethod)
prefix(self)
typeName(self)

Data descriptors inherited from _Clif:
usesVarArgsMethods

Methods inherited from _WithContext:
__enter__(self)
__exit__(self, inExcType, inExcValue, inTraceback)

Data descriptors inherited from _WithContext:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _PackageComponent:
getAbsoluteName(self)
getPackage(self)

Data descriptors inherited from _PackageComponent:
absoluteName
package

 
class IntfMethod(Method)
    
Method resolution order:
IntfMethod
Method
_WithContext
__builtin__.object

Methods defined here:
__init__(self, inName, inResultType='void', inResultParam=None)

Methods inherited from Method:
accept(self, inVisitor)
addParam(self, inParam)

Data descriptors inherited from Method:
resultType

Methods inherited from _WithContext:
__enter__(self)
__exit__(self, inExcType, inExcValue, inTraceback)

Data descriptors inherited from _WithContext:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class IntfMethodInfo
     Methods defined here:
__cmp__(self, inOther)
__init__(self, inName, inMethod, inDefiningIntf)

 
class Method(_WithContext)
    
Method resolution order:
Method
_WithContext
__builtin__.object

Methods defined here:
__init__(self, inName, inResultType='void', inScope=1, inVisi=3, inVirtual=False, inAbstract=False, inIsSignal=False, inResultParam=None)
accept(self, inVisitor)
addParam(self, inParam)

Data descriptors defined here:
resultType

Methods inherited from _WithContext:
__enter__(self)
__exit__(self, inExcType, inExcValue, inTraceback)

Data descriptors inherited from _WithContext:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Override = class Overwrite(__builtin__.object)
     Methods defined here:
__init__(self, inMethodName)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class Overwrite(__builtin__.object)
     Methods defined here:
__init__(self, inMethodName)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class Package(_WithContext)
    A package contains classes, interfaces, error domains and enumeration types.
Objects in a package can be accessed by the "." notation. If e.g. class "Foo"
is part of package "FooPack" it can be referred to as "FooPack.Foo".
 
 
Method resolution order:
Package
_WithContext
__builtin__.object

Methods defined here:
__getattr__(self, inName)
__init__(self, inName)
Returns a (new) package instance. The package class implements the
multiton pattern: if a package has already been created for the given
name the old and the new instance will share their internal data.
 
--> inName:     Package name
<--             Package
__setattr__(self, inName, inValue)

Methods inherited from _WithContext:
__enter__(self)
__exit__(self, inExcType, inExcValue, inTraceback)

Data descriptors inherited from _WithContext:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class Param(Value)
    
Method resolution order:
Param
Value
__builtin__.object

Methods defined here:
__init__(self, inName, inType)

Data descriptors inherited from Value:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
typeObj

 
class Property(__builtin__.object)
     Methods defined here:
__init__(self, inName, inDescr, inType=3, inAccess=0, inMin=None, inMax=None, inDefault=None, inGObjectType='')

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
varname

 
class Result(Param)
    
Method resolution order:
Result
Param
Value
__builtin__.object

Methods defined here:
__init__(self, inType)

Data descriptors inherited from Value:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
typeObj

 
class Signal(Method)
    
Method resolution order:
Signal
Method
_WithContext
__builtin__.object

Methods defined here:
__init__(self, inName, inResultType='void')
accept(self, inVisitor)

Methods inherited from Method:
addParam(self, inParam)

Data descriptors inherited from Method:
resultType

Methods inherited from _WithContext:
__enter__(self)
__exit__(self, inExcType, inExcValue, inTraceback)

Data descriptors inherited from _WithContext:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class StaticAttr(Attr)
    
Method resolution order:
StaticAttr
Attr
Value
__builtin__.object

Methods defined here:
__init__(self, inName, inType, inVisi=3, inInitValue=None)

Data descriptors inherited from Value:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
typeObj

 
class StaticMethod(Method)
    
Method resolution order:
StaticMethod
Method
_WithContext
__builtin__.object

Methods defined here:
__init__(self, inName, inResultType='void', inVisi=3, inResultParam=None)

Methods inherited from Method:
accept(self, inVisitor)
addParam(self, inParam)

Data descriptors inherited from Method:
resultType

Methods inherited from _WithContext:
__enter__(self)
__exit__(self, inExcType, inExcValue, inTraceback)

Data descriptors inherited from _WithContext:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class Value(__builtin__.object)
     Methods defined here:
__init__(self, inName, inType)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
typeObj

 
class VarParam(Param)
    
Method resolution order:
VarParam
Param
Value
__builtin__.object

Methods defined here:
__init__(self)

Data descriptors inherited from Value:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
typeObj

 
Data
        INSTANCE = 1
PRIVATE = 3
PROP_ACCESS_CONSTRUCTOR = 1
PROP_ACCESS_READ = 0
PROP_ACCESS_READ_WRITE = 2
PROP_BOOLEAN = 0
PROP_DOUBLE = 2
PROP_INT = 1
PROP_OBJECT = 5
PROP_POINTER = 4
PROP_STRING = 3
PROTECTED = 2
PUBLIC = 1
STATIC = 2