aGrUM  0.14.2
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 788 of file O3prm.h.

Member Typedef Documentation

◆ O3InstanceParameterList

Definition at line 790 of file O3prm.h.

Constructor & Destructor Documentation

◆ O3Instance() [1/3]

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

Definition at line 1201 of file O3prm.cpp.

1201 { GUM_CONSTRUCTOR(O3Instance); }

◆ O3Instance() [2/3]

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

Definition at line 1203 of file O3prm.cpp.

1203  :
1204  __type(src.__type), __name(src.__name), __size(src.__size),
1205  __parameters(src.__parameters) {
1206  GUM_CONS_CPY(O3Instance);
1207  }
O3InstanceParameterList __parameters
Definition: O3prm.h:816

◆ O3Instance() [3/3]

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

Definition at line 1209 of file O3prm.cpp.

1209  :
1210  __type(std::move(src.__type)), __name(std::move(src.__name)),
1211  __size(std::move(src.__size)),
1212  __parameters(std::move(src.__parameters)) {
1213  GUM_CONS_MOV(O3Instance);
1214  }
O3InstanceParameterList __parameters
Definition: O3prm.h:816

◆ ~O3Instance()

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

Definition at line 1216 of file O3prm.cpp.

1216 { GUM_DESTRUCTOR(O3Instance); }

Member Function Documentation

◆ name() [1/2]

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

Definition at line 1242 of file O3prm.cpp.

References __name.

1242 { return __name; }

◆ name() [2/2]

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

Definition at line 1240 of file O3prm.cpp.

References __name.

1240 { return __name; }

◆ operator=() [1/2]

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

Definition at line 1218 of file O3prm.cpp.

References __name, __parameters, __size, and __type.

1218  {
1219  if (this == &src) { return *this; }
1220  __type = src.__type;
1221  __name = src.__name;
1222  __size = src.__size;
1223  __parameters = src.__parameters;
1224  return *this;
1225  }
O3InstanceParameterList __parameters
Definition: O3prm.h:816

◆ operator=() [2/2]

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

Definition at line 1227 of file O3prm.cpp.

References __name, __parameters, __size, and __type.

1227  {
1228  if (this == &src) { return *this; }
1229  __type = std::move(src.__type);
1230  __name = std::move(src.__name);
1231  __size = std::move(src.__size);
1232  __parameters = std::move(src.__parameters);
1233  return *this;
1234  }
O3InstanceParameterList __parameters
Definition: O3prm.h:816

◆ parameters() [1/2]

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

Definition at line 1252 of file O3prm.cpp.

References __parameters.

Referenced by gum::prm::o3prm::O3SystemFactory< GUM_SCALAR >::__checkParameters().

1252  {
1253  return __parameters;
1254  }
O3InstanceParameterList __parameters
Definition: O3prm.h:816
+ Here is the caller graph for this function:

◆ parameters() [2/2]

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

Definition at line 1248 of file O3prm.cpp.

References __parameters.

1248  {
1249  return __parameters;
1250  }
O3InstanceParameterList __parameters
Definition: O3prm.h:816

◆ size() [1/2]

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

Definition at line 1246 of file O3prm.cpp.

References __size.

1246 { return __size; }

◆ size() [2/2]

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

Definition at line 1244 of file O3prm.cpp.

References __size.

1244 { return __size; }

◆ type() [1/2]

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

Definition at line 1238 of file O3prm.cpp.

References __type.

1238 { return __type; }

◆ type() [2/2]

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

Definition at line 1236 of file O3prm.cpp.

References __type.

1236 { return __type; }

Member Data Documentation

◆ __name

O3Label gum::prm::o3prm::O3Instance::__name
private

Definition at line 814 of file O3prm.h.

Referenced by name(), and operator=().

◆ __parameters

O3InstanceParameterList gum::prm::o3prm::O3Instance::__parameters
private

Definition at line 816 of file O3prm.h.

Referenced by operator=(), and parameters().

◆ __size

O3Integer gum::prm::o3prm::O3Instance::__size
private

Definition at line 815 of file O3prm.h.

Referenced by operator=(), and size().

◆ __type

O3Label gum::prm::o3prm::O3Instance::__type
private

Definition at line 813 of file O3prm.h.

Referenced by operator=(), and type().


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