Source word list files. More...
Public Member Functions | |
bool | Add (const std::string &file) |
CommandLine callback function to add a file argument to the list. More... | |
void | ReadInto (Dictionary &dict) |
Add phrases from the files into the dict. More... | |
Static Public Member Functions | |
static std::string | GetDefault () |
Private Attributes | |
std::vector< std::string > | m_files |
List of word files to use. More... | |
Source word list files.
Definition at line 431 of file hash-example.cc.
|
inline |
CommandLine callback function to add a file argument to the list.
[in] | file | The word file to add. |
true
If the file is new to the list. Definition at line 440 of file hash-example.cc.
References create-module::file, and m_files.
Referenced by ReadInto().
|
inlinestatic |
Definition at line 451 of file hash-example.cc.
Referenced by ReadInto().
|
inline |
Add phrases from the files into the dict.
[in,out] | dict | The Dictionary to add words to. |
Definition at line 461 of file hash-example.cc.
References ns3::Hash::Example::Dictionary::Add(), Add(), GetDefault(), and m_files.
|
private |
List of word files to use.
Definition at line 500 of file hash-example.cc.
Referenced by Add(), and ReadInto().