Canoe
Comprehensive Atmosphere N' Ocean Engine
MetadataTable Class Reference

#include <output_utils.hpp>

Public Member Functions

 ~MetadataTable ()
 
std::string GetGridType (std::string name) const
 
std::string GetUnits (std::string name) const
 
std::string GetLongName (std::string name) const
 

Static Public Member Functions

static MetadataTable const * GetInstance ()
 
static void Destroy ()
 

Protected Types

using StringTable = std::vector< std::vector< std::string > >
 

Protected Member Functions

 MetadataTable ()
 Protected ctor access thru static member function Instance. More...
 

Private Attributes

StringTable table_
 

Static Private Attributes

static MetadataTablemyptr_ = nullptr
 Pointer to the single MetadataTable instance. More...
 

Detailed Description

Definition at line 13 of file output_utils.hpp.

Member Typedef Documentation

◆ StringTable

using MetadataTable::StringTable = std::vector<std::vector<std::string> >
protected

Definition at line 15 of file output_utils.hpp.

Constructor & Destructor Documentation

◆ MetadataTable()

MetadataTable::MetadataTable ( )
protected

Protected ctor access thru static member function Instance.

◆ ~MetadataTable()

MetadataTable::~MetadataTable ( )

Definition at line 52 of file output_utils.cpp.

Member Function Documentation

◆ GetInstance()

MetadataTable const * MetadataTable::GetInstance ( )
static

Definition at line 57 of file output_utils.cpp.

◆ Destroy()

void MetadataTable::Destroy ( )
static

Definition at line 68 of file output_utils.cpp.

◆ GetGridType()

std::string MetadataTable::GetGridType ( std::string  name) const

Definition at line 77 of file output_utils.cpp.

◆ GetUnits()

std::string MetadataTable::GetUnits ( std::string  name) const

Definition at line 88 of file output_utils.cpp.

◆ GetLongName()

std::string MetadataTable::GetLongName ( std::string  name) const

Definition at line 99 of file output_utils.cpp.

Member Data Documentation

◆ table_

StringTable MetadataTable::table_
private

Definition at line 34 of file output_utils.hpp.

◆ myptr_

MetadataTable * MetadataTable::myptr_ = nullptr
staticprivate

Pointer to the single MetadataTable instance.

Definition at line 37 of file output_utils.hpp.


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