Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
utility::io::GeneralFileContents Class Reference

#include <GeneralFileManager.hh>

Inheritance diagram for utility::io::GeneralFileContents:
Inheritance graph
[legend]

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
 
VirtualBaseoperator= (VirtualBase const &)=default
 
VirtualBaseoperator= (VirtualBase &&)=default
 

Private Attributes

std::string file_contents_
 

Constructor & Destructor Documentation

utility::io::GeneralFileContents::GeneralFileContents ( )
delete

Default constructor is explicitly deleted.

utility::io::GeneralFileContents::GeneralFileContents ( std::string const &  filename)

File contents constructor.

References utility::file_contents(), and file_contents_.

utility::io::GeneralFileContents::~GeneralFileContents ( )
override

Destructor.

Member Function Documentation

GeneralFileContentsOP utility::io::GeneralFileContents::clone ( ) const

Clone function: make a copy of this object and return an owning pointer to the copy.

std::string const& utility::io::GeneralFileContents::get_file_contents ( ) const
inline

References file_contents_.

Member Data Documentation

std::string utility::io::GeneralFileContents::file_contents_
private

The documentation for this class was generated from the following files: