Compiles a cluster definition file into an executable bash script.
More...
#include <ToJson.h>
Compiles a cluster definition file into an executable bash script.
Definition at line 45 of file ToJson.h.
ToJson::ToJson |
( |
const string & |
fname | ) |
|
Constructor.
Initializes m_definition_file with fname
and initializes #m_output_script with the pathname of the output script constructed as follows:
${HOME} + "/.cluster/" + m_definition_file + ".sh"
It then calls compilation_needed() to determine if the script needs to be rebuilt and, if so, calls make().
- Parameters
-
fname | Pathname of cluster definition file |
Definition at line 184 of file ToJson.cc.
string Hypertable::ClusterDefinitionFile::ToJson::str |
( |
| ) |
|
|
inline |
Returns pathname of output script.
- Returns
- Pathname of output script
Definition at line 62 of file ToJson.h.
string Hypertable::ClusterDefinitionFile::ToJson::m_definition_file |
|
private |
Cluster definition file.
Definition at line 67 of file ToJson.h.
string Hypertable::ClusterDefinitionFile::ToJson::m_str |
|
private |
Output JSON string.
Definition at line 70 of file ToJson.h.
The documentation for this class was generated from the following files:
- /home/doug/src/hypertable/src/cc/Common/ClusterDefinitionFile/ToJson.h
- /home/doug/src/hypertable/src/cc/Common/ClusterDefinitionFile/ToJson.cc