COOPY » Guide  version 0.6.5
Data Structures | Public Member Functions | Data Fields
coopy::store::FormatDesc Class Reference

Description of a single format for importing/exporting tables. More...

#include <FormatDesc.h>

Data Structures

class  Dbi
class  Extension
class  Option

Public Member Functions

 FormatDesc (const char *name)
void addExtension (const char *ext, const char *notes)
void addDbi (const char *ext, const char *notes)
void addOption (const char *tag, PolyValue val, const char *notes, bool opt)
std::string toString ()
void show ()

Data Fields

std::string name
std::vector< Extensionexts
std::vector< Optionopts
std::vector< Dbidbis

Detailed Description

Description of a single format for importing/exporting tables.

Definition at line 20 of file FormatDesc.h.


Constructor & Destructor Documentation

coopy::store::FormatDesc::FormatDesc ( const char *  name) [inline]

Definition at line 24 of file FormatDesc.h.


Member Function Documentation

void coopy::store::FormatDesc::addDbi ( const char *  ext,
const char *  notes 
) [inline]

Definition at line 59 of file FormatDesc.h.

References dbis.

void coopy::store::FormatDesc::addExtension ( const char *  ext,
const char *  notes 
) [inline]

Definition at line 56 of file FormatDesc.h.

References exts.

Referenced by coopy::store::PolyBook::getFormatList().

void coopy::store::FormatDesc::addOption ( const char *  tag,
PolyValue  val,
const char *  notes,
bool  opt 
) [inline]

Definition at line 62 of file FormatDesc.h.

References opts.

Referenced by coopy::store::PolyBook::getFormatList().

void coopy::store::FormatDesc::show ( ) [inline]

Definition at line 120 of file FormatDesc.h.

References name, and toString().

std::string coopy::store::FormatDesc::toString ( ) [inline]

Field Documentation

Definition at line 54 of file FormatDesc.h.

Referenced by addDbi(), and toString().

Definition at line 52 of file FormatDesc.h.

Referenced by addExtension(), and toString().

Definition at line 22 of file FormatDesc.h.

Referenced by show().

Definition at line 53 of file FormatDesc.h.

Referenced by addOption(), and toString().


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines