OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Public Member Functions | Public Attributes | List of all members
reqVarInfo Struct Reference

#include <Types.h>

Public Member Functions

void writeState (std::ostream &os) const
 write this info to a stream, replaces boost::serialization
 
void readState (std::istream &is)
 read this info from a stream, replaces boost::serialization
 

Public Attributes

InfoType_t type
 
std::vector< double > value
 
bool is_valid
 

Detailed Description

type of an expression value is either a single double in case of objectives and for constraints we include the value of LHS and RHS. a requested variable has the following form:

Definition at line 69 of file Types.h.

Member Function Documentation

◆ readState()

void reqVarInfo::readState ( std::istream &  is)
inline

read this info from a stream, replaces boost::serialization

Definition at line 83 of file Types.h.

References is_valid, type, and value.

◆ writeState()

void reqVarInfo::writeState ( std::ostream &  os) const
inline

write this info to a stream, replaces boost::serialization

Definition at line 75 of file Types.h.

References is_valid, type, and value.

Member Data Documentation

◆ is_valid

bool reqVarInfo::is_valid

Definition at line 72 of file Types.h.

Referenced by readState(), and writeState().

◆ type

InfoType_t reqVarInfo::type

Definition at line 70 of file Types.h.

Referenced by readState(), and writeState().

◆ value

std::vector<double> reqVarInfo::value

Definition at line 71 of file Types.h.

Referenced by readState(), and writeState().


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