0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
Hypertable::CommandInterpreter Class Referenceabstract

#include <CommandInterpreter.h>

Inheritance diagram for Hypertable::CommandInterpreter:
Inheritance graph
[legend]

Public Types

enum  { TIMESTAMP_FORMAT_DEFAULT, TIMESTAMP_FORMAT_NANOS }
 

Public Member Functions

 CommandInterpreter ()
 
virtual int execute_line (const String &line)=0
 
void set_timestamp_output_format (const String &format)
 
void set_silent (bool silent)
 
void set_test_mode (bool mode)
 
void set_interactive_mode (bool mode)
 
bool silent_mode ()
 
bool test_mode ()
 
bool normal_mode ()
 
int timestamp_output_format ()
 

Protected Attributes

int m_timestamp_output_format
 
bool m_silent
 
bool m_test_mode
 
bool m_interactive
 

Detailed Description

Definition at line 31 of file CommandInterpreter.h.

Member Enumeration Documentation

anonymous enum
Enumerator
TIMESTAMP_FORMAT_DEFAULT 
TIMESTAMP_FORMAT_NANOS 

Definition at line 33 of file CommandInterpreter.h.

Constructor & Destructor Documentation

CommandInterpreter::CommandInterpreter ( )

Definition at line 31 of file CommandInterpreter.cc.

Member Function Documentation

virtual int Hypertable::CommandInterpreter::execute_line ( const String line)
pure virtual
bool Hypertable::CommandInterpreter::normal_mode ( )
inline

Definition at line 44 of file CommandInterpreter.h.

void Hypertable::CommandInterpreter::set_interactive_mode ( bool  mode)
inline

Definition at line 40 of file CommandInterpreter.h.

void Hypertable::CommandInterpreter::set_silent ( bool  silent)
inline

Definition at line 38 of file CommandInterpreter.h.

void Hypertable::CommandInterpreter::set_test_mode ( bool  mode)
inline

Definition at line 39 of file CommandInterpreter.h.

void CommandInterpreter::set_timestamp_output_format ( const String format)

Definition at line 38 of file CommandInterpreter.cc.

bool Hypertable::CommandInterpreter::silent_mode ( )
inline

Definition at line 42 of file CommandInterpreter.h.

bool Hypertable::CommandInterpreter::test_mode ( )
inline

Definition at line 43 of file CommandInterpreter.h.

int Hypertable::CommandInterpreter::timestamp_output_format ( )
inline

Definition at line 45 of file CommandInterpreter.h.

Member Data Documentation

bool Hypertable::CommandInterpreter::m_interactive
protected

Definition at line 51 of file CommandInterpreter.h.

bool Hypertable::CommandInterpreter::m_silent
protected

Definition at line 49 of file CommandInterpreter.h.

bool Hypertable::CommandInterpreter::m_test_mode
protected

Definition at line 50 of file CommandInterpreter.h.

int Hypertable::CommandInterpreter::m_timestamp_output_format
protected

Definition at line 48 of file CommandInterpreter.h.


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