IODA Bundle
odc::DataHandleFactory Class Referenceabstract

#include <DataHandleFactory.h>

Inheritance diagram for odc::DataHandleFactory:
[legend]

Public Types

typedef std::map< std::string, DataHandleFactory * > Storage
 

Public Member Functions

virtual ~DataHandleFactory ()
 

Static Public Member Functions

static eckit::DataHandle * openForRead (const std::string &)
 
static eckit::DataHandle * openForWrite (const std::string &, const eckit::Length &=eckit::Length(0))
 
static void buildMultiHandle (eckit::MultiHandle &, const std::vector< std::string > &)
 
static void buildMultiHandle (eckit::MultiHandle &, const std::string &)
 

Protected Member Functions

 DataHandleFactory (const std::string &)
 
virtual eckit::DataHandle * makeHandle (const std::string &) const =0
 
std::string prefix () const
 

Static Protected Member Functions

static std::pair< std::string, std::string > splitPrefix (const std::string &)
 
static eckit::DataHandle * makeHandle (const std::string &, const std::string &)
 

Private Member Functions

 DataHandleFactory ()
 

Static Private Member Functions

static Storagefactories ()
 
static void registerFactories ()
 

Private Attributes

std::string prefix_
 

Detailed Description

Definition at line 28 of file DataHandleFactory.h.

Member Typedef Documentation

◆ Storage

typedef std::map<std::string, DataHandleFactory*> odc::DataHandleFactory::Storage

Definition at line 30 of file DataHandleFactory.h.

Constructor & Destructor Documentation

◆ ~DataHandleFactory()

odc::DataHandleFactory::~DataHandleFactory ( )
virtual

Definition at line 33 of file DataHandleFactory.cc.

Here is the call graph for this function:

◆ DataHandleFactory() [1/2]

odc::DataHandleFactory::DataHandleFactory ( const std::string &  prefix)
protected

Definition at line 27 of file DataHandleFactory.cc.

Here is the call graph for this function:

◆ DataHandleFactory() [2/2]

odc::DataHandleFactory::DataHandleFactory ( )
private

Member Function Documentation

◆ buildMultiHandle() [1/2]

void odc::DataHandleFactory::buildMultiHandle ( eckit::MultiHandle &  mh,
const std::string &  dataDescriptor 
)
static

Definition at line 71 of file DataHandleFactory.cc.

Here is the call graph for this function:

◆ buildMultiHandle() [2/2]

void odc::DataHandleFactory::buildMultiHandle ( eckit::MultiHandle &  mh,
const std::vector< std::string > &  dataDescriptors 
)
static

Definition at line 79 of file DataHandleFactory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ factories()

DataHandleFactory::Storage & odc::DataHandleFactory::factories ( )
staticprivate

Definition at line 40 of file DataHandleFactory.cc.

Here is the caller graph for this function:

◆ makeHandle() [1/2]

virtual eckit::DataHandle* odc::DataHandleFactory::makeHandle ( const std::string &  ) const
protectedpure virtual

◆ makeHandle() [2/2]

DataHandle * odc::DataHandleFactory::makeHandle ( const std::string &  prefix,
const std::string &  descriptor 
)
staticprotected

Definition at line 46 of file DataHandleFactory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ openForRead()

DataHandle * odc::DataHandleFactory::openForRead ( const std::string &  s)
static

Definition at line 90 of file DataHandleFactory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ openForWrite()

DataHandle * odc::DataHandleFactory::openForWrite ( const std::string &  s,
const eckit::Length &  length = eckit::Length(0) 
)
static

Definition at line 99 of file DataHandleFactory.cc.

Here is the call graph for this function:

◆ prefix()

std::string odc::DataHandleFactory::prefix ( ) const
protected

Definition at line 38 of file DataHandleFactory.cc.

Here is the caller graph for this function:

◆ registerFactories()

void odc::DataHandleFactory::registerFactories ( )
staticprivate

Definition at line 108 of file DataHandleFactory.cc.

Here is the caller graph for this function:

◆ splitPrefix()

std::pair< std::string, std::string > odc::DataHandleFactory::splitPrefix ( const std::string &  handleDescriptor)
staticprotected

Definition at line 54 of file DataHandleFactory.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ prefix_

std::string odc::DataHandleFactory::prefix_
private

Definition at line 56 of file DataHandleFactory.h.


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