PandA-2024.02
Public Member Functions | Friends
vertex2obj< data_obj > Struct Template Reference

Class managing map of the vertexes on a generic object. More...

#include <Vertex.hpp>

Inheritance diagram for vertex2obj< data_obj >:
Inheritance graph
[legend]
Collaboration diagram for vertex2obj< data_obj >:
Collaboration graph
[legend]

Public Member Functions

 vertex2obj ()=default
 Constructor. More...
 
virtual ~vertex2obj ()=default
 Destructor. More...
 
virtual void print_el (std::ostream &os, const graph *, typename vertex2obj< data_obj >::const_iterator &it) const
 Function that print the information associated with a vertex. More...
 
virtual void print_rowHead (std::ostream &os, const graph *data, typename vertex2obj< data_obj >::const_iterator &it) const
 Function that print the name and the operation performed by the vertex. More...
 
virtual void print (std::ostream &os, const graph *data=nullptr) const
 Function that prints the class vertex2obj. More...
 
const data_obj operator() (const vertex &__k) const
 
template<class Iterator , class data_type >
void resize (Iterator left, Iterator right, data_type val)
 

Friends

std::ostream & operator<< (std::ostream &os, const vertex2obj &s)
 Friend definition of the << operator. More...
 
std::ostream & operator<< (std::ostream &os, const vertex2obj *s)
 Friend definition of the << operator. More...
 

Detailed Description

template<class data_obj>
struct vertex2obj< data_obj >

Class managing map of the vertexes on a generic object.

Definition at line 59 of file Vertex.hpp.

Constructor & Destructor Documentation

◆ vertex2obj()

template<class data_obj>
vertex2obj< data_obj >::vertex2obj ( )
default

Constructor.

◆ ~vertex2obj()

template<class data_obj>
virtual vertex2obj< data_obj >::~vertex2obj ( )
virtualdefault

Destructor.

Member Function Documentation

◆ operator()()

template<class data_obj>
const data_obj vertex2obj< data_obj >::operator() ( const vertex __k) const
inline

Definition at line 126 of file Vertex.hpp.

◆ print()

template<class data_obj>
virtual void vertex2obj< data_obj >::print ( std::ostream &  os,
const graph data = nullptr 
) const
inlinevirtual

Function that prints the class vertex2obj.

Parameters
osis the output stream

Definition at line 104 of file Vertex.hpp.

◆ print_el()

template<class data_obj>
virtual void vertex2obj< data_obj >::print_el ( std::ostream &  os,
const graph ,
typename vertex2obj< data_obj >::const_iterator &  it 
) const
inlinevirtual

Function that print the information associated with a vertex.

Parameters
osis the output stream

Definition at line 75 of file Vertex.hpp.

Referenced by vertex2obj< dataType >::print().

Here is the caller graph for this function:

◆ print_rowHead()

template<class data_obj>
virtual void vertex2obj< data_obj >::print_rowHead ( std::ostream &  os,
const graph data,
typename vertex2obj< data_obj >::const_iterator &  it 
) const
inlinevirtual

Function that print the name and the operation performed by the vertex.

Parameters
osis the output stream

os << GET_NAME(data, it->first) + "(" + GET_OP(data, it->first) + ")";

Definition at line 84 of file Vertex.hpp.

Referenced by vertex2obj< dataType >::print().

Here is the caller graph for this function:

◆ resize()

template<class data_obj>
template<class Iterator , class data_type >
void vertex2obj< data_obj >::resize ( Iterator  left,
Iterator  right,
data_type  val 
)
inline

Definition at line 132 of file Vertex.hpp.

Referenced by ASLAP::add_constraints_to_ALAP(), ASLAP::add_constraints_to_ASAP(), ASLAP::compute_ALAP_fast(), and ASLAP::compute_ASAP().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator<< [1/2]

template<class data_obj>
std::ostream& operator<< ( std::ostream &  os,
const vertex2obj< data_obj > &  s 
)
friend

Friend definition of the << operator.

Parameters
osis the output stream

Definition at line 144 of file Vertex.hpp.

◆ operator<< [2/2]

template<class data_obj>
std::ostream& operator<< ( std::ostream &  os,
const vertex2obj< data_obj > *  s 
)
friend

Friend definition of the << operator.

Pointer version.

Parameters
osis the output stream

Definition at line 154 of file Vertex.hpp.


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

Generated on Mon Feb 12 2024 13:04:10 for PandA-2024.02 by doxygen 1.8.13