Sleipnir
Data Structures | Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes
CParserConsole Class Reference
Inheritance diagram for CParserConsole:
CParser

Data Structures

struct  SArgs

Public Member Functions

 CParserConsole (const Sleipnir::IOntology **, const Sleipnir::CGenome &)
bool ProcessLine (const char *)
SLocation GetLocation (const string &=c_szDot, bool=true) const

Protected Types

typedef bool(CParserConsole::* TPFnParser )(const vector< string > &)

Protected Member Functions

bool ParseCat (const std::vector< string > &)
bool ParseCd (const std::vector< string > &)
bool ParseHelp (const std::vector< string > &)
bool ParseLs (const std::vector< string > &)
bool ParseFind (const std::vector< string > &)
bool ParseParentage (const std::vector< string > &)
bool ParseShell (const string &) const
void PrintOntology (const Sleipnir::IOntology *, char) const
void PrintLocations (const std::vector< SLocation > &, const SArgs &) const
void PrintGenes (const std::vector< SLocation > &, const SArgs &) const

Static Protected Member Functions

static void PrintLink (const Sleipnir::IOntology *, size_t, char, const SArgs &)
static void PrintNumber (size_t, size_t)
static void PrintSpaces (size_t)
static void PrintAnnotation (const Sleipnir::IOntology *, size_t, const SArgs &, const Sleipnir::STermFound *=NULL)
static void PrintGloss (string, size_t, bool)
static void PrintGene (const Sleipnir::CGene &, const SArgs &)
static void PrintGenes (const std::vector< const Sleipnir::CGene * > &, size_t=0, const Sleipnir::CGenes *=NULL)
static size_t FormatGenes (const std::vector< const Sleipnir::CGene * > &, std::vector< string > &, const Sleipnir::CGenes *=NULL)

Protected Attributes

SLocation m_sLocation

Static Protected Attributes

static const size_t c_iWidthGenes = 5
static const size_t c_iWidthID = 19
static const size_t c_iWidthGloss = 43
static const size_t c_iWidthOnto = 32
static const size_t c_iWidthP = 14
static const size_t c_iWidthScreen = 80
static const size_t c_iSizeCutoff = 40
static const char c_cSemicolon = ';'
static const char c_cShell = '!'
static const char c_szDotDotDot [] = "..."
static const char c_szBackground [] = "-k"
static const char c_szBonferroni [] = "-b"
static const char c_szGenes [] = "-g"
static const char c_szLong [] = "-l"
static const char c_szRecursive [] = "-r"
static const char c_szSibs [] = "-s"
static const char c_szStar [] = "*"
static const char c_szZeroes [] = "-a"
static const char c_szHelpHelp [] = "parentage <onto> <file> For terms in onto, list parents in the given set."
static const TPFnParser c_apfnParsers []
static const char * c_aszHelps []

Detailed Description

Definition at line 27 of file parserconsole.h.


Field Documentation

const CParserConsole::TPFnParser CParserConsole::c_apfnParsers [static, protected]
Initial value:
    { &CParserConsole::ParseCat, &CParserConsole::ParseCd, &CParserConsole::ParseFind,
    &CParserConsole::ParseHelp, &CParserConsole::ParseLs, &CParserConsole::ParseParentage, NULL }

Definition at line 73 of file parserconsole.h.


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