const String & GetFilePath() const
Returns the file path leading to the file that is encapsulated by the TextFile.
Definition: text_file.cc:33
Wraps the loading and accessing of text files from disk.
Definition: text_file.h:15
~TextFile()
Definition: text_file.cc:27
TextFile(const String &file_path)
Definition: text_file.cc:12
const String & GetFileContent() const
Returns the contents of the file encapsulated by the TextFile.
Definition: text_file.cc:39
String file_content_
Contents of the file that is encapsulated by the TextFile.
Definition: text_file.h:43
String file_path_
File path to the file that is encapsulated by the TextFile.
Definition: text_file.h:42