11 #ifndef ossimFactoryListBase_HEADER 12 #define ossimFactoryListBase_HEADER 1 42 if(!factory)
return false;
135 if(!factory)
return false;
139 if(factory == testFactory)
Code was derived from https://gist.github.com/mshockwave.
FactoryListType m_factoryList
void unregisterAllFactories()
Will remove all factories from the registry.
This code was derived from https://gist.github.com/mshockwave.
std::vector< T > FactoryListType
void registerFactoryToFront(T factory)
Inserts the factory to the front of the list.
void registerFactory(T factory, bool pushToFrontFlag=false)
Will register a factory to the factory list.
unsigned int ossim_uint32
bool findFactory(T factory) const
Utility to find a factory in the list.
std::vector< ossimString > TypeNameList
void unregisterFactory(T factory)
Will remove the factory from the registry.
void addFactory(T factory)
This is for backward compatability and calls registerFactory for simple adds.
void registerFactoryBefore(T factory, T beforeThisFactory)
Will insert the factory before the beforeThisFactory.
bool isFactoryRegistered(T factory) const
Public access method to determine if a factory is already registered to this list.