#!/bin/env python
#===============================================================================
# NAME: ComponentHVisitor.py
#
# DESCRIPTION: A visitor for generating component header files
#
# AUTHOR: bocchino
# EMAIL:  <EMAIL>
# DATE CREATED  : August 24, 2015
#
# Copyright 2015, California Institute of Technology.
# ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledged.
#===============================================================================

from generators.visitors import ComponentVisitorBase
from generators.templates.component import hpp

class ComponentHVisitor(ComponentVisitorBase.ComponentVisitorBase):
    """
    A visitor for generating component header files.
    """

    def __init__(self):
        self.initBase("ComponentH")

    def startSourceFilesVisit(self, obj):
      c = hpp.hpp()
      self.init(obj, c)
      self._writeTmpl(c, "startSourceFilesVisit")

#!/bin/env python
#===============================================================================
# NAME: ComponentHVisitor.py
#
# DESCRIPTION: A visitor for generating component header files
#
# AUTHOR: bocchino
# EMAIL:  <EMAIL>
# DATE CREATED  : August 24, 2015
#
# Copyright 2015, California Institute of Technology.
# ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledged.
#===============================================================================

from generators.visitors import ComponentVisitorBase
from generators.templates.component import hpp

class ComponentHVisitor(ComponentVisitorBase.ComponentVisitorBase):
    """
    A visitor for generating component header files.
    """

    def __init__(self):
        self.initBase("ComponentH")

    def startSourceFilesVisit(self, obj):
      c = hpp.hpp()
      self.init(obj, c)
      self._writeTmpl(c, "startSourceFilesVisit")

#!/bin/env python #=============================================================================== # NAME: ComponentHVisitor.py # # DESCRIPTION: A visitor for generating component header files # # AUTHOR: bocchino # EMAIL:  <EMAIL> # DATE CREATED  : August 24, 2015 # # Copyright 2015, California Institute of Technology. # ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledged. #=============================================================================== A visitor for generating component header files.