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... | |
Private Attributes | |
std::vector< std::string > | m_files |
List of word files to use. More... | |
Source word list files.
Definition at line 373 of file hash-example.cc.
|
inline |
CommandLine callback function to add a file argument to the list.
[in] | file | the word file to add |
Definition at line 384 of file hash-example.cc.
References m_files.
Referenced by main(), and ReadInto().
|
inline |
Add phrases from the files into the dict.
[in,out] | dict | the Dictionary to add words to |
Definition at line 399 of file hash-example.cc.
References ns3::Hash::Example::Dictionary::Add(), Add(), and m_files.
Referenced by main().
|
private |
List of word files to use.
Definition at line 444 of file hash-example.cc.
Referenced by Add(), and ReadInto().