MySQL 8.4.2
Source Code Documentation
keyring_common::data_file::File_reader Class Referencefinal

#include <reader.h>

Public Member Functions

 File_reader (const std::string &file, bool read_only, std::string &data)
 
 ~File_reader ()
 
size_t size () const
 
bool valid () const
 

Private Member Functions

bool read_data_from_file (const std::string &file, std::string &data)
 

Private Attributes

bool valid_
 Validity of the reader. More...
 
size_t size_
 File size. More...
 

Constructor & Destructor Documentation

◆ File_reader()

keyring_common::data_file::File_reader::File_reader ( const std::string &  file,
bool  read_only,
std::string &  data 
)
explicit

◆ ~File_reader()

keyring_common::data_file::File_reader::~File_reader ( )
inline

Member Function Documentation

◆ read_data_from_file()

bool keyring_common::data_file::File_reader::read_data_from_file ( const std::string &  file,
std::string &  data 
)
private

◆ size()

size_t keyring_common::data_file::File_reader::size ( ) const
inline

◆ valid()

bool keyring_common::data_file::File_reader::valid ( ) const
inline

Member Data Documentation

◆ size_

size_t keyring_common::data_file::File_reader::size_
private

File size.

◆ valid_

bool keyring_common::data_file::File_reader::valid_
private

Validity of the reader.


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