aGrUM  0.13.2
gum::prm::o3prm::O3ReferenceSlot Class Reference

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

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

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

Public Member Functions

 O3ReferenceSlot ()
 
 O3ReferenceSlot (const O3Label &type, const O3Label &name, bool isArray)
 
 O3ReferenceSlot (const O3ReferenceSlot &src)
 
 O3ReferenceSlot (O3ReferenceSlot &&src)
 
 ~O3ReferenceSlot ()
 
O3ReferenceSlotoperator= (const O3ReferenceSlot &src)
 
O3ReferenceSlotoperator= (O3ReferenceSlot &&src)
 
O3Labeltype ()
 
const O3Labeltype () const
 
O3Labelname ()
 
const O3Labelname () const
 
boolisArray ()
 
bool isArray () const
 

Detailed Description

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

Definition at line 436 of file O3prm.h.

Constructor & Destructor Documentation

gum::prm::o3prm::O3ReferenceSlot::O3ReferenceSlot ( )

Definition at line 963 of file O3prm.cpp.

963 { GUM_CONSTRUCTOR(O3ReferenceSlot); }
gum::prm::o3prm::O3ReferenceSlot::O3ReferenceSlot ( const O3Label type,
const O3Label name,
bool  isArray 
)

Definition at line 965 of file O3prm.cpp.

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

Definition at line 973 of file O3prm.cpp.

973  :
974  __type(src.__type), __name(src.__name), __isArray(src.__isArray) {
975  GUM_CONS_CPY(O3ReferenceSlot);
976  }
gum::prm::o3prm::O3ReferenceSlot::O3ReferenceSlot ( O3ReferenceSlot &&  src)

Definition at line 978 of file O3prm.cpp.

978  :
979  __type(std::move(src.__type)), __name(std::move(src.__name)),
980  __isArray(std::move(src.__isArray)) {
981  GUM_CONS_MOV(O3ReferenceSlot);
982  }
gum::prm::o3prm::O3ReferenceSlot::~O3ReferenceSlot ( )

Definition at line 984 of file O3prm.cpp.

984 { GUM_DESTRUCTOR(O3ReferenceSlot); }

Member Function Documentation

bool & gum::prm::o3prm::O3ReferenceSlot::isArray ( )

Definition at line 1008 of file O3prm.cpp.

References __isArray.

1008 { return __isArray; }
bool gum::prm::o3prm::O3ReferenceSlot::isArray ( ) const

Definition at line 1009 of file O3prm.cpp.

References __isArray.

1009 { return __isArray; }
O3Label & gum::prm::o3prm::O3ReferenceSlot::name ( )

Definition at line 1005 of file O3prm.cpp.

References __name.

Referenced by gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__checkReferenceSlot().

1005 { return __name; }

+ Here is the caller graph for this function:

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

Definition at line 1006 of file O3prm.cpp.

References __name.

1006 { return __name; }
O3ReferenceSlot & gum::prm::o3prm::O3ReferenceSlot::operator= ( const O3ReferenceSlot src)

Definition at line 986 of file O3prm.cpp.

References __isArray, __name, and __type.

986  {
987  if (this == &src) { return *this; }
988  __type = src.__type;
989  __name = src.__name;
990  __isArray = src.__isArray;
991  return *this;
992  }
O3ReferenceSlot & gum::prm::o3prm::O3ReferenceSlot::operator= ( O3ReferenceSlot &&  src)

Definition at line 994 of file O3prm.cpp.

References __isArray, __name, and __type.

994  {
995  if (this == &src) { return *this; }
996  __type = std::move(src.__type);
997  __name = std::move(src.__name);
998  __isArray = std::move(src.__isArray);
999  return *this;
1000  }
O3Label & gum::prm::o3prm::O3ReferenceSlot::type ( )

Definition at line 1002 of file O3prm.cpp.

References __type.

Referenced by gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::__checkReferenceSlot().

1002 { return __type; }

+ Here is the caller graph for this function:

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

Definition at line 1003 of file O3prm.cpp.

References __type.

1003 { return __type; }

Member Data Documentation

bool gum::prm::o3prm::O3ReferenceSlot::__isArray
private

Definition at line 459 of file O3prm.h.

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

O3Label gum::prm::o3prm::O3ReferenceSlot::__name
private

Definition at line 458 of file O3prm.h.

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

O3Label gum::prm::o3prm::O3ReferenceSlot::__type
private

Definition at line 457 of file O3prm.h.

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


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