0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Static Public Member Functions | List of all members
Hypertable::Canonicalize Class Reference

Static class with methods for canonicalizing table and namespace names. More...

#include <Canonicalize.h>

Static Public Member Functions

static void table_name (std::string &name)
 Canonicalizes a table name. More...
 
static void namespace_path (std::string &path)
 Canonicalizes a namespace path. More...
 

Detailed Description

Static class with methods for canonicalizing table and namespace names.

Definition at line 38 of file Canonicalize.h.

Member Function Documentation

void Canonicalize::namespace_path ( std::string &  path)
static

Canonicalizes a namespace path.

Strips leading and trailing whitespace and ensures that path begins with a '/' character

Parameters
pathNamespace path to canonicalize

Definition at line 44 of file Canonicalize.cc.

void Canonicalize::table_name ( std::string &  name)
static

Canonicalizes a table name.

Strips leading and trailing whitespace and ensures that name begins with a '/' character

Parameters
nameTable name to canonicalize

Definition at line 38 of file Canonicalize.cc.


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