#import EmcArray # EmcArray.py
#import iostream # The rest of the EmcArray.cc file
class X :
def __init__(self):
pass #self.aM = A()
def returnA(self):
pass #return self.aM
def withAParameter(self,a):
pass #self.aM = a
class Y :
def __init__(self):
pass #self.bM = B()
def returnBPtr(self):
pass #return self.aM
def withAParameter(self,b):
pass #self.bM = a
def module_exists(module_name):
try:
__import__(module_name)
except ImportError:
return False
else:
return True
def cStr(cpM):
return cpM
def max_(x,y):
if x > y:
return x
return y
def function(i,j):
m = max_(i,j) # must instantiate max(int,int)
print m
function(5,10)
class EmcQueue:
def __init__(self):
pass
def insert(self,t):
pass
q = EmcQueue()
q.insert(42);
class EmcQueue:
pass