ExtDataCollection Derived Type

type, public :: ExtDataCollection


Inherits

type~~extdatacollection~~InheritsGraph type~extdatacollection ExtDataCollection StringIntegerMap StringIntegerMap type~extdatacollection->StringIntegerMap file_ids type~formatterptrvector FormatterPtrVector type~extdatacollection->type~formatterptrvector formatters type~netcdf4_fileformatter NetCDF4_FileFormatter type~extdatacollection->type~netcdf4_fileformatter formatter type~formatterptrvector->type~netcdf4_fileformatter elements

Inherited by

type~~extdatacollection~~InheritedByGraph type~extdatacollection ExtDataCollection type~extcollectionvector ExtCollectionVector type~extcollectionvector->type~extdatacollection elements type~extcollectionvectoriterator ExtCollectionVectorIterator type~extcollectionvectoriterator->type~extdatacollection elements type~extcollectionvectorriterator ExtCollectionVectorRIterator type~extcollectionvectorriterator->type~extdatacollection elements type~serverthread ServerThread type~serverthread->type~extcollectionvector ext_collections type~mockserverthread MockServerThread type~mockserverthread->type~serverthread type~v_wrapper~12 v_Wrapper type~v_wrapper~12->type~serverthread item type~serverthreadvector ServerThreadVector type~serverthreadvector->type~v_wrapper~12 elements type~serverthreadvectoriterator ServerThreadVectorIterator type~serverthreadvectoriterator->type~v_wrapper~12 elements type~serverthreadvectorriterator ServerThreadVectorRIterator type~serverthreadvectorriterator->type~v_wrapper~12 elements

Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: template
type(FormatterPtrVector), public :: formatters
type(NetCDF4_FileFormatter), public, pointer :: formatter => null()
type(StringIntegerMap), public :: file_ids

Constructor

public interface ExtDataCollection

  • public function new_ExtDataCollection(template) result(collection)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: template

    Return Value type(ExtDataCollection)


Type-Bound Procedures

procedure, public :: find

  • private function find(this, file_name, rc) result(formatter)

    Arguments

    Type IntentOptional Attributes Name
    class(ExtDataCollection), intent(inout), target :: this
    character(len=*), intent(in) :: file_name
    integer, intent(out), optional :: rc

    Return Value type(NetCDF4_FileFormatter), pointer

procedure, public :: unfind

  • private subroutine unfind(this)

    Arguments

    Type IntentOptional Attributes Name
    class(ExtDataCollection), intent(inout) :: this

Source Code

  type :: ExtDataCollection
    character(len=:), allocatable :: template
    type (FormatterPtrVector) :: formatters
    type (StringIntegerMap) :: file_ids

    type (NetCDF4_FileFormatter), pointer :: formatter => null()
  contains
    procedure :: find
    procedure :: unfind
  end type ExtDataCollection