|
Rosetta
|
#include <GeneralFileManager.hh>

Public Member Functions | |
| GeneralFileContents ()=delete | |
| Default constructor is explicitly deleted. More... | |
| GeneralFileContents (std::string const &filename) | |
| File contents constructor. More... | |
| ~GeneralFileContents () override | |
| Destructor. More... | |
| GeneralFileContentsOP | clone () const |
| Clone function: make a copy of this object and return an owning pointer to the copy. More... | |
| std::string const & | get_file_contents () const |
Public Member Functions inherited from utility::VirtualBase | |
| VirtualBase ()=default | |
| Default constructor. More... | |
| virtual | ~VirtualBase ()=default |
| The virtual destructor is one of the main reasons for the VirtualBase class. More... | |
| VirtualBase (VirtualBase const &)=default | |
| VirtualBase (VirtualBase &&)=default | |
| VirtualBase & | operator= (VirtualBase const &)=default |
| VirtualBase & | operator= (VirtualBase &&)=default |
Private Attributes | |
| std::string | file_contents_ |
|
delete |
Default constructor is explicitly deleted.
| utility::io::GeneralFileContents::GeneralFileContents | ( | std::string const & | filename | ) |
File contents constructor.
References utility::file_contents(), file_contents_, and utility::filename().
|
override |
Destructor.
| GeneralFileContentsOP utility::io::GeneralFileContents::clone | ( | ) | const |
Clone function: make a copy of this object and return an owning pointer to the copy.
|
inline |
References file_contents_.
|
private |
Referenced by GeneralFileContents(), and get_file_contents().