docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
sdfg::data_flow::RawFileConstSource Class Reference

Constant data stored in external files, using arg_capture_io code to read (raw data, no meta data inside the files themselves, meta data stored here). More...

#include <sdfg/data_flow/library_nodes/load_const_node.h>

Inheritance diagram for sdfg::data_flow::RawFileConstSource:
[legend]

Public Member Functions

 RawFileConstSource (std::filesystem::path filename, size_t num_bytes)
std::unique_ptr< ConstSource > clone () const override
 for passes to access the data to potentially fold operations into it etc.
bool is_inlineable () const override
bool in_external_file () const override
const std::filesystem::path & filename () const override
byte_iterator inline_begin () const override
byte_iterator inline_end () const override
size_t num_bytes () const override
std::string toStr () const override
Public Member Functions inherited from sdfg::data_flow::ConstSource
virtual ~ConstSource ()=default

Additional Inherited Members

Public Types inherited from sdfg::data_flow::ConstSource
using byte_iterator = std::vector<uint8_t>::const_iterator

Detailed Description

Constant data stored in external files, using arg_capture_io code to read (raw data, no meta data inside the files themselves, meta data stored here).

Constructor & Destructor Documentation

◆ RawFileConstSource()

sdfg::data_flow::RawFileConstSource::RawFileConstSource ( std::filesystem::path filename,
size_t num_bytes )
inline

Member Function Documentation

◆ clone()

std::unique_ptr< ConstSource > sdfg::data_flow::RawFileConstSource::clone ( ) const
inlineoverridevirtual

for passes to access the data to potentially fold operations into it etc.

Implements sdfg::data_flow::ConstSource.

◆ filename()

const std::filesystem::path & sdfg::data_flow::RawFileConstSource::filename ( ) const
inlineoverridevirtual

◆ in_external_file()

bool sdfg::data_flow::RawFileConstSource::in_external_file ( ) const
inlineoverridevirtual

◆ inline_begin()

byte_iterator sdfg::data_flow::RawFileConstSource::inline_begin ( ) const
inlineoverridevirtual

◆ inline_end()

byte_iterator sdfg::data_flow::RawFileConstSource::inline_end ( ) const
inlineoverridevirtual

◆ is_inlineable()

bool sdfg::data_flow::RawFileConstSource::is_inlineable ( ) const
inlineoverridevirtual

◆ num_bytes()

size_t sdfg::data_flow::RawFileConstSource::num_bytes ( ) const
inlineoverridevirtual

◆ toStr()

std::string sdfg::data_flow::RawFileConstSource::toStr ( ) const
inlineoverridevirtual

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