|
babymaker
e95a6a9342d4604277fe7cc6149b6b5b24447d89
|
#include "generate_baby.hh"#include <cstring>#include <stdexcept>#include <iostream>#include <iomanip>#include <vector>#include <string>#include <fstream>#include <set>#include <unistd.h>Go to the source code of this file.
Functions | |
| string | ToCaps (string str) |
| string | execute (const string &cmd) |
| vector< string > | Tokenize (const string &input, const string &tokens=" ") |
| string | FixName (string name) |
| set< Variable > | GetVariables (const string &file_name) |
| int | main () |
| bool | Contains (const string &text, const string &pattern) |
| void | WriteBaseHeader (const set< Variable > &all_vars, const set< Variable > &com_vars, const vector< string > &names) |
| void | WriteBaseSource (const set< Variable > &all_vars, const set< Variable > &com_vars, const vector< string > &names) |
| void | WriteSepHeader (const pair< string, set< Variable > > &sep_vars) |
| void | WriteSepSource (const pair< string, set< Variable > > &sep_vars) |
| bool Contains | ( | const string & | text, |
| const string & | pattern | ||
| ) |
Definition at line 166 of file generate_baby.cxx.
Referenced by WriteBaseHeader(), WriteBaseSource(), WriteSepHeader(), and WriteSepSource().
| string execute | ( | const string & | cmd | ) |
Definition at line 26 of file generate_baby.cxx.
Referenced by main().
| string FixName | ( | string | name | ) |
Definition at line 54 of file generate_baby.cxx.
Referenced by main().
| set<Variable> GetVariables | ( | const string & | file_name | ) |
Definition at line 85 of file generate_baby.cxx.
References validate_ntuples::line.
Referenced by main().
| int main | ( | ) |
Definition at line 112 of file generate_baby.cxx.
References execute(), FixName(), GetVariables(), send_change_filter::ifile, Tokenize(), WriteBaseHeader(), WriteBaseSource(), WriteSepHeader(), and WriteSepSource().
| string ToCaps | ( | string | str | ) |
Definition at line 17 of file generate_baby.cxx.
Referenced by WriteSepHeader(), and WriteSepSource().
| vector<string> Tokenize | ( | const string & | input, |
| const string & | tokens = " " |
||
| ) |
Definition at line 40 of file generate_baby.cxx.
Referenced by main().
| void WriteSepHeader | ( | const pair< string, set< Variable > > & | sep_vars | ) |
Definition at line 512 of file generate_baby.cxx.
References Contains(), and ToCaps().
Referenced by main().
| void WriteSepSource | ( | const pair< string, set< Variable > > & | sep_vars | ) |
Definition at line 571 of file generate_baby.cxx.
References Contains(), and ToCaps().
Referenced by main().
1.8.11