64 std::vector<ossimInfoFactoryInterface*>::iterator i =
77 std::shared_ptr<ossimInfoBase> result(0);
80 createIstream( file.
c_str(), std::ios_base::in|std::ios_base::binary );
83 std::string connectionString = file.
c_str();
84 result =
create( str, connectionString );
90 std::vector<ossimInfoFactoryInterface*>::const_iterator i =
95 result = (*i)->create( file );
108 std::shared_ptr<ossim::istream>& str,
109 const std::string& connectionString)
const 111 std::shared_ptr<ossimInfoBase> result(0);
114 std::vector<ossimInfoFactoryInterface*>::const_iterator i =
119 result = (*i)->create(str, connectionString);
void unregisterFactory(ossimInfoFactoryInterface *factory)
Method to remove a factory from the registry.
static StreamFactoryRegistry * instance()
std::vector< ossimInfoFactoryInterface * > m_factoryList
std::shared_ptr< ossimInfoBase > create(const ossimFilename &file) const
Create method.
void registerFactoryToFront(ossimInfoFactoryInterface *factory)
Adds factory to the front of the registry.
~ossimInfoFactoryRegistry()
destructor
static ossimInfoFactory * instance()
static ossimInfoFactoryRegistry * instance()
instance method
ossimInfoFactoryRegistry()
Hidden from use default constructor.
const char * c_str() const
Returns a pointer to a null-terminated array of characters representing the string's contents...
static ossimInfoFactoryRegistry * m_instance
const ossimInfoFactoryRegistry & operator=(const ossimInfoFactoryRegistry &rhs)
hidden from use assignment operator
void registerFactory(ossimInfoFactoryInterface *factory)
Method to add factory to registry.