aGrUM  0.20.3
a C++ library for (probabilistic) graphical models
gum::prm::o3prmr::SetGndEngineCommand Class Reference

#include <O3prmrContext.h>

+ Inheritance diagram for gum::prm::o3prmr::SetGndEngineCommand:
+ Collaboration diagram for gum::prm::o3prmr::SetGndEngineCommand:

Public Attributes

std::string value
 
int line
 

Public Member Functions

 SetGndEngineCommand (int line, const std::string &value)
 
 SetGndEngineCommand (const SetGndEngineCommand &c)
 
RequestType type () const
 
std::string toString () const
 

Public Types

enum  RequestType : char {
  RequestType::Observe, RequestType::Unobserve, RequestType::Query, RequestType::SetEngine,
  RequestType::SetGndEngine
}
 

Detailed Description

Definition at line 98 of file O3prmrContext.h.

Member Enumeration Documentation

◆ RequestType

enum gum::prm::o3prmr::O3prmrCommand::RequestType : char
stronginherited
Enumerator
Observe 
Unobserve 
Query 
SetEngine 
SetGndEngine 

Definition at line 52 of file O3prmrContext.h.

52  : char
53  {
54  Observe,
55  Unobserve,
56  Query,
57  SetEngine,
58  SetGndEngine
59  };

Constructor & Destructor Documentation

◆ SetGndEngineCommand() [1/2]

gum::prm::o3prmr::SetGndEngineCommand::SetGndEngineCommand ( int  line,
const std::string &  value 
)
inline

Definition at line 100 of file O3prmrContext.h.

References gum::prm::o3prmr::O3prmrCommand::O3prmrCommand(), and value.

Referenced by gum::prm::o3prmr::O3prmrSession< double >::addSetGndEngine().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetGndEngineCommand() [2/2]

gum::prm::o3prmr::SetGndEngineCommand::SetGndEngineCommand ( const SetGndEngineCommand c)
inline

Definition at line 102 of file O3prmrContext.h.

References gum::prm::o3prmr::O3prmrCommand::O3prmrCommand(), and value.

+ Here is the call graph for this function:

Member Function Documentation

◆ toString()

std::string gum::prm::o3prmr::SetGndEngineCommand::toString ( ) const
inlinevirtual

Implements gum::prm::o3prmr::O3prmrCommand.

Definition at line 107 of file O3prmrContext.h.

107 { return "grd_engine " + value + ";"; }

◆ type()

RequestType gum::prm::o3prmr::SetGndEngineCommand::type ( ) const
inlinevirtual

Member Data Documentation

◆ line

int gum::prm::o3prmr::O3prmrCommand::line
inherited

Definition at line 51 of file O3prmrContext.h.

Referenced by gum::prm::o3prmr::O3prmrCommand::O3prmrCommand().

◆ value

std::string gum::prm::o3prmr::SetGndEngineCommand::value

Definition at line 104 of file O3prmrContext.h.

Referenced by SetGndEngineCommand().


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