Back to index

salome-kernel  6.5.0
Public Member Functions | Public Attributes | Static Public Attributes
KERNEL_PY.salome_notebook.PseudoStudyForNoteBook Class Reference

List of all members.

Public Member Functions

def __init__
def GetVariableNames
def IsVariable
def IsReal
def IsString
def GetString
def GetReal

Public Attributes

 kwargs

Static Public Attributes

 IsInteger = IsReal
 IsBoolean = IsReal
 GetInteger = GetReal
 GetBoolean = GetReal

Detailed Description

Definition at line 32 of file salome_notebook.py.


Constructor & Destructor Documentation

Definition at line 34 of file salome_notebook.py.

00034 
00035     def __init__(self, **kwargs):
00036         self.kwargs = kwargs
00037         pass
    

Member Function Documentation

Definition at line 62 of file salome_notebook.py.

00062 
00063     def GetReal(self, variableName):
00064         return float(self.kwargs[variableName])
    

Definition at line 59 of file salome_notebook.py.

00059 
00060     def GetString(self, variableName):
00061         return self.kwargs[variableName]
    

Definition at line 38 of file salome_notebook.py.

00038 
00039     def GetVariableNames(self):
00040         return self.kwargs.keys()
    
def KERNEL_PY.salome_notebook.PseudoStudyForNoteBook.IsReal (   self,
  variableName 
)

Definition at line 44 of file salome_notebook.py.

00044 
00045     def IsReal(self, variableName):
00046         val = self.kwargs[variableName]
00047         try:
00048             float(val)
00049             return True
00050         except:
00051             pass
00052         return False
    

Here is the caller graph for this function:

Definition at line 56 of file salome_notebook.py.

00056 
00057     def IsString(self, variableName):
00058         return not self.IsReal(variableName)
    

Here is the call graph for this function:

Definition at line 41 of file salome_notebook.py.

00041 
00042     def IsVariable(self, variableName):
00043         return variableName in self.kwargs
    

Member Data Documentation

Definition at line 66 of file salome_notebook.py.

Definition at line 65 of file salome_notebook.py.

Definition at line 54 of file salome_notebook.py.

Definition at line 53 of file salome_notebook.py.

Definition at line 35 of file salome_notebook.py.


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