<commit_before>//---
//
// License: MIT
//
// Description: OSSIM Amazon Web Services (AWS) stream factory.
//
//---
// $Id$


#ifndef ossimAwsStreamFactory_HEADER
#define ossimAwsStreamFactory_HEADER 1

#include <ossim/base/ossimStreamFactoryBase.h>
#include <ossim/base/ossimIoStream.h>
#include <memory>

namespace ossim
{
   class OSSIM_DLL AwsStreamFactory : public StreamFactoryBase
   {
   public:
      static AwsStreamFactory* instance();
      
      virtual ~AwsStreamFactory();

      virtual std::shared_ptr<ossim::istream>
         createIstream(const ossimString& connectionString,
                       std::ios_base::openmode openMode) const;
      
      virtual std::shared_ptr<ossim::ostream>
         createOstream(const ossimString& connectionString,
                       std::ios_base::openmode openMode) const;
      
      virtual std::shared_ptr<ossim::iostream>
         createIOstream(const ossimString& connectionString,
                        std::ios_base::openmode openMode) const;
   
   protected:<commit_msg>Fixed windows vs14 build error.<commit_after>//---
//
// License: MIT
//
// Description: OSSIM Amazon Web Services (AWS) stream factory.
//
//---
// $Id$


#ifndef ossimAwsStreamFactory_HEADER
#define ossimAwsStreamFactory_HEADER 1

#include <ossim/base/ossimStreamFactoryBase.h>
#include <ossim/base/ossimIoStream.h>
#include <memory>

namespace ossim
{
   class AwsStreamFactory : public StreamFactoryBase
   {
   public:
      static AwsStreamFactory* instance();
      
      virtual ~AwsStreamFactory();

      virtual std::shared_ptr<ossim::istream>
         createIstream(const ossimString& connectionString,
                       std::ios_base::openmode openMode) const;
      
      virtual std::shared_ptr<ossim::ostream>
         createOstream(const ossimString& connectionString,
                       std::ios_base::openmode openMode) const;
      
      virtual std::shared_ptr<ossim::iostream>
         createIOstream(const ossimString& connectionString,
                        std::ios_base::openmode openMode) const;
   
   protected:
{'fraction_non_alphanumeric': 0.10238095238095238, 'fraction_numerical': 0.0019047619047619048, 'mean_word_length': 2.8835489833641406, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6414747', 'n_tokens_mistral': 633, 'n_tokens_neox': 606, 'n_words': 124}