◆ Ptr
◆ ScroomInterfaceImpl()
| ScroomInterfaceImpl::ScroomInterfaceImpl |
( |
| ) |
|
|
privatedefault |
◆ instance()
◆ loadPresentation()
| PresentationInterface::Ptr ScroomInterfaceImpl::loadPresentation |
( |
const std::string & |
name, |
|
|
const std::string & |
relativeTo = std::string() |
|
) |
| |
|
overridevirtual |
Implements ScroomInterface.
335 boost::filesystem::path name(n);
336 boost::filesystem::path
const relativeTo(rt);
338 if(!name.is_absolute() && relativeTo.has_parent_path())
340 name = relativeTo.parent_path() / name;
◆ newAggregate()
| Aggregate::Ptr ScroomInterfaceImpl::newAggregate |
( |
const std::string & |
name | ) |
|
|
overridevirtual |
Implements ScroomInterface.
310 std::map<std::string, NewAggregateInterface::Ptr>
const& newAggregateInterfaces =
312 auto i = newAggregateInterfaces.find(name);
313 if(i != newAggregateInterfaces.end())
320 if(aggregatePresentation)
328 throw std::invalid_argument(
"Failed to create a new" + name);
330 throw std::invalid_argument(
"Don't know how to create a new " + name);
◆ newPresentation()
Implements ScroomInterface.
287 const std::map<NewPresentationInterface::Ptr, std::string>& newPresentationInterfaces =
290 for(
auto const& p: newPresentationInterfaces)
301 throw std::invalid_argument(
"Failed to create a new " + name);
305 throw std::invalid_argument(
"Don't know how to create a new " + name);
◆ showPresentation()
The documentation for this class was generated from the following file: