GNode library (C++)
Loading...
Searching...
No Matches
gnode Namespace Reference

Classes

class  BaseData
 Abstract base class representing generic data with type information. More...
 
class  Data
 Template class for holding data of a specific type. More...
 
class  Graph
 The Graph class provides methods for manipulating nodes and connections in a directed graph structure. More...
 
class  Input
 Template class for input ports, specialized by data type. More...
 
struct  Link
 Represents a connection between two nodes in a graph. More...
 
class  Logger
 Manages logging functionality using the spdlog library. More...
 
class  Node
 Abstract Node class that represents a basic building block in a graph-based system. More...
 
class  Output
 Template class for output ports, specialized by data type. More...
 
struct  Point
 Represents a point in a 2D space. More...
 
class  Port
 Abstract base class representing a port in a node. More...
 

Enumerations

enum  PortType { IN , OUT }
 Enumeration for port types, indicating whether a port is an input or an output. More...
 

Functions

template<typename T >
bool contains (const std::vector< T > &vec, const T &value)
 

Enumeration Type Documentation

◆ PortType

Enumeration for port types, indicating whether a port is an input or an output.

Enumerator
IN 

Represents an input port.

OUT 

Represents an output port.

Function Documentation

◆ contains()

template<typename T >
bool gnode::contains ( const std::vector< T > &  vec,
const T &  value 
)