org.ogre4j
Interface IScriptCompiler

All Superinterfaces:
IAllocatedObject<IScriptingAllocPolicy>, INativeObject, IScriptingAllocatedObject
All Known Subinterfaces:
ICompositorScriptCompiler2, IParticleScriptCompiler
All Known Implementing Classes:
CompositorScriptCompiler2, ParticleScriptCompiler, ScriptCompiler

public interface IScriptCompiler
extends INativeObject, IScriptingAllocatedObject


Nested Class Summary
static interface IScriptCompiler.IAbstractTreeBuilder
           
static interface IScriptCompiler.IEnvironment
           
static interface IScriptCompiler.IError
           
static interface IScriptCompiler.IErrorList
           
static interface IScriptCompiler.IErrorPtr
           
static interface IScriptCompiler.IIdMap
           
static interface IScriptCompiler.IImportCacheMap
           
static interface IScriptCompiler.IImportRequestMap
           
 
Method Summary
 boolean _compile(IAbstractNodeListPtr nodes, java.lang.String group)
           
 void _fireCreateObject(IAny returnValue, java.lang.String type, Ivector<IAny> args)
           
 boolean _fireEvent(java.lang.String name, Ivector<IAny> args, IAny retval)
           
 void addError(long code, java.lang.String file, int line, java.lang.String msg)
           
 void addNameExclusion(java.lang.String type)
          Name exclusions identify object types which cannot accept names.
 boolean compile(IConcreteNodeListPtr nodes, java.lang.String group)
           
 boolean compile(java.lang.String str, java.lang.String source, java.lang.String group)
           
 IScriptCompilerListener getListener()
           
 java.lang.String getResourceGroup()
           
 void removeNameExclusion(java.lang.String type)
           
 void setListener(IScriptCompilerListener listener)
           
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

compile

boolean compile(java.lang.String str,
                java.lang.String source,
                java.lang.String group)

compile

boolean compile(IConcreteNodeListPtr nodes,
                java.lang.String group)

_compile

boolean _compile(IAbstractNodeListPtr nodes,
                 java.lang.String group)

addError

void addError(long code,
              java.lang.String file,
              int line,
              java.lang.String msg)

setListener

void setListener(IScriptCompilerListener listener)

getListener

IScriptCompilerListener getListener()

getResourceGroup

java.lang.String getResourceGroup()

addNameExclusion

void addNameExclusion(java.lang.String type)
Name exclusions identify object types which cannot accept names. This means that excluded types will always have empty names. All values in the object header are stored as object values.


removeNameExclusion

void removeNameExclusion(java.lang.String type)

_fireEvent

boolean _fireEvent(java.lang.String name,
                   Ivector<IAny> args,
                   IAny retval)

_fireCreateObject

void _fireCreateObject(IAny returnValue,
                       java.lang.String type,
                       Ivector<IAny> args)


Copyright © 2007 netAllied GmbH. All Rights Reserved.