Device Detection services for 51Degrees Pipeline

fiftyone_devicedetection_onpremise.swig_data.SwigData Class Reference

Detailed Description

Extention of AspectData made for retrieving results created by the SWIG wrapper of the On Premise Device Detection engine.

Inheritance diagram for fiftyone_devicedetection_onpremise.swig_data.SwigData:

[legend]

Collaboration diagram for fiftyone_devicedetection_onpremise.swig_data.SwigData:

[legend]

Public Member Functions

 __init__ (self, flow_element, swig_results)
 Constructor for swig_data @type flow_element: FlowElement.
 close (self)
 Release the native results, which keep the engine's data in memory while they are held, even after the engine is closed.
 get (self, key)
 Get a property value, once the results are known to be open @type key: string.
 get_internal (self, key)
 Get property values out of the SWIG wrapper @type key: string.

Public Member Functions inherited from fiftyone_pipeline_engines::aspectdata::AspectData

 __init__ (self, flow_element)
 get (self, key)

Public Attributes

 swig_results = swig_results

Public Attributes inherited from fiftyone_pipeline_engines::aspectdata::AspectData

 missing_property_service

Constructor & Destructor Documentation

◆ __init__()

fiftyone_devicedetection_onpremise.swig_data.SwigData.__init__ ( self,
flow_element,
swig_results )

Constructor for swig_data @type flow_element: FlowElement.

Parameters
flow_elementFlowElement / Engine the data is keyed under @type swig_results: ResultsHashSwig
swig_resultsResults from the SWIG wrapper's process method

Member Function Documentation

◆ close()

fiftyone_devicedetection_onpremise.swig_data.SwigData.close ( self)

Release the native results, which keep the engine's data in memory while they are held, even after the engine is closed.

Values already read are unaffected, and reading a property afterwards raises an exception. Closing the FlowData closes its results.

◆ get()

fiftyone_devicedetection_onpremise.swig_data.SwigData.get ( self,
key )

Get a property value, once the results are known to be open @type key: string.

Parameters
keyThe key of the property to retrieve
Returns
mixed

◆ get_internal()

fiftyone_devicedetection_onpremise.swig_data.SwigData.get_internal ( self,
key )

Get property values out of the SWIG wrapper @type key: string.

Parameters
keyThe key of the property to retrieve
Returns
mixed

Member Data Documentation

◆ swig_results

fiftyone_devicedetection_onpremise.swig_data.SwigData.swig_results = swig_results