TwiceAsNice  2019-02-18
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Basda::Microgate::MemoryBufferFactory Class Reference

This class produces MemoryBuffer instances from a source. More...

#include <MemoryBufferFactory.h>

Collaboration diagram for Basda::Microgate::MemoryBufferFactory:
Collaboration graph

Public Member Functions

 MemoryBufferFactory (const std::string &sourceName)
 
MemoryBufferPtr createMemoryBufferFromFileContents (const char *borrowedFileContents, unsigned fileContentsLengthInByte)
 
 MemoryBufferFactory (const std::string &sourceName)
 
MemoryBufferPtr createMemoryBufferFromFileContents (const char *borrowedFileContents, unsigned fileContentsLengthInByte)
 
 MemoryBufferFactory (const std::string &sourceName)
 
MemoryBufferPtr createMemoryBufferFromFileContents (const char *borrowedFileContents, unsigned fileContentsLengthInByte)
 

Private Member Functions

MemoryBufferPtr convertFileBufferToMemoryBuffer (const std::string &fileContents)
 
MemoryBufferPtr convertFileBufferToMemoryBuffer (const std::string &fileContents)
 
MemoryBufferPtr convertFileBufferToMemoryBuffer (const std::string &fileContents)
 

Private Attributes

std::string bufferSourceName_
 

Detailed Description

This class produces MemoryBuffer instances from a source.

Constructor & Destructor Documentation

◆ MemoryBufferFactory() [1/3]

Basda::Microgate::MemoryBufferFactory::MemoryBufferFactory ( const std::string &  sourceName)
explicit

◆ MemoryBufferFactory() [2/3]

Basda::Microgate::MemoryBufferFactory::MemoryBufferFactory ( const std::string &  sourceName)
explicit

◆ MemoryBufferFactory() [3/3]

Basda::Microgate::MemoryBufferFactory::MemoryBufferFactory ( const std::string &  sourceName)
explicit

Member Function Documentation

◆ convertFileBufferToMemoryBuffer() [1/3]

MemoryBufferPtr Basda::Microgate::MemoryBufferFactory::convertFileBufferToMemoryBuffer ( const std::string &  fileContents)
private

◆ convertFileBufferToMemoryBuffer() [2/3]

MemoryBufferPtr Basda::Microgate::MemoryBufferFactory::convertFileBufferToMemoryBuffer ( const std::string &  fileContents)
private

◆ convertFileBufferToMemoryBuffer() [3/3]

MemoryBufferPtr Basda::Microgate::MemoryBufferFactory::convertFileBufferToMemoryBuffer ( const std::string &  fileContents)
private

◆ createMemoryBufferFromFileContents() [1/3]

MemoryBufferPtr Basda::Microgate::MemoryBufferFactory::createMemoryBufferFromFileContents ( const char *  borrowedFileContents,
unsigned  fileContentsLengthInByte 
)

◆ createMemoryBufferFromFileContents() [2/3]

MemoryBufferPtr Basda::Microgate::MemoryBufferFactory::createMemoryBufferFromFileContents ( const char *  borrowedFileContents,
unsigned  fileContentsLengthInByte 
)

◆ createMemoryBufferFromFileContents() [3/3]

MemoryBufferPtr Basda::Microgate::MemoryBufferFactory::createMemoryBufferFromFileContents ( const char *  borrowedFileContents,
unsigned  fileContentsLengthInByte 
)

Member Data Documentation

◆ bufferSourceName_

std::string Basda::Microgate::MemoryBufferFactory::bufferSourceName_
private

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