aGrUM  0.20.2
a C++ library for (probabilistic) graphical models
gum::prm::o3prm::O3Instance Class Reference

The O3Instance is part of the AST of the O3PRM language. More...

#include <agrum/PRM/o3prm/O3prm.h>

+ Collaboration diagram for gum::prm::o3prm::O3Instance:

Public Member Functions

 O3Instance ()
 
 O3Instance (const O3Instance &src)
 
 O3Instance (O3Instance &&src)
 
 ~O3Instance ()
 
O3Instanceoperator= (const O3Instance &src)
 
O3Instanceoperator= (O3Instance &&src)
 
O3Labeltype ()
 
const O3Labeltype () const
 
O3Labelname ()
 
const O3Labelname () const
 
O3Integersize ()
 
const O3Integersize () const
 
O3InstanceParameterListparameters ()
 
const O3InstanceParameterListparameters () const
 

Public Types

using O3InstanceParameterList = std::vector< O3InstanceParameter >
 

Detailed Description

The O3Instance is part of the AST of the O3PRM language.

Definition at line 794 of file O3prm.h.

Member Typedef Documentation

◆ O3InstanceParameterList

Definition at line 796 of file O3prm.h.

Constructor & Destructor Documentation

◆ O3Instance() [1/3]

gum::prm::o3prm::O3Instance::O3Instance ( )

Definition at line 1202 of file O3prm.cpp.

1202 { GUM_CONSTRUCTOR(O3Instance); }

◆ O3Instance() [2/3]

gum::prm::o3prm::O3Instance::O3Instance ( const O3Instance src)

Definition at line 1204 of file O3prm.cpp.

1204  :
1205  type__(src.type__), name__(src.name__), size__(src.size__),
1206  parameters__(src.parameters__) {
1207  GUM_CONS_CPY(O3Instance);
1208  }
O3InstanceParameterList parameters__
Definition: O3prm.h:822

◆ O3Instance() [3/3]

gum::prm::o3prm::O3Instance::O3Instance ( O3Instance &&  src)

Definition at line 1210 of file O3prm.cpp.

1210  :
1211  type__(std::move(src.type__)), name__(std::move(src.name__)),
1212  size__(std::move(src.size__)),
1213  parameters__(std::move(src.parameters__)) {
1214  GUM_CONS_MOV(O3Instance);
1215  }
O3InstanceParameterList parameters__
Definition: O3prm.h:822

◆ ~O3Instance()

gum::prm::o3prm::O3Instance::~O3Instance ( )

Definition at line 1217 of file O3prm.cpp.

1217 { GUM_DESTRUCTOR(O3Instance); }

Member Function Documentation

◆ name() [1/2]

O3Label & gum::prm::o3prm::O3Instance::name ( )

Definition at line 1243 of file O3prm.cpp.

1243 { return name__; }

◆ name() [2/2]

const O3Label & gum::prm::o3prm::O3Instance::name ( ) const

Definition at line 1241 of file O3prm.cpp.

1241 { return name__; }

◆ operator=() [1/2]

O3Instance & gum::prm::o3prm::O3Instance::operator= ( const O3Instance src)

Definition at line 1219 of file O3prm.cpp.

1219  {
1220  if (this == &src) { return *this; }
1221  type__ = src.type__;
1222  name__ = src.name__;
1223  size__ = src.size__;
1224  parameters__ = src.parameters__;
1225  return *this;
1226  }
O3InstanceParameterList parameters__
Definition: O3prm.h:822

◆ operator=() [2/2]

O3Instance & gum::prm::o3prm::O3Instance::operator= ( O3Instance &&  src)

Definition at line 1228 of file O3prm.cpp.

1228  {
1229  if (this == &src) { return *this; }
1230  type__ = std::move(src.type__);
1231  name__ = std::move(src.name__);
1232  size__ = std::move(src.size__);
1233  parameters__ = std::move(src.parameters__);
1234  return *this;
1235  }
O3InstanceParameterList parameters__
Definition: O3prm.h:822

◆ parameters() [1/2]

O3Instance::O3InstanceParameterList & gum::prm::o3prm::O3Instance::parameters ( )

Definition at line 1253 of file O3prm.cpp.

1253  {
1254  return parameters__;
1255  }
O3InstanceParameterList parameters__
Definition: O3prm.h:822

◆ parameters() [2/2]

const O3Instance::O3InstanceParameterList & gum::prm::o3prm::O3Instance::parameters ( ) const

Definition at line 1249 of file O3prm.cpp.

1249  {
1250  return parameters__;
1251  }
O3InstanceParameterList parameters__
Definition: O3prm.h:822

◆ size() [1/2]

O3Integer & gum::prm::o3prm::O3Instance::size ( )

Definition at line 1247 of file O3prm.cpp.

1247 { return size__; }

◆ size() [2/2]

const O3Integer & gum::prm::o3prm::O3Instance::size ( ) const

Definition at line 1245 of file O3prm.cpp.

1245 { return size__; }

◆ type() [1/2]

O3Label & gum::prm::o3prm::O3Instance::type ( )

Definition at line 1239 of file O3prm.cpp.

1239 { return type__; }

◆ type() [2/2]

const O3Label & gum::prm::o3prm::O3Instance::type ( ) const

Definition at line 1237 of file O3prm.cpp.

1237 { return type__; }

Member Data Documentation

◆ name__

O3Label gum::prm::o3prm::O3Instance::name__
private

Definition at line 820 of file O3prm.h.

◆ parameters__

O3InstanceParameterList gum::prm::o3prm::O3Instance::parameters__
private

Definition at line 822 of file O3prm.h.

◆ size__

O3Integer gum::prm::o3prm::O3Instance::size__
private

Definition at line 821 of file O3prm.h.

◆ type__

O3Label gum::prm::o3prm::O3Instance::type__
private

Definition at line 819 of file O3prm.h.


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