aGrUM 3.1.1
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 Types

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

Public Member Functions

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

Public Attributes

std::string value
int line

Detailed Description

Definition at line 113 of file O3prmrContext.h.

Member Enumeration Documentation

◆ RequestType

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

Definition at line 72 of file O3prmrContext.h.

72: char { Observe, Unobserve, Query, SetEngine, SetGndEngine };

Constructor & Destructor Documentation

◆ SetGndEngineCommand() [1/2]

INLINE gum::prm::o3prmr::SetGndEngineCommand::SetGndEngineCommand ( int line,
std::string_view value )

Definition at line 89 of file O3prmrContext_inl.h.

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

Referenced by SetGndEngineCommand().

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

◆ SetGndEngineCommand() [2/2]

INLINE gum::prm::o3prmr::SetGndEngineCommand::SetGndEngineCommand ( const SetGndEngineCommand & c)
default

References SetGndEngineCommand().

Here is the call graph for this function:

Member Function Documentation

◆ toString()

INLINE std::string gum::prm::o3prmr::SetGndEngineCommand::toString ( ) const
overridevirtual

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

Definition at line 98 of file O3prmrContext_inl.h.

98 {
99 return "grd_engine " + value + ";";
100 }

References value.

◆ type()

INLINE O3prmrCommand::RequestType gum::prm::o3prmr::SetGndEngineCommand::type ( ) const
overridevirtual

Member Data Documentation

◆ line

◆ value

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

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