|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimVisitor.h>
Public Member Functions | |
| 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 () |
Public Member Functions inherited from ossimVisitor | |
| ossimVisitor (int visitorType=VISIT_NONE) | |
| ossimVisitor (const ossimVisitor &src) | |
| virtual ossimRefPtr< ossimVisitor > | dup () const =0 |
| virtual void | visit (ossimObject *obj) |
| 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 |
Public Member Functions inherited from ossimReferenced | |
| 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 | |
| ListRef | m_collection |
Protected Attributes inherited from ossimVisitor | |
| VisitorType | m_visitorType |
| Collection | m_markNode |
| bool | m_stopTraversalFlag |
Additional Inherited Members | |
Public Types inherited from ossimVisitor | |
| 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 |
Protected Member Functions inherited from ossimReferenced | |
| virtual | ~ossimReferenced () |
Definition at line 53 of file ossimVisitor.h.
| ossimCollectionVisitor::ossimCollectionVisitor | ( | int | visitorType = (VISIT_INPUTS|VISIT_CHILDREN) | ) |
Definition at line 149 of file ossimVisitor.cpp.
| ossimCollectionVisitor::ossimCollectionVisitor | ( | const ossimCollectionVisitor & | src | ) |
Definition at line 154 of file ossimVisitor.cpp.
| ossimObject * ossimCollectionVisitor::getObject | ( | ossim_uint32 | idx = 0 | ) |
Definition at line 169 of file ossimVisitor.cpp.
References m_collection.
Referenced by ossimBitMaskWriter::connectMyInputTo(), and ossimConnectableObject::findObjectOfType().
| const ossimObject * ossimCollectionVisitor::getObject | ( | ossim_uint32 | idx = 0 | ) | const |
|
inline |
Definition at line 64 of file ossimVisitor.h.
Referenced by ossimNitf20Writer::addTags(), ossimHistogramMatchFilter::autoLoadInputHistogram(), ossimLandsatTopoCorrectionFilter::findLandsatHeader(), ossimBandSelector::getBandSelectableImageHandler(), ATP::AtpGenerator::getImageHandler(), ossimBandSelector::getRgbBandList(), ossimSFIMFusion::initialize(), ossimIgen::outputProduct(), ossimGpkgWriter::reInitializeCombiners(), ossimGpkgWriter::reInitializeCutters(), ossimImageChainMtAdaptor::replicate(), ossimIgen::setView(), ossimGpkgWriter::setView(), and ossimIvtGeomXformVisitor::visit().
|
inline |
Definition at line 74 of file ossimVisitor.h.
| ossimCollectionVisitor::ListRef & ossimCollectionVisitor::getObjects | ( | ) |
Definition at line 159 of file ossimVisitor.cpp.
References m_collection.
Referenced by ossimNitf20Writer::addTags(), ossimHistogramMatchFilter::autoLoadInputHistogram(), ossimLandsatTopoCorrectionFilter::findLandsatHeader(), ossimBandSelector::getBandSelectableImageHandler(), ossimBandSelector::getRgbBandList(), ossimGpkgWriter::reInitializeCombiners(), ossimGpkgWriter::reInitializeCutters(), ossimIgen::setView(), and ossimGpkgWriter::setView().
| const ossimCollectionVisitor::ListRef & ossimCollectionVisitor::getObjects | ( | ) | const |
|
virtual |
Reimplemented from ossimVisitor.
Definition at line 187 of file ossimVisitor.cpp.
References m_collection, and ossimVisitor::reset().
Referenced by ossimSFIMFusion::initialize().
|
protected |
Definition at line 86 of file ossimVisitor.h.
Referenced by getObject(), getObjects(), reset(), ossimTypeNameVisitor::visit(), and ossimTypeIdVisitor::visit().
1.8.14