Generated on Tue Feb 11 2025 17:33:26 for Gecode by doxygen 1.12.0
Gecode::CPProfiler::Message Class Reference

Message for the CP Profiler. More...

#include <message.hpp>

Public Member Functions

bool isNode (void) const
 
bool isDone (void) const
 
bool isStart (void) const
 
bool isRestart (void) const
 
NodeUID nodeUID (void) const
 
void set_nodeUID (const NodeUID &n)
 
NodeUID parentUID (void) const
 
void set_parentUID (const NodeUID &p)
 
int32_t alt (void) const
 
void set_alt (int32_t alt)
 
int32_t kids (void) const
 
void set_kids (int32_t kids)
 
NodeStatus status (void) const
 
void set_status (NodeStatus status)
 
void set_label (const std::string &label)
 
void set_info (const std::string &info)
 
void set_nogood (const std::string &nogood)
 
void set_version (int32_t v)
 
bool has_version (void) const
 
int32_t version (void) const
 
bool has_label (void) const
 
const std::string & label () const
 
bool has_nogood (void) const
 
const std::string & nogood (void) const
 
bool has_info (void) const
 
const std::string & info (void) const
 
void set_type (MsgType type)
 
MsgType type (void) const
 
void reset (void)
 

Protected Attributes

MsgType _type
 
NodeUID _node
 
NodeUID _parent
 
int32_t _alt
 
int32_t _kids
 
NodeStatus _status
 
bool _have_label {false}
 
std::string _label
 
bool _have_nogood {false}
 
std::string _nogood
 
bool _have_info {false}
 
std::string _info
 
bool _have_version {false}
 
int32_t _version
 

Detailed Description

Message for the CP Profiler.

Definition at line 124 of file message.hpp.

Member Function Documentation

◆ isNode()

bool Gecode::CPProfiler::Message::isNode ( void ) const
inline

Definition at line 147 of file message.hpp.

◆ isDone()

bool Gecode::CPProfiler::Message::isDone ( void ) const
inline

Definition at line 148 of file message.hpp.

◆ isStart()

bool Gecode::CPProfiler::Message::isStart ( void ) const
inline

Definition at line 149 of file message.hpp.

◆ isRestart()

bool Gecode::CPProfiler::Message::isRestart ( void ) const
inline

Definition at line 150 of file message.hpp.

◆ nodeUID()

NodeUID Gecode::CPProfiler::Message::nodeUID ( void ) const
inline

Definition at line 152 of file message.hpp.

◆ set_nodeUID()

void Gecode::CPProfiler::Message::set_nodeUID ( const NodeUID & n)
inline

Definition at line 153 of file message.hpp.

◆ parentUID()

NodeUID Gecode::CPProfiler::Message::parentUID ( void ) const
inline

Definition at line 155 of file message.hpp.

◆ set_parentUID()

void Gecode::CPProfiler::Message::set_parentUID ( const NodeUID & p)
inline

Definition at line 156 of file message.hpp.

◆ alt()

int32_t Gecode::CPProfiler::Message::alt ( void ) const
inline

Definition at line 158 of file message.hpp.

◆ set_alt()

void Gecode::CPProfiler::Message::set_alt ( int32_t alt)
inline

Definition at line 159 of file message.hpp.

◆ kids()

int32_t Gecode::CPProfiler::Message::kids ( void ) const
inline

Definition at line 161 of file message.hpp.

◆ set_kids()

void Gecode::CPProfiler::Message::set_kids ( int32_t kids)
inline

Definition at line 162 of file message.hpp.

◆ status()

NodeStatus Gecode::CPProfiler::Message::status ( void ) const
inline

Definition at line 164 of file message.hpp.

◆ set_status()

void Gecode::CPProfiler::Message::set_status ( NodeStatus status)
inline

Definition at line 165 of file message.hpp.

◆ set_label()

void Gecode::CPProfiler::Message::set_label ( const std::string & label)
inline

Definition at line 167 of file message.hpp.

◆ set_info()

void Gecode::CPProfiler::Message::set_info ( const std::string & info)
inline

Definition at line 172 of file message.hpp.

◆ set_nogood()

void Gecode::CPProfiler::Message::set_nogood ( const std::string & nogood)
inline

Definition at line 177 of file message.hpp.

◆ set_version()

void Gecode::CPProfiler::Message::set_version ( int32_t v)
inline

Definition at line 182 of file message.hpp.

◆ has_version()

bool Gecode::CPProfiler::Message::has_version ( void ) const
inline

Definition at line 187 of file message.hpp.

◆ version()

int32_t Gecode::CPProfiler::Message::version ( void ) const
inline

Definition at line 188 of file message.hpp.

◆ has_label()

bool Gecode::CPProfiler::Message::has_label ( void ) const
inline

Definition at line 190 of file message.hpp.

◆ label()

const std::string & Gecode::CPProfiler::Message::label ( ) const
inline

Definition at line 191 of file message.hpp.

◆ has_nogood()

bool Gecode::CPProfiler::Message::has_nogood ( void ) const
inline

Definition at line 193 of file message.hpp.

◆ nogood()

const std::string & Gecode::CPProfiler::Message::nogood ( void ) const
inline

Definition at line 194 of file message.hpp.

◆ has_info()

bool Gecode::CPProfiler::Message::has_info ( void ) const
inline

Definition at line 197 of file message.hpp.

◆ info()

const std::string & Gecode::CPProfiler::Message::info ( void ) const
inline

Definition at line 198 of file message.hpp.

◆ set_type()

void Gecode::CPProfiler::Message::set_type ( MsgType type)
inline

Definition at line 200 of file message.hpp.

◆ type()

MsgType Gecode::CPProfiler::Message::type ( void ) const
inline

Definition at line 201 of file message.hpp.

◆ reset()

void Gecode::CPProfiler::Message::reset ( void )
inline

Definition at line 203 of file message.hpp.

Member Data Documentation

◆ _type

MsgType Gecode::CPProfiler::Message::_type
protected

Definition at line 126 of file message.hpp.

◆ _node

NodeUID Gecode::CPProfiler::Message::_node
protected

Definition at line 128 of file message.hpp.

◆ _parent

NodeUID Gecode::CPProfiler::Message::_parent
protected

Definition at line 129 of file message.hpp.

◆ _alt

int32_t Gecode::CPProfiler::Message::_alt
protected

Definition at line 130 of file message.hpp.

◆ _kids

int32_t Gecode::CPProfiler::Message::_kids
protected

Definition at line 131 of file message.hpp.

◆ _status

NodeStatus Gecode::CPProfiler::Message::_status
protected

Definition at line 132 of file message.hpp.

◆ _have_label

bool Gecode::CPProfiler::Message::_have_label {false}
protected

Definition at line 134 of file message.hpp.

◆ _label

std::string Gecode::CPProfiler::Message::_label
protected

Definition at line 135 of file message.hpp.

◆ _have_nogood

bool Gecode::CPProfiler::Message::_have_nogood {false}
protected

Definition at line 137 of file message.hpp.

◆ _nogood

std::string Gecode::CPProfiler::Message::_nogood
protected

Definition at line 138 of file message.hpp.

◆ _have_info

bool Gecode::CPProfiler::Message::_have_info {false}
protected

Definition at line 140 of file message.hpp.

◆ _info

std::string Gecode::CPProfiler::Message::_info
protected

Definition at line 141 of file message.hpp.

◆ _have_version

bool Gecode::CPProfiler::Message::_have_version {false}
protected

Definition at line 143 of file message.hpp.

◆ _version

int32_t Gecode::CPProfiler::Message::_version
protected

Definition at line 144 of file message.hpp.


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