Difference between revisions of "Visitor (lx-visitor.hpp)"

From The Foundry MODO SDK wiki
Jump to: navigation, search
(Created page with "Visitors refers to the Visitor Interface which is used for enumerating containers or lists. This header defines three important classes. * '''CLxUser_Visitor''' -- the user ...")
 
 
Line 1: Line 1:
 +
{{DISPLAYTITLE:Visitor (lx_visitor.hpp)}}
 
Visitors refers to the [[Visitor Interface]] which is used for enumerating containers or lists. This header defines three important classes.
 
Visitors refers to the [[Visitor Interface]] which is used for enumerating containers or lists. This header defines three important classes.
  

Latest revision as of 18:33, 16 August 2013

Visitors refers to the Visitor Interface which is used for enumerating containers or lists. This header defines three important classes.

  • CLxUser_Visitor -- the user class for visitors, allowing them to be called from plug-in code.
  • CLxImpl_AbstractVisitor -- implementation class that clients can inherit from to create their own visitors. Most user classes have Enum() methods that take these directly.
  • CLxInst_OneVisitor -- if you really need a visitor COM object, this template allows you to create them.