Package gavo :: Package protocols :: Module scs :: Class SCSCore
[frames] | no frames]

Class SCSCore

source code

                   object --+                        
                            |                        
 base.structure.StructureBase --+                    
                                |                    
                   object --+   |                    
                            |   |                    
           base.common.Parser --+                    
                                |                    
base.structure.ParseableStructure --+                
                                    |                
             base.structure.Structure --+            
                                        |            
                           svcs.core.Core --+        
                                            |        
            svcs.standardcores.TableBasedCore --+    
                                                |    
                        svcs.standardcores.DBCore --+
                                                    |
                                                   SCSCore

A core performing cone searches.

This will, if it finds input parameters it can make out a position from, add a _r column giving the distance between the match center and the columns that a cone search will match against.

If any of the conditions for adding _r aren't met, this will silently degrade to a plain DBCore.

You will almost certainly want a:

       <FEED source="//scs#coreDescs"/>

in the body of this (in addition to whatever other custom conditions you may have).

Nested Classes

Inherited from base.structure.StructureBase: __metaclass__

Instance Methods
 
onElementComplete(self) source code
 
clearProperty(self, name) source code
 
getFullId(self) source code
 
getProperty(self, name, default=<Undefined>) source code
 
hasProperty(self, name) source code
 
resolveName(instance, context, id) source code
 
setProperty(self, name, value) source code

Inherited from svcs.standardcores.DBCore: getQueryCols, run, wantsTableWidget

Inherited from svcs.standardcores.TableBasedCore: adaptForRenderer, completeElement

Inherited from svcs.core.Core: __init__, __repr__, __str__, initialize, makeUserDoc

Inherited from base.structure.Structure: __provides__, callCompletedCallbacks, finishElement, validate

Inherited from base.structure.ParseableStructure: end_, feed, feedFrom, feedObject, getAttribute, iterEvents, start_, value_

Inherited from base.structure.StructureBase: __providedBy__, adopt, breakCircles, change, copy, getAttributes, getCopyableAttributes, getSourcePosition, iterChildren, setPosition

Inherited from base.common.Parser: feedEvent

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods

Inherited from base.structure.StructureBase: fromStructure

Class Variables
  name_ = 'scsCore'
a sentinel for all kinds of undefined values.

Inherited from svcs.standardcores.DBCore: attrSeq, managedAttrs

Inherited from svcs.core.Core: inputTableXML, outputTableXML

Inherited from base.structure.Structure: __implemented__

Inherited from base.structure.StructureBase: completedCallbacks

Properties
  rd

Inherited from object: __class__

Method Details

onElementComplete(self)

source code 
Overrides: base.structure.Structure.onElementComplete

clearProperty(self, name)

source code 
Overrides: svcs.core.Core.clearProperty

getFullId(self)

source code 
Overrides: svcs.core.Core.getFullId

getProperty(self, name, default=<Undefined>)

source code 
Overrides: svcs.core.Core.getProperty

hasProperty(self, name)

source code 
Overrides: svcs.core.Core.hasProperty

resolveName(instance, context, id)

source code 
Overrides: svcs.standardcores.TableBasedCore.resolveName

setProperty(self, name, value)

source code 
Overrides: svcs.core.Core.setProperty

Property Details

rd

Get Method:
unreachable._getRD(self)