COOPY » Guide
version 0.6.5
|
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< Extension > | exts |
std::vector< Option > | opts |
std::vector< Dbi > | dbis |
Description of a single format for importing/exporting tables.
Definition at line 20 of file FormatDesc.h.
coopy::store::FormatDesc::FormatDesc | ( | const char * | name | ) | [inline] |
Definition at line 24 of file FormatDesc.h.
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] |
Definition at line 66 of file FormatDesc.h.
References coopy::store::PolyValue::asString(), dbis, exts, coopy::store::PolyValue::isString(), opts, coopy::store::FormatDesc::Option::tag, and coopy::store::FormatDesc::Option::val.
Referenced by show().
std::vector<Dbi> coopy::store::FormatDesc::dbis |
Definition at line 54 of file FormatDesc.h.
Referenced by addDbi(), and toString().
std::vector<Extension> coopy::store::FormatDesc::exts |
Definition at line 52 of file FormatDesc.h.
Referenced by addExtension(), and toString().
std::string coopy::store::FormatDesc::name |
Definition at line 22 of file FormatDesc.h.
Referenced by show().
std::vector<Option> coopy::store::FormatDesc::opts |
Definition at line 53 of file FormatDesc.h.
Referenced by addOption(), and toString().