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

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

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

Public Types

using byte_iterator = std::vector<uint8_t>::const_iterator

Public Member Functions

virtual ~ConstSource ()=default
virtual std::unique_ptr< ConstSource > clone () const =0
 for passes to access the data to potentially fold operations into it etc.
virtual bool in_external_file () const =0
virtual const std::filesystem::path & filename () const =0
virtual bool is_inlineable () const =0
virtual byte_iterator inline_begin () const =0
virtual byte_iterator inline_end () const =0
virtual size_t num_bytes () const =0
virtual std::string toStr () const =0

Member Typedef Documentation

◆ byte_iterator

using sdfg::data_flow::ConstSource::byte_iterator = std::vector<uint8_t>::const_iterator

Constructor & Destructor Documentation

◆ ~ConstSource()

virtual sdfg::data_flow::ConstSource::~ConstSource ( )
virtualdefault

Member Function Documentation

◆ clone()

virtual std::unique_ptr< ConstSource > sdfg::data_flow::ConstSource::clone ( ) const
pure virtual

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

Implemented in sdfg::data_flow::InMemoryConstSource, and sdfg::data_flow::RawFileConstSource.

◆ filename()

virtual const std::filesystem::path & sdfg::data_flow::ConstSource::filename ( ) const
pure virtual

◆ in_external_file()

virtual bool sdfg::data_flow::ConstSource::in_external_file ( ) const
pure virtual

◆ inline_begin()

virtual byte_iterator sdfg::data_flow::ConstSource::inline_begin ( ) const
pure virtual

◆ inline_end()

virtual byte_iterator sdfg::data_flow::ConstSource::inline_end ( ) const
pure virtual

◆ is_inlineable()

virtual bool sdfg::data_flow::ConstSource::is_inlineable ( ) const
pure virtual

◆ num_bytes()

virtual size_t sdfg::data_flow::ConstSource::num_bytes ( ) const
pure virtual

◆ toStr()

virtual std::string sdfg::data_flow::ConstSource::toStr ( ) const
pure virtual

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