This class wraps the actual item that has been input.
More...
#include <item_wrapper.h>
Detailed Description
This class wraps the actual item that has been input.
Definition at line 31 of file item_wrapper.h.
Constructor & Destructor Documentation
template<class T , class = typename std::enable_if<std::is_base_of<item, T>::value>::type>
item_wrapper::item_wrapper |
( |
const std::shared_ptr< T > & |
inv | ) |
|
|
inline |
item_wrapper::item_wrapper |
( |
const std::shared_ptr< item > & |
inv | ) |
|
item_wrapper::item_wrapper |
( |
| ) |
|
Member Function Documentation
void item_wrapper::add_dep |
( |
const std::string & |
indep | ) |
|
std::vector< std::string > item_wrapper::dependencies |
( |
| ) |
const |
item * item_wrapper::get |
( |
| ) |
|
const item * item_wrapper::get |
( |
| ) |
const |
std::shared_ptr< item > item_wrapper::get_shared |
( |
| ) |
|
const std::shared_ptr< item > item_wrapper::get_shared |
( |
| ) |
const |
item_wrapper::operator std::shared_ptr< item > |
( |
| ) |
|
item * item_wrapper::operator-> |
( |
| ) |
|
const item * item_wrapper::operator-> |
( |
| ) |
const |
void item_wrapper::replace_dep |
( |
const std::string & |
newdep, |
|
|
const std::string & |
olddep, |
|
|
bool |
must_rep = true |
|
) |
| |
Replaces an existing dependency with a new one.
Definition at line 32 of file item_wrapper.cpp.
Member Data Documentation
std::shared_ptr<item> item_wrapper::ptr |
|
private |
The documentation for this class was generated from the following files: