Connexions

Sections
You are here: Home » Content » Visitor Design Pattern

About: Visitor Design Pattern

Module by: Stephen Wong. E-mail the author

View the content: Visitor Design Pattern

Metadata

Name: Visitor Design Pattern
ID: m26430
Language: English (en)
Summary: The Visitor Design Pattern enables one to decouple a data structure from the algorithms that process it.
Subject: Science and Technology
Keywords: design, double-dispatch, object-oriented, pattern, programming, visitor
License: Creative Commons Attribution License CC-BY 3.0

Authors: Stephen Wong (swong@rice.edu)
Copyright Holders: Stephen Wong (swong@rice.edu)
Maintainers: Stephen Wong (swong@rice.edu)

Latest version: 1.1 (history)
First publication date: Jul 1, 2009 11:39 am GMT-5
Last revision to module: Jul 1, 2009 1:22 pm GMT-5

Downloads

PDF: m26430_1.1.pdf PDF file, for viewing content offline and printing. Learn more.
EPUB: m26430_1.1.epub Electronic publication file, for viewing in handheld devices. Learn more.
XML: m26430_1.1.cnxml XML that defines the structure and contents of the module, minus any included media files. Can be reimported in the editing interface. Learn more.
Source Export ZIP: m26430_1.1.zip ZIP containing the module XML plus any included media files. Can be reimported in the editing interface. Learn more.
Offline ZIP: m26430_1.1_offline.zip An offline HTML copy of the content. Also includes XML, included media files, and other support files. Learn more.

Version History

Version: 1.1 Jul 1, 2009 1:22 pm GMT-5 by Stephen Wong
Changes:
Initial publication

How to Reuse and Attribute This Content

If you derive a copy of this content using a Connexions account and publish your version, proper attribution of the original work will be automatically done for you.

If you reuse this work elsewhere, in order to comply with the attribution requirements of the license (CC-BY 3.0), you must include

  • the authors' names: Stephen Wong
  • the title of the work: Visitor Design Pattern
  • the Connexions URL where the work can be found: http://cnx.org/content/m26430/1.1/

See the citation section below for examples you can copy.

How to Cite and Attribute This Content

The following citation styles comply with the attribution requirements for the license (CC-BY 3.0) of this work:

American Chemical Society (ACS) Style Guide:

Wong, S. Visitor Design Pattern, Connexions Web site. http://cnx.org/content/m26430/1.1/, Jul 1, 2009.

American Medical Assocation (AMA) Manual of Style:

Wong S. Visitor Design Pattern [Connexions Web site]. July 1, 2009. Available at: http://cnx.org/content/m26430/1.1/.

American Psychological Assocation (APA) Publication Manual:

Wong, S. (2009, July 1). Visitor Design Pattern. Retrieved from the Connexions Web site: http://cnx.org/content/m26430/1.1/

Chicago Manual of Style (Bibliography):

Wong, Stephen. "Visitor Design Pattern." Connexions. July 1, 2009. http://cnx.org/content/m26430/1.1/.

Chicago Manual of Style (Note):

Stephen Wong, "Visitor Design Pattern," Connexions, July 1, 2009, http://cnx.org/content/m26430/1.1/.

Chicago Manual of Style (Reference, in Author-Date style):

Wong, S. 2009. Visitor Design Pattern. Connexions, July 1, 2009. http://cnx.org/content/m26430/1.1/.

Modern Languages Association (MLA) Style Manual:

Wong, Stephen. Visitor Design Pattern. Connexions. 1 July 2009 <http://cnx.org/content/m26430/1.1/>.