PandA-2024.02
Public Member Functions | Friends
variable2obj< data_obj > Struct Template Referenceabstract

Class managing map of the storage values on a generic object. More...

#include <Variable.hpp>

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

Public Member Functions

 variable2obj ()=default
 Constructor. More...
 
virtual ~variable2obj ()=default
 Destructor. More...
 
virtual void print_el (typename variable2obj< data_obj >::const_iterator &it) const =0
 Function that print the information associated with a variable. More...
 
virtual void print () const
 Function that prints the class variable2obj. More...
 
const data_obj operator() (const unsigned int &__k) const
 
template<class Iterator >
void resize (Iterator left, Iterator right, int val)
 

Friends

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

Detailed Description

template<class data_obj>
struct variable2obj< data_obj >

Class managing map of the storage values on a generic object.

Definition at line 60 of file Variable.hpp.

Constructor & Destructor Documentation

◆ variable2obj()

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

Constructor.

◆ ~variable2obj()

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

Destructor.

Member Function Documentation

◆ operator()()

template<class data_obj>
const data_obj variable2obj< data_obj >::operator() ( const unsigned int &  __k) const
inline

Definition at line 91 of file Variable.hpp.

◆ print()

template<class data_obj>
virtual void variable2obj< data_obj >::print ( ) const
inlinevirtual

Function that prints the class variable2obj.

Parameters
osis the output stream

Definition at line 82 of file Variable.hpp.

Referenced by vertex_coloring_register::RegisterBinding(), unique_binding_register::RegisterBinding(), chordal_coloring_register::RegisterBinding(), and weighted_clique_register::RegisterBinding().

Here is the caller graph for this function:

◆ print_el()

template<class data_obj>
virtual void variable2obj< data_obj >::print_el ( typename variable2obj< data_obj >::const_iterator &  it) const
pure virtual

Function that print the information associated with a variable.

Parameters
osis the output stream

Referenced by variable2obj< generic_objRef >::print().

Here is the caller graph for this function:

◆ resize()

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

Definition at line 98 of file Variable.hpp.

Friends And Related Function Documentation

◆ operator<< [1/2]

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

Friend definition of the << operator.

Parameters
osis the output stream

Definition at line 110 of file Variable.hpp.

◆ operator<< [2/2]

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

Friend definition of the << operator.

Pointer version.

Parameters
osis the output stream

Definition at line 120 of file Variable.hpp.


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

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