Peach::Analyzers::pprelations::PPRelationFinder Class Reference

PPRelationFinder(Analyzer). More...

Inherits Peach::analyzer::Analyzer.

List of all members.

Public Member Functions

def __init__
 Constructor of PPRelationFinder.
def containsValue
 Checks whether the source string contains any of specified values.
def findRelatedElement
 Tries to find an element related to the actual element(matching size).
def getRelatedElement
 Tries to return an element related to the actual element, if it exists.
def findRelInElement
 Tries to find any relations in the actual element and its subelements.
def findRelations
 Tries to find any relations in the whole datamodel.

Private Attributes

 _relationValues


Detailed Description

PPRelationFinder(Analyzer).

This class represents an analyzer of relations between different fields in the dissected data structure.

Author:
Jan Stanek

Member Function Documentation

def Peach::Analyzers::pprelations::PPRelationFinder::__init__ (   self  ) 

Constructor of PPRelationFinder.

Parameters:
self object pointer

def Peach::Analyzers::pprelations::PPRelationFinder::containsValue (   self,
  mystr,
  values 
)

Checks whether the source string contains any of specified values.

Parameters:
self object pointer
mystr source string
values list of values for which we are looking

def Peach::Analyzers::pprelations::PPRelationFinder::findRelatedElement (   self,
  recElement,
  callingChild,
  findSize 
)

Tries to find an element related to the actual element(matching size).

Parameters:
self object pointer
recElement the element we try to match with the actual element
callingChild the child element that calle this function
findSize value of the size we are looking for

def Peach::Analyzers::pprelations::PPRelationFinder::findRelations (   self,
  myDataModel 
)

Tries to find any relations in the whole datamodel.

Parameters:
self object pointer
myDataModel the data model in which we are looking for relations

def Peach::Analyzers::pprelations::PPRelationFinder::findRelInElement (   self,
  recElement 
)

Tries to find any relations in the actual element and its subelements.

Parameters:
self object pointer
recElement the actual element

def Peach::Analyzers::pprelations::PPRelationFinder::getRelatedElement (   self,
  recElement 
)

Tries to return an element related to the actual element, if it exists.

Parameters:
self object pointer
recElement the element we try to match with the actual element


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Sat Sep 4 18:13:54 2010 for HotFuzz by  doxygen 1.5.8