コード例 #1
0
//
// Visit_ComponentImplementations
//
void Set_Classpath_Script_Generator::
Visit_ComponentImplementations (const PICML::ComponentImplementations & folder)
{
  typedef std::vector <PICML::ComponentImplementationContainer> Container_Set;
  Container_Set containers = folder.ComponentImplementationContainer_children ();

  std::for_each (containers.begin (),
                 containers.end (),
                 boost::bind (&Container_Set::value_type::Accept,
                              _1,
                              boost::ref (*this)));
}
コード例 #2
0
//
// Visit_ComponentImplementations
//
void QED_Deployment_Visitor::
Visit_ComponentImplementations (const PICML::ComponentImplementations & cis)
{
  typedef
    std::vector <PICML::ComponentImplementationContainer>
    ComponentImplementationContainer_Set;

  ComponentImplementationContainer_Set containers =
    cis.ComponentImplementationContainer_children ();

  std::for_each (containers.begin (),
                 containers.end (),
                 boost::bind (&ComponentImplementationContainer_Set::value_type::Accept,
                              _1,
                              boost::ref (*this)));
}