Class CCDataVisitor

#include <Geode/cocos/cocoa/CCDataVisitor.h>
classCCDataVisitor{ ... }

Visitor that helps to perform action that depends on polymorphic object type

Use cases:

Usage:

  1. subclass CCDataVisitor
  2. overload visit() methods for object that you need to handle
  3. handle other objects in \a visitObject()
  4. pass your visitor to \a CCObject::acceptVisitor()
Examples0
Public static methods0
Public member functions9
virtualvoidvisitObject()=0

default method, called from non-overloaded methods and for unrecognized objects

virtualvoidvisit()
No description provided
virtualvoidvisit()
No description provided
virtualvoidvisit()
No description provided
virtualvoidvisit()
No description provided
virtualvoidvisit()
No description provided
virtualvoidvisit()
No description provided
virtualvoidvisit()
No description provided
virtualvoidvisit()
No description provided
Fields0
Protected member functions0
Protected fields0