A generic class to instantiate a subset of variables of a multidimensional table.
More...
#include <multiDimPartialInstantiation.h>
template<typename GUM_SCALAR, template< typename > class TABLE>
class gum::MultiDimPartialInstantiation< GUM_SCALAR, TABLE >
A generic class to instantiate a subset of variables of a multidimensional table.
- Warning
- Doxygen does not like spanning command on multiple line, so we could not configure it with the correct include directive. Use the following code snippet to include this file.
- Template Parameters
-
GUM_SCALAR | The type of scalars stored in this multidimensional table. |
Table | The class of multidimensional table to use. |
Definition at line 59 of file multiDimPartialInstantiation.h.
◆ MultiDimPartialInstantiation() [1/2]
template<typename GUM_SCALAR , template< typename > class TABLE>
◆ MultiDimPartialInstantiation() [2/2]
template<typename GUM_SCALAR , template< typename > class TABLE>
Copy constructor.
- Parameters
-
◆ ~MultiDimPartialInstantiation()
template<typename GUM_SCALAR , template< typename > class TABLE>
◆ instantiate() [1/2]
template<typename GUM_SCALAR , template< typename > class TABLE>
Creates and returns the partial instantiation of the table over a subset of its variables.
- Warning
- If inst_vars is precisely equal to the variables of table, the result is an empty table.
- Parameters
-
table | The table to parially instantiate. |
inst_vars | A mapping between variables and their instantiation. |
- Returns
- A new freshly created TABLE which is the result of the instantiation of a subset of the variables of the TABLE passed in argument.
◆ instantiate() [2/2]
template<typename GUM_SCALAR , template< typename > class TABLE>
Creates and returns the partial instantiation of the table over a subset of its variables.
- Warning
- If inst_vars is precisely equal to the variables of table, the result is an empty table.
- Parameters
-
container | Placeholder of the instantiation of table given inst_vars. |
table | The table to parially instantiate. |
inst_vars | A mapping between variables and their instantiation. |
◆ newFactory()
template<typename GUM_SCALAR , template< typename > class TABLE>
◆ operator=()
template<typename GUM_SCALAR , template< typename > class TABLE>
The documentation for this class was generated from the following file: