OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimVisitor.h>
Public Member Functions | |
ossimTypeIdVisitor (int visitorType=(VISIT_INPUTS|VISIT_CHILDREN)) | |
ossimTypeIdVisitor (const RTTItypeid &typeId, bool firstofTypeFlag=false, int visitorType=(VISIT_INPUTS|VISIT_CHILDREN)) | |
ossimTypeIdVisitor (const ossimTypeIdVisitor &src) | |
virtual ossimRefPtr< ossimVisitor > | dup () const |
virtual void | visit (ossimObject *obj) |
void | setTypeId (const RTTItypeid &typeId) |
const RTTItypeid & | getTypeId () const |
![]() | |
ossimCollectionVisitor (int visitorType=(VISIT_INPUTS|VISIT_CHILDREN)) | |
ossimCollectionVisitor (const ossimCollectionVisitor &src) | |
ListRef & | getObjects () |
const ListRef & | getObjects () const |
ossimObject * | getObject (ossim_uint32 idx=0) |
const ossimObject * | getObject (ossim_uint32 idx=0) const |
template<class T > | |
T * | getObjectAs (ossim_uint32 idx=0) |
template<class T > | |
const T * | getObjectAs (ossim_uint32 idx=0) const |
virtual void | reset () |
![]() | |
ossimVisitor (int visitorType=VISIT_NONE) | |
ossimVisitor (const ossimVisitor &src) | |
virtual void | visit (ossimConnectableObject *obj) |
VisitorType | getVisitorType () const |
void | setVisitorType (int vType, bool on=true) |
void | turnOffVisitorType (int vType) |
bool | hasVisited (ossimObject *obj) const |
bool | stopTraversal () const |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (const ossimReferenced &) |
void | ref () const |
increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
void | unref () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
void | unref_nodelete () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
int | referenceCount () const |
Protected Attributes | |
RTTItypeid | m_typeId |
bool | m_firstOfTypeFlag |
![]() | |
ListRef | m_collection |
![]() | |
VisitorType | m_visitorType |
Collection | m_markNode |
bool | m_stopTraversalFlag |
Additional Inherited Members | |
![]() | |
enum | VisitorType { VISIT_NONE = 0, VISIT_CHILDREN = 1, VISIT_INPUTS = 2, VISIT_OUTPUTS = 4, VISIT_ALL = (VISIT_CHILDREN|VISIT_INPUTS|VISIT_OUTPUTS) } |
Enumeration type can be a mask and will traverse a graph of connectables based on the values. More... | |
typedef std::set< ossimRefPtr< ossimObject > > | MarkCollectionRef |
typedef std::set< ossimRefPtr< ossimObject > > | CollectionRef |
typedef std::vector< ossimRefPtr< ossimObject > > | ListRef |
typedef std::set< ossimObject * > | Collection |
typedef std::vector< ossimObject *> | List |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 145 of file ossimVisitor.h.
ossimTypeIdVisitor::ossimTypeIdVisitor | ( | int | visitorType = (VISIT_INPUTS|VISIT_CHILDREN) | ) |
Definition at line 254 of file ossimVisitor.cpp.
Referenced by dup().
ossimTypeIdVisitor::ossimTypeIdVisitor | ( | const RTTItypeid & | typeId, |
bool | firstofTypeFlag = false , |
||
int | visitorType = (VISIT_INPUTS|VISIT_CHILDREN) |
||
) |
Definition at line 259 of file ossimVisitor.cpp.
ossimTypeIdVisitor::ossimTypeIdVisitor | ( | const ossimTypeIdVisitor & | src | ) |
Definition at line 266 of file ossimVisitor.cpp.
|
virtual |
Implements ossimVisitor.
Definition at line 272 of file ossimVisitor.cpp.
References ossimTypeIdVisitor().
const RTTItypeid & ossimTypeIdVisitor::getTypeId | ( | ) | const |
void ossimTypeIdVisitor::setTypeId | ( | const RTTItypeid & | typeId | ) |
|
virtual |
Reimplemented from ossimVisitor.
Definition at line 287 of file ossimVisitor.cpp.
References ossimObject::canCastTo(), ossimVisitor::hasVisited(), ossimCollectionVisitor::m_collection, m_firstOfTypeFlag, ossimVisitor::m_stopTraversalFlag, m_typeId, and ossimVisitor::visit().
|
protected |
Definition at line 157 of file ossimVisitor.h.
Referenced by visit().
|
protected |
Definition at line 156 of file ossimVisitor.h.
Referenced by getTypeId(), setTypeId(), and visit().