|
A library for working with phylogenetic and population genetic data.
v0.27.0
|
|
Go to the documentation of this file. 1 #ifndef GENESIS_UTILS_IO_BASE_INPUT_SOURCE_H_
2 #define GENESIS_UTILS_IO_BASE_INPUT_SOURCE_H_
76 size_t read(
char* buffer,
size_t size )
79 return read_( buffer, size );
88 return source_name_();
98 return source_string_();
107 virtual size_t read_(
char* buffer,
size_t size ) = 0;
109 virtual std::string source_name_()
const = 0;
110 virtual std::string source_string_()
const = 0;
117 #endif // include guard
Provides functions for accessing the file system.
Container namespace for all symbols of genesis in order to keep them separate when used as a library.