Vuo 2.4.4
Loading...
Searching...
No Matches
Public Member Functions | List of all members
VuoModuleInfoIterator Class Reference

Description

Efficiently iterates through collections of VuoModuleInfo objects in VuoCompilerEnvironment, without making copies of the collections.

Definition at line 17 of file VuoModuleInfoIterator.hh.

Public Member Functions

 VuoModuleInfoIterator (map< string, map< string, VuoModuleInfo * > > *allModuleInfos, const string &overriddenCompiledModuleCachePath)
 Constructs an iterator that will visit every item in allModuleInfos.
 
 VuoModuleInfoIterator (map< string, map< string, VuoModuleInfo * > > *allModuleInfos, const string &overriddenCompiledModuleCachePath, const set< string > &searchModuleKeys)
 Constructs an iterator that will visit only the items in allModuleInfos that match one of searchModuleKeys.
 
VuoModuleInfonext (void)
 Returns the next VuoModuleInfo to visit, or null if there are no more to visit.
 

Constructor & Destructor Documentation

◆ VuoModuleInfoIterator() [1/2]

VuoModuleInfoIterator::VuoModuleInfoIterator ( map< string, map< string, VuoModuleInfo * > > *  allModuleInfos,
const string &  overriddenCompiledModuleCachePath 
)

Constructs an iterator that will visit every item in allModuleInfos.

If allModuleInfos contains both a compiled module and its override, the override will be returned.

allModuleInfos must not be modified between now and when the caller is finished iterating through the modules.

Definition at line 20 of file VuoModuleInfoIterator.cc.

◆ VuoModuleInfoIterator() [2/2]

VuoModuleInfoIterator::VuoModuleInfoIterator ( map< string, map< string, VuoModuleInfo * > > *  allModuleInfos,
const string &  overriddenCompiledModuleCachePath,
const set< string > &  searchModuleKeys 
)

Constructs an iterator that will visit only the items in allModuleInfos that match one of searchModuleKeys.

If allModuleInfos contains both a compiled module and its override, the override will be returned.

allModuleInfos must not be modified between now and when the caller is finished iterating through the modules.

Definition at line 36 of file VuoModuleInfoIterator.cc.

Member Function Documentation

◆ next()

VuoModuleInfo * VuoModuleInfoIterator::next ( void  )

Returns the next VuoModuleInfo to visit, or null if there are no more to visit.

Definition at line 70 of file VuoModuleInfoIterator.cc.


The documentation for this class was generated from the following files: