aGrUM  0.16.0
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 790 of file O3prm.h.

Member Typedef Documentation

◆ O3InstanceParameterList

Definition at line 792 of file O3prm.h.

Constructor & Destructor Documentation

◆ O3Instance() [1/3]

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

Definition at line 1203 of file O3prm.cpp.

1203 { GUM_CONSTRUCTOR(O3Instance); }

◆ O3Instance() [2/3]

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

Definition at line 1205 of file O3prm.cpp.

1205  :
1206  __type(src.__type), __name(src.__name), __size(src.__size),
1207  __parameters(src.__parameters) {
1208  GUM_CONS_CPY(O3Instance);
1209  }
O3InstanceParameterList __parameters
Definition: O3prm.h:818

◆ O3Instance() [3/3]

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

Definition at line 1211 of file O3prm.cpp.

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

◆ ~O3Instance()

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

Definition at line 1218 of file O3prm.cpp.

1218 { GUM_DESTRUCTOR(O3Instance); }

Member Function Documentation

◆ name() [1/2]

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

Definition at line 1244 of file O3prm.cpp.

References __name.

1244 { return __name; }

◆ name() [2/2]

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

Definition at line 1242 of file O3prm.cpp.

References __name.

1242 { return __name; }

◆ operator=() [1/2]

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

Definition at line 1220 of file O3prm.cpp.

References __name, __parameters, __size, and __type.

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

◆ operator=() [2/2]

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

Definition at line 1229 of file O3prm.cpp.

References __name, __parameters, __size, and __type.

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

◆ parameters() [1/2]

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

Definition at line 1254 of file O3prm.cpp.

References __parameters.

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

1254  {
1255  return __parameters;
1256  }
O3InstanceParameterList __parameters
Definition: O3prm.h:818
+ Here is the caller graph for this function:

◆ parameters() [2/2]

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

Definition at line 1250 of file O3prm.cpp.

References __parameters.

1250  {
1251  return __parameters;
1252  }
O3InstanceParameterList __parameters
Definition: O3prm.h:818

◆ size() [1/2]

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

Definition at line 1248 of file O3prm.cpp.

References __size.

1248 { return __size; }

◆ size() [2/2]

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

Definition at line 1246 of file O3prm.cpp.

References __size.

1246 { return __size; }

◆ type() [1/2]

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

Definition at line 1240 of file O3prm.cpp.

References __type.

1240 { return __type; }

◆ type() [2/2]

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

Definition at line 1238 of file O3prm.cpp.

References __type.

1238 { return __type; }

Member Data Documentation

◆ __name

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

Definition at line 816 of file O3prm.h.

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

◆ __parameters

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

Definition at line 818 of file O3prm.h.

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

◆ __size

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

Definition at line 817 of file O3prm.h.

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

◆ __type

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

Definition at line 815 of file O3prm.h.

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


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