My Project
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
datafile Class Reference
Collaboration diagram for datafile:
Collaboration graph
[legend]

Public Member Functions

 datafile (YAML::Node data, RandomGenerator &)
 
Word transform (Word, bool keephist, std::string_view hist_sep) const
 
Word generate (RandomGenerator &rng, counters c, const node &node, const std::vector< std::string > &args, const std::variant< std::monostate, flist_t, ilist_t > &freq_override, bool keephist, std::string_view sep)
 
nodefind_node (std::string_view name)
 
const nodefind_node (std::string_view name) const
 
nodefind_node (std::string_view name, int argc)
 
const nodefind_node (std::string_view name, int argc) const
 
datafilelookup_domain (std::string_view name)
 
const datafilelookup_domain (std::string_view name) const
 

Static Public Member Functions

static std::tuple< std::string, int, bool > parse_nodename (std::string_view)
 
static std::unordered_map< channelID, std::string > & ch_db ()
 
template<typename Datafile >
static auto find_node_impl (Datafile &This, std::string_view name)
 
template<typename Map >
static auto find_node_impl (Map &nodes, std::string_view name, int argc) -> kblib::copy_const_t< Map, node > *
 

Public Attributes

bytecode_machine bm
 
word_data_t channelNames
 
vmap< channelID, std::shared_ptr< datafile > > externFiles
 
small_vector< ReplaceStage, 1 > replace
 
std::optional< std::string > startNode
 
vmap< std::string, std::vector< node >, 1 > nodes
 

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