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

Data Structures

struct  SLocation

Public Member Functions

 CParser (const Sleipnir::IOntology **, const Sleipnir::CGenome &)
size_t GetOntologies () const
const IOntologyGetOntology (size_t) const
const CGenomeGetGenome () const

Static Public Member Functions

static const char * GetCommand (size_t)

Static Public Attributes

static const char c_cSep = '/'
static const char c_szDot [] = "."
static const char c_szDotDot [] = ".."
static const char * c_aszParsers [] = { "cat", "cd", "find", "help", "ls", "parentage", NULL }

Protected Types

typedef set< const CGene * > TSetPGenes

Protected Member Functions

bool Recurse (SLocation, bool, bool, std::vector< SLocation > &) const
void TermFinder (const Sleipnir::CGenes &, float, const Sleipnir::CGenes &, bool, bool, bool, std::vector< size_t > &, std::vector< Sleipnir::STermFound > &) const

Static Protected Member Functions

static bool SplitLocation (const string &, std::vector< string > &)
static bool IsRooted (const string &)
static SLocation GetLocation (const std::vector< const Sleipnir::IOntology * > &, const string &=c_szDot, bool=true, const SLocation *=NULL)
static bool MoveLocation (SLocation &, const string &, const std::vector< const Sleipnir::IOntology * > &)
static void CollectGenes (const std::vector< SLocation > &, TSetPGenes &)

Protected Attributes

const CGenome & m_Genome
vector< const IOntology * > m_vecpOntologies

Detailed Description

Definition at line 25 of file parser.h.


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