|
A library for working with phylogenetic and population genetic data.
v0.32.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_
79 size_t read(
char* buffer,
size_t size )
82 return read_( buffer, size );
91 return source_name_();
101 return source_string_();
119 return is_trivial_();
128 virtual size_t read_(
char* buffer,
size_t size ) = 0;
130 virtual std::string source_name_()
const = 0;
131 virtual std::string source_string_()
const = 0;
134 virtual bool is_trivial_()
const
144 #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.