Column-oriented GPU-accelerated Database Management System
CoGaDB
CoGaDB::CommandLineInterpreter Class Reference

#include <commandline_interpreter.hpp>

Collaboration diagram for CoGaDB::CommandLineInterpreter:

List of all members.

Public Member Functions

 CommandLineInterpreter ()
bool execute (const std::string &command)
bool getline (const std::string &prompt, std::string &result)

Private Types

typedef bool(* SimpleCommandHandlerPtr )()
typedef bool(* ParameterizedCommandHandlerPtr )(const std::string &)
typedef std::map< std::string,
SimpleCommandHandlerPtr
SimpleCommandMap
typedef std::map< std::string,
ParameterizedCommandHandlerPtr
ParameterizedCommandMap

Private Attributes

SimpleCommandMap simple_command_map_
ParameterizedCommandMap command_map_
std::string prompt_

Member Typedef Documentation

typedef bool(* CoGaDB::CommandLineInterpreter::ParameterizedCommandHandlerPtr)(const std::string &) [private]

Constructor & Destructor Documentation


Member Function Documentation

bool CoGaDB::CommandLineInterpreter::execute ( const std::string &  command)

References command_map_, and simple_command_map_.

Referenced by main().

Here is the caller graph for this function:

bool CoGaDB::CommandLineInterpreter::getline ( const std::string &  prompt,
std::string &  result 
)

Referenced by main(), and CoGaDB::simple_SSB_Queries().

Here is the caller graph for this function:


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines