27 #ifndef Common_ClusterDefinition_Token_h
28 #define Common_ClusterDefinition_Token_h
35 namespace Hypertable {
namespace ClusterDefinitionFile {
60 void clear() { type=
NONE; text.clear(); line=0; fname.clear(); }
65 void create_translator();
70 static const char *type_to_text(
int type);
88 #endif // Common_ClusterDefinition_Token_h
Type
Enumeration for token types.
TranslatorPtr translator
Translator object for token text.
shared_ptr< Translator > TranslatorPtr
Smart pointer to Translator.
Declarations for Translator.
string fname
Pathname of file from which token was extracted.
Cluster definition file token.
void clear()
Clears token state.