IODA Bundle
odc::tool::DDLPrinter Class Reference
Inheritance diagram for odc::tool::DDLPrinter:
[legend]
Collaboration diagram for odc::tool::DDLPrinter:
[legend]

Public Member Functions

 DDLPrinter (const std::string &path, const std::string &tableName)
 
void print (std::ostream &o, const core::Table &tbl)
 
void printSummary (std::ostream &o)
 

Static Public Member Functions

static std::string typeName (const Column &c)
 
static std::pair< std::string, std::string > typeDefinitionAndName (const std::string &tableName, const Column &c)
 
static std::string stripAtTable (const std::string &tableName, const std::string &columnName)
 
static void printTable (std::ostream &s, const MetaData &md, const std::string &tableName, const std::string &path)
 

Private Attributes

std::vector< MetaDatamd_
 
const std::string path_
 
const std::string tableName_
 

Detailed Description

Definition at line 57 of file ODAHeaderTool.cc.

Constructor & Destructor Documentation

◆ DDLPrinter()

odc::tool::DDLPrinter::DDLPrinter ( const std::string &  path,
const std::string &  tableName 
)
inline

Definition at line 60 of file ODAHeaderTool.cc.

Member Function Documentation

◆ print()

void odc::tool::DDLPrinter::print ( std::ostream &  o,
const core::Table tbl 
)
inlinevirtual

Implements odc::tool::MDPrinter.

Definition at line 63 of file ODAHeaderTool.cc.

Here is the call graph for this function:

◆ printSummary()

void odc::tool::DDLPrinter::printSummary ( std::ostream &  o)
inlinevirtual

Reimplemented from odc::tool::MDPrinter.

Definition at line 72 of file ODAHeaderTool.cc.

◆ printTable()

static void odc::tool::DDLPrinter::printTable ( std::ostream &  s,
const MetaData md,
const std::string &  tableName,
const std::string &  path 
)
inlinestatic

Definition at line 128 of file ODAHeaderTool.cc.

◆ stripAtTable()

static std::string odc::tool::DDLPrinter::stripAtTable ( const std::string &  tableName,
const std::string &  columnName 
)
inlinestatic

Definition at line 117 of file ODAHeaderTool.cc.

◆ typeDefinitionAndName()

static std::pair<std::string,std::string> odc::tool::DDLPrinter::typeDefinitionAndName ( const std::string &  tableName,
const Column c 
)
inlinestatic

Definition at line 93 of file ODAHeaderTool.cc.

◆ typeName()

static std::string odc::tool::DDLPrinter::typeName ( const Column c)
inlinestatic

Definition at line 78 of file ODAHeaderTool.cc.

Member Data Documentation

◆ md_

std::vector<MetaData> odc::tool::DDLPrinter::md_
private

Definition at line 149 of file ODAHeaderTool.cc.

◆ path_

const std::string odc::tool::DDLPrinter::path_
private

Definition at line 150 of file ODAHeaderTool.cc.

◆ tableName_

const std::string odc::tool::DDLPrinter::tableName_
private

Definition at line 151 of file ODAHeaderTool.cc.


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