Essentia  2.1-beta6-dev
NetworkParser Class Reference

#include <networkparser.h>

Public Member Functions

template<typename NetworkType >
 NetworkParser (const NetworkType &network, bool createConnections=true)
 
 ~NetworkParser ()
 
const std::vector< std::string > & algorithms () const
 
const std::vector< std::pair< int, int > > & connections () const
 
const std::vector< std::pair< std::string, std::string > > & namedConnections () const
 
Networknetwork ()
 

Protected Member Functions

void createNetwork (bool createConnections=true)
 
void createConnections ()
 

Protected Attributes

AsciiDAGParser _graph
 
Network_network
 
std::vector< streaming::Algorithm * > _algos
 

Constructor & Destructor Documentation

◆ NetworkParser()

NetworkParser ( const NetworkType &  network,
bool  createConnections = true 
)
inline

◆ ~NetworkParser()

~NetworkParser ( )
inline

Member Function Documentation

◆ algorithms()

const std::vector<std::string>& algorithms ( ) const
inline

◆ connections()

const std::vector<std::pair<int, int> >& connections ( ) const
inline

◆ createConnections()

void createConnections ( )
protected

◆ createNetwork()

void createNetwork ( bool  createConnections = true)
protected

◆ namedConnections()

const std::vector<std::pair<std::string, std::string> >& namedConnections ( ) const
inline

◆ network()

Network* network ( )
inline

Member Data Documentation

◆ _algos

std::vector<streaming::Algorithm*> _algos
protected

◆ _graph

◆ _network

Network* _network
protected

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