[CONNECT C++] ApplyElementTemplateParams() verses ApplyTemplateWithoutReference()

Wondering what the difference is between these two functions, as they both have the same parameter list (EditElementHandleR, ElementTemplateNodeR). Both are static functions of MstnElementTemplateMgr.

Parents
  • Wondering what the difference is between these two functions

    I agree with Paul: it's confusing...

    static MstnElementTemplateMgrStatus MstnElementTemplateMgr::ApplyTemplateWithoutReference (
      EditElementHandleR  eeh,  
      ElementTemplateNodeR  elementTemplateNode  
     ) 
    
    protected:
      bool IElementTemplateExtender::_ApplyElementTemplateParams (
      EditElementHandleR  element,  
      ElementTemplateNodeR  templateToActivate,  
      XInstanceContainerP  originalECInstanceList,  
      bool  mustReferenceMatchingTemplate  
     )   
    
    public:
      bool IElementTemplateExtender::ApplyElementTemplateParams (
        EditElementHandleR element, 
        ElementTemplateNodeR templateToActivate, 
        XInstanceContainerP originalECInstanceList, 
        bool mustReferenceMatchingTemplate)   
    

     
    Regards, Jon Summers
    LA Solutions

Reply
  • Wondering what the difference is between these two functions

    I agree with Paul: it's confusing...

    static MstnElementTemplateMgrStatus MstnElementTemplateMgr::ApplyTemplateWithoutReference (
      EditElementHandleR  eeh,  
      ElementTemplateNodeR  elementTemplateNode  
     ) 
    
    protected:
      bool IElementTemplateExtender::_ApplyElementTemplateParams (
      EditElementHandleR  element,  
      ElementTemplateNodeR  templateToActivate,  
      XInstanceContainerP  originalECInstanceList,  
      bool  mustReferenceMatchingTemplate  
     )   
    
    public:
      bool IElementTemplateExtender::ApplyElementTemplateParams (
        EditElementHandleR element, 
        ElementTemplateNodeR templateToActivate, 
        XInstanceContainerP originalECInstanceList, 
        bool mustReferenceMatchingTemplate)   
    

     
    Regards, Jon Summers
    LA Solutions

Children
No Data