Example #1
0
 def __init__(self,tb_name,style='sys') :
     Nt2_base_infos.__init__(self)
     Nt2_tb_struct.__init__(self)
     self.tb_name = tb_name
     self.style = style
     self.primary_abs_tb_path = os.path.join(self.get_toolboxes_path(),tb_name)
     self.secundary_abs_tb_path = os.path.join(self.primary_abs_tb_path,'include','nt2','toolbox',tb_name)
     self.part = ""
Example #2
0
 def __init__(self, tb_name, style='sys'):
     Nt2_base_infos.__init__(self)
     Nt2_tb_struct.__init__(self)
     self.tb_name = tb_name
     self.style = style
     self.primary_abs_tb_path = os.path.join(self.get_toolboxes_path(),
                                             tb_name)
     self.secundary_abs_tb_path = os.path.join(self.primary_abs_tb_path,
                                               'include', 'nt2', 'toolbox',
                                               tb_name)
     self.part = ""
Example #3
0
 def __init__(self, path, name,
              ext = '.hpp',
              inner = None,
              banner = None,
              guard_begin = None,
              guard_end = None,
              year = None,
              comment ='//',
              fill = None
              ) :
     Nt2_base_infos.__init__(self)
     Banner.__init__(self, year, banner,comment=comment)
     Guard.__init__(self,path,name,ext=ext,
                    guard_begin=guard_begin,
                    guard_end=guard_end)
     self.__inner = Headers.inner_text if (inner is None) else inner
     self.__comment = comment
     self.__fill = comment[0] if fill == None else fill
Example #4
0
 def __init__(self, path, name,
              ext = '.hpp',
              inner = None,
              banner = None,
              guard_begin = None,
              guard_end = None,
              year = None,
              comment ='//',
              fill = None
              ) :
     Nt2_base_infos.__init__(self)
     Banner.__init__(self, year, banner,comment=comment)
     Guard.__init__(self,path,name,ext=ext,
                    guard_begin=guard_begin,
                    guard_end=guard_end)
     self.__inner = Headers.inner_text if (inner is None) else inner
     self.__comment = comment
     self.__fill = comment[0] if fill == None else fill
Example #5
0
 def __init__(self, tb_name) :
     Nt2_base_infos.__init__(self)
     Nt2_tb_struct.__init__(self)
     self.__tb_name = tb_name
     self.__tb_path = os.path.join(self.get_nt2_path(),'nt2/toolbox',tb_name)
     self.__tb_style = self. __read_style()
Example #6
0
 def __init__(self) :
     Nt2_base_infos.__init__(self)
Example #7
0
 def __init__(self):
     Nt2_base_infos.__init__(self)